Skip to content

Instantly share code, notes, and snippets.

@icedream
Last active December 13, 2015 20:48
Show Gist options
  • Save icedream/4972319 to your computer and use it in GitHub Desktop.
Save icedream/4972319 to your computer and use it in GitHub Desktop.
MinecartMania Remapping Fix

How to apply this?

Note: Make sure you have your Minecraft server completely shut down.

  1. Get the latest MCPC-Plus source code.
  2. Compile the source code or download the latest JAR build from MCPC's Jenkins server.
  3. Open the built JAR in a ZIP browser (WinRAR/7-Zip/...) and extract vcb2obf.srg to the /plugins/ folder of your source code clone.
  4. Download mm2obf.srg and save it in the same folder.
  5. Download srgtool and save it in the same folder.
  6. Run a command line, type cd "full-path-to-where-you-downloaded-all-these-files".
  7. Run java -jar srgtool-2.0.jar chain vcb2obf.srg mm2obf.srg > all2obf.srg && move all2obf.srg vcb2obf.srg.
  8. Paste MinecartMania.jar (your MinecartMania plugin JAR) into the same folder and rename it to plugin.jar.
  9. Run srgtool.bat.
  10. Rename the freshly made plugin-MCPC.jar to MinecartMania.jar and copy it into your MCPC server's /plugins/, eventually overwriting the old plugin jar.
  11. Start the server and have fun with a fully working MinecartMania!
FD: net/minecraft/server/v1_4_R1/EntityMinecart/yaw py/z
FD: net/minecraft/server/v1_4_R1/EntityMinecart/pitch py/A
FD: net/minecraft/server/v1_4_R1/EntityMinecart/type py/a
FD: com/afforess/minecartmania/MMEntityMinecart/items com/afforess/minecartmania/MMEntityMinecart/d
FD: com/afforess/minecartmania/MMEntityMinecart/matrix com/afforess/minecartmania/MMEntityMinecart/i
FD: com/afforess/minecartmania/MMEntityMinecart/type com/afforess/minecartmania/MMEntityMinecart/a
FD: com/afforess/minecartmania/MMEntityMinecart/boundingBox com/afforess/minecartmania/MMEntityMinecart/D
FD: com/afforess/minecartmania/MMEntityMinecart/datawatcher com/afforess/minecartmania/MMEntityMinecart/ag
FD: com/afforess/minecartmania/MMEntityMinecart/dead com/afforess/minecartmania/MMEntityMinecart/L
FD: com/afforess/minecartmania/MMEntityMinecart/dimension com/afforess/minecartmania/MMEntityMinecart/aq
FD: com/afforess/minecartmania/MMEntityMinecart/entityCount com/afforess/minecartmania/MMEntityMinecart/b
FD: com/afforess/minecartmania/MMEntityMinecart/fallDistance com/afforess/minecartmania/MMEntityMinecart/S
FD: com/afforess/minecartmania/MMEntityMinecart/fireProof com/afforess/minecartmania/MMEntityMinecart/af
FD: com/afforess/minecartmania/MMEntityMinecart/fireTicks com/afforess/minecartmania/MMEntityMinecart/d
FD: com/afforess/minecartmania/MMEntityMinecart/height com/afforess/minecartmania/MMEntityMinecart/M
FD: com/afforess/minecartmania/MMEntityMinecart/id com/afforess/minecartmania/MMEntityMinecart/k
FD: com/afforess/minecartmania/MMEntityMinecart/invulnerable com/afforess/minecartmania/MMEntityMinecart/h
FD: com/afforess/minecartmania/MMEntityMinecart/justCreated com/afforess/minecartmania/MMEntityMinecart/e
FD: com/afforess/minecartmania/MMEntityMinecart/lastPitch com/afforess/minecartmania/MMEntityMinecart/C
FD: com/afforess/minecartmania/MMEntityMinecart/lastX com/afforess/minecartmania/MMEntityMinecart/q
FD: com/afforess/minecartmania/MMEntityMinecart/lastY com/afforess/minecartmania/MMEntityMinecart/r
FD: com/afforess/minecartmania/MMEntityMinecart/lastYaw com/afforess/minecartmania/MMEntityMinecart/B
FD: com/afforess/minecartmania/MMEntityMinecart/lastZ com/afforess/minecartmania/MMEntityMinecart/s
FD: com/afforess/minecartmania/MMEntityMinecart/length com/afforess/minecartmania/MMEntityMinecart/O
FD: com/afforess/minecartmania/MMEntityMinecart/locX com/afforess/minecartmania/MMEntityMinecart/t
FD: com/afforess/minecartmania/MMEntityMinecart/locY com/afforess/minecartmania/MMEntityMinecart/u
FD: com/afforess/minecartmania/MMEntityMinecart/locZ com/afforess/minecartmania/MMEntityMinecart/v
FD: com/afforess/minecartmania/MMEntityMinecart/maxFireTicks com/afforess/minecartmania/MMEntityMinecart/ac
FD: com/afforess/minecartmania/MMEntityMinecart/motX com/afforess/minecartmania/MMEntityMinecart/w
FD: com/afforess/minecartmania/MMEntityMinecart/motY com/afforess/minecartmania/MMEntityMinecart/x
FD: com/afforess/minecartmania/MMEntityMinecart/motZ com/afforess/minecartmania/MMEntityMinecart/y
FD: com/afforess/minecartmania/MMEntityMinecart/noDamageTicks com/afforess/minecartmania/MMEntityMinecart/ae
FD: com/afforess/minecartmania/MMEntityMinecart/onGround com/afforess/minecartmania/MMEntityMinecart/E
FD: com/afforess/minecartmania/MMEntityMinecart/passenger com/afforess/minecartmania/MMEntityMinecart/n
FD: com/afforess/minecartmania/MMEntityMinecart/pitch com/afforess/minecartmania/MMEntityMinecart/A
FD: com/afforess/minecartmania/MMEntityMinecart/portalCooldown com/afforess/minecartmania/MMEntityMinecart/an
FD: com/afforess/minecartmania/MMEntityMinecart/positionChanged com/afforess/minecartmania/MMEntityMinecart/F
FD: com/afforess/minecartmania/MMEntityMinecart/random com/afforess/minecartmania/MMEntityMinecart/aa
FD: com/afforess/minecartmania/MMEntityMinecart/ticksLived com/afforess/minecartmania/MMEntityMinecart/ab
FD: com/afforess/minecartmania/MMEntityMinecart/vehicle com/afforess/minecartmania/MMEntityMinecart/o
FD: com/afforess/minecartmania/MMEntityMinecart/velocityChanged com/afforess/minecartmania/MMEntityMinecart/I
FD: com/afforess/minecartmania/MMEntityMinecart/width com/afforess/minecartmania/MMEntityMinecart/N
FD: com/afforess/minecartmania/MMEntityMinecart/world com/afforess/minecartmania/MMEntityMinecart/p
FD: com/afforess/minecartmania/MMEntityMinecart/yaw com/afforess/minecartmania/MMEntityMinecart/z
MD: com/afforess/minecartmania/MMEntityMinecart/a ([D)Lnet/minecraft/server/v1_4_R1/NBTTagList; com/afforess/minecartmania/MMEntityMinecart/a ([D)Lby;
MD: com/afforess/minecartmania/MMEntityMinecart/a ([F)Lnet/minecraft/server/v1_4_R1/NBTTagList; com/afforess/minecartmania/MMEntityMinecart/a ([F)Lby;
MD: com/afforess/minecartmania/MMEntityMinecart/ao ()[Lnet/minecraft/server/v1_4_R1/Entity; com/afforess/minecartmania/MMEntityMinecart/ao ()[Llq;
MD: com/afforess/minecartmania/MMEntityMinecart/b (II)Lnet/minecraft/server/v1_4_R1/EntityItem; com/afforess/minecartmania/MMEntityMinecart/b (II)Lpx;
MD: com/afforess/minecartmania/MMEntityMinecart/b (Lnet/minecraft/server/v1_4_R1/NBTTagCompound;)V com/afforess/minecartmania/MMEntityMinecart/b (Lbq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/burn (I)V com/afforess/minecartmania/MMEntityMinecart/d (I)V
MD: com/afforess/minecartmania/MMEntityMinecart/c (Lnet/minecraft/server/v1_4_R1/Entity;I)V com/afforess/minecartmania/MMEntityMinecart/c (Llq;I)V
MD: com/afforess/minecartmania/MMEntityMinecart/c (Lnet/minecraft/server/v1_4_R1/NBTTagCompound;)Z com/afforess/minecartmania/MMEntityMinecart/c (Lbq;)Z
MD: com/afforess/minecartmania/MMEntityMinecart/c_ (Lnet/minecraft/server/v1_4_R1/EntityHuman;)V com/afforess/minecartmania/MMEntityMinecart/c_ (Lqx;)V
MD: com/afforess/minecartmania/MMEntityMinecart/collide (Lnet/minecraft/server/v1_4_R1/Entity;)V com/afforess/minecartmania/MMEntityMinecart/f (Llq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/d (Lnet/minecraft/server/v1_4_R1/Entity;)F com/afforess/minecartmania/MMEntityMinecart/d (Llq;)F
MD: com/afforess/minecartmania/MMEntityMinecart/d (Lnet/minecraft/server/v1_4_R1/NBTTagCompound;)V com/afforess/minecartmania/MMEntityMinecart/d (Lbq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/damageEntity (Lnet/minecraft/server/v1_4_R1/DamageSource;I)Z com/afforess/minecartmania/MMEntityMinecart/a (Llh;I)Z
MD: com/afforess/minecartmania/MMEntityMinecart/die ()V com/afforess/minecartmania/MMEntityMinecart/x ()V
MD: com/afforess/minecartmania/MMEntityMinecart/e (Lnet/minecraft/server/v1_4_R1/Entity;)D com/afforess/minecartmania/MMEntityMinecart/e (Llq;)D
MD: com/afforess/minecartmania/MMEntityMinecart/e (Lnet/minecraft/server/v1_4_R1/NBTTagCompound;)V com/afforess/minecartmania/MMEntityMinecart/e (Lbq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/equals (Ljava/lang/Object;)Z com/afforess/minecartmania/MMEntityMinecart/equals (Ljava/lang/Object;)Z
MD: com/afforess/minecartmania/MMEntityMinecart/extinguish ()V com/afforess/minecartmania/MMEntityMinecart/B ()V
MD: com/afforess/minecartmania/MMEntityMinecart/g (Lnet/minecraft/server/v1_4_R1/Entity;)Lnet/minecraft/server/v1_4_R1/AxisAlignedBB; com/afforess/minecartmania/MMEntityMinecart/g (Llq;)Laoe;
MD: com/afforess/minecartmania/MMEntityMinecart/getAirTicks ()I com/afforess/minecartmania/MMEntityMinecart/al ()I
MD: com/afforess/minecartmania/MMEntityMinecart/getDataWatcher ()Lnet/minecraft/server/v1_4_R1/DataWatcher; com/afforess/minecartmania/MMEntityMinecart/v ()Lmj;
MD: com/afforess/minecartmania/MMEntityMinecart/getEquipment ()[Lnet/minecraft/server/v1_4_R1/ItemStack; com/afforess/minecartmania/MMEntityMinecart/ae ()[Lur;
MD: com/afforess/minecartmania/MMEntityMinecart/getHeadHeight ()F com/afforess/minecartmania/MMEntityMinecart/e ()F
MD: com/afforess/minecartmania/MMEntityMinecart/getLocalizedName ()Ljava/lang/String; com/afforess/minecartmania/MMEntityMinecart/an ()Ljava/lang/String;
MD: com/afforess/minecartmania/MMEntityMinecart/h (Lnet/minecraft/server/v1_4_R1/Entity;)V com/afforess/minecartmania/MMEntityMinecart/h (Llq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/i (Lnet/minecraft/server/v1_4_R1/Entity;)Z com/afforess/minecartmania/MMEntityMinecart/i (Llq;)Z
MD: com/afforess/minecartmania/MMEntityMinecart/inBlock ()Z com/afforess/minecartmania/MMEntityMinecart/T ()Z
MD: com/afforess/minecartmania/MMEntityMinecart/isAlive ()Z com/afforess/minecartmania/MMEntityMinecart/S ()Z
MD: com/afforess/minecartmania/MMEntityMinecart/isBurning ()Z com/afforess/minecartmania/MMEntityMinecart/af ()Z
MD: com/afforess/minecartmania/MMEntityMinecart/isFireproof ()Z com/afforess/minecartmania/MMEntityMinecart/F ()Z
MD: com/afforess/minecartmania/MMEntityMinecart/isInvisible ()Z com/afforess/minecartmania/MMEntityMinecart/aj ()Z
MD: com/afforess/minecartmania/MMEntityMinecart/isInvulnerable ()Z com/afforess/minecartmania/MMEntityMinecart/ar ()Z
MD: com/afforess/minecartmania/MMEntityMinecart/isSneaking ()Z com/afforess/minecartmania/MMEntityMinecart/ah ()Z
MD: com/afforess/minecartmania/MMEntityMinecart/isSprinting ()Z com/afforess/minecartmania/MMEntityMinecart/ai ()Z
MD: com/afforess/minecartmania/MMEntityMinecart/j (Lnet/minecraft/server/v1_4_R1/Entity;)Z com/afforess/minecartmania/MMEntityMinecart/j (Llq;)Z
MD: com/afforess/minecartmania/MMEntityMinecart/k (Lnet/minecraft/server/v1_4_R1/Entity;)V com/afforess/minecartmania/MMEntityMinecart/k (Llq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/makeSound (Ljava/lang/String;FF)V com/afforess/minecartmania/MMEntityMinecart/a (Ljava/lang/String;FF)V
MD: com/afforess/minecartmania/MMEntityMinecart/mount (Lnet/minecraft/server/v1_4_R1/Entity;)V com/afforess/minecartmania/MMEntityMinecart/a (Llq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/move (DDD)V com/afforess/minecartmania/MMEntityMinecart/d (DDD)V
MD: com/afforess/minecartmania/MMEntityMinecart/net.minecraft.server.v1_4_R1.Entity (Lnet/minecraft/server/v1_4_R1/World;)V com/afforess/minecartmania/MMEntityMinecart/lq (Lyc;)V
MD: com/afforess/minecartmania/MMEntityMinecart/setAirTicks (I)V com/afforess/minecartmania/MMEntityMinecart/f (I)V
MD: com/afforess/minecartmania/MMEntityMinecart/setEquipment (ILnet/minecraft/server/v1_4_R1/ItemStack;)V com/afforess/minecartmania/MMEntityMinecart/b (ILur;)V
MD: com/afforess/minecartmania/MMEntityMinecart/setInvisible (Z)V com/afforess/minecartmania/MMEntityMinecart/c (Z)V
MD: com/afforess/minecartmania/MMEntityMinecart/setLocation (DDDFF)V com/afforess/minecartmania/MMEntityMinecart/a (DDDFF)V
MD: com/afforess/minecartmania/MMEntityMinecart/setOnFire (I)V com/afforess/minecartmania/MMEntityMinecart/c (I)V
MD: com/afforess/minecartmania/MMEntityMinecart/setPosition (DDD)V com/afforess/minecartmania/MMEntityMinecart/b (DDD)V
MD: com/afforess/minecartmania/MMEntityMinecart/setPositionRotation (DDDFF)V com/afforess/minecartmania/MMEntityMinecart/b (DDDFF)V
MD: com/afforess/minecartmania/MMEntityMinecart/setSneaking (Z)V com/afforess/minecartmania/MMEntityMinecart/a (Z)V
MD: com/afforess/minecartmania/MMEntityMinecart/setSprinting (Z)V com/afforess/minecartmania/MMEntityMinecart/b (Z)V
MD: com/afforess/minecartmania/MMEntityMinecart/spawnIn (Lnet/minecraft/server/v1_4_R1/World;)V com/afforess/minecartmania/MMEntityMinecart/a (Lyc;)V
MD: com/afforess/minecartmania/MMEntityMinecart/E ()Lnet/minecraft/server/v1_4_R1/AxisAlignedBB; com/afforess/minecartmania/MMEntityMinecart/E ()Laoe;
MD: com/afforess/minecartmania/MMEntityMinecart/a (DDD)Lnet/minecraft/server/v1_4_R1/Vec3D; com/afforess/minecartmania/MMEntityMinecart/a (DDD)Laoj;
MD: com/afforess/minecartmania/MMEntityMinecart/a (Lnet/minecraft/server/v1_4_R1/EntityHuman;)Z com/afforess/minecartmania/MMEntityMinecart/a (Lqx;)Z
MD: com/afforess/minecartmania/MMEntityMinecart/a (Lnet/minecraft/server/v1_4_R1/NBTTagCompound;)V com/afforess/minecartmania/MMEntityMinecart/a (Lbq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/a_ (Lnet/minecraft/server/v1_4_R1/EntityHuman;)Z com/afforess/minecartmania/MMEntityMinecart/a_ (Lqx;)Z
MD: com/afforess/minecartmania/MMEntityMinecart/b (Lnet/minecraft/server/v1_4_R1/NBTTagCompound;)V com/afforess/minecartmania/MMEntityMinecart/b (Lbq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/collide (Lnet/minecraft/server/v1_4_R1/Entity;)V com/afforess/minecartmania/MMEntityMinecart/f (Llq;)V
MD: com/afforess/minecartmania/MMEntityMinecart/damageEntity (Lnet/minecraft/server/v1_4_R1/DamageSource;I)Z com/afforess/minecartmania/MMEntityMinecart/a (Llh;I)Z
MD: com/afforess/minecartmania/MMEntityMinecart/die ()V com/afforess/minecartmania/MMEntityMinecart/x ()V
MD: com/afforess/minecartmania/MMEntityMinecart/g (Lnet/minecraft/server/v1_4_R1/Entity;)Lnet/minecraft/server/v1_4_R1/AxisAlignedBB; com/afforess/minecartmania/MMEntityMinecart/g (Llq;)Laoe;
MD: com/afforess/minecartmania/MMEntityMinecart/getDamage ()I com/afforess/minecartmania/MMEntityMinecart/i ()I
MD: com/afforess/minecartmania/MMEntityMinecart/getItem (I)Lnet/minecraft/server/v1_4_R1/ItemStack; com/afforess/minecartmania/MMEntityMinecart/a (I)Lur;
MD: com/afforess/minecartmania/MMEntityMinecart/getMaxStackSize ()I com/afforess/minecartmania/MMEntityMinecart/c ()I
MD: com/afforess/minecartmania/MMEntityMinecart/getName ()Ljava/lang/String; com/afforess/minecartmania/MMEntityMinecart/b ()Ljava/lang/String;
MD: com/afforess/minecartmania/MMEntityMinecart/getSize ()I com/afforess/minecartmania/MMEntityMinecart/k_ ()I
MD: com/afforess/minecartmania/MMEntityMinecart/net.minecraft.server.v1_4_R1.EntityMinecart (Lnet/minecraft/server/v1_4_R1/World;)V com/afforess/minecartmania/MMEntityMinecart/py (Lyc;)V
MD: com/afforess/minecartmania/MMEntityMinecart/net.minecraft.server.v1_4_R1.EntityMinecart (Lnet/minecraft/server/v1_4_R1/World;DDDI)V com/afforess/minecartmania/MMEntityMinecart/py (Lyc;DDDI)V
MD: com/afforess/minecartmania/MMEntityMinecart/setDamage (I)V com/afforess/minecartmania/MMEntityMinecart/g (I)V
MD: com/afforess/minecartmania/MMEntityMinecart/setItem (ILnet/minecraft/server/v1_4_R1/ItemStack;)V com/afforess/minecartmania/MMEntityMinecart/a (ILur;)V
MD: com/afforess/minecartmania/MMEntityMinecart/splitStack (II)Lnet/minecraft/server/v1_4_R1/ItemStack; com/afforess/minecartmania/MMEntityMinecart/a (II)Lur;
MD: com/afforess/minecartmania/MMEntityMinecart/splitWithoutUpdate (I)Lnet/minecraft/server/v1_4_R1/ItemStack; com/afforess/minecartmania/MMEntityMinecart/a_ (I)Lur;
MD: com/afforess/minecartmania/MMEntityMinecart/startOpen ()V com/afforess/minecartmania/MMEntityMinecart/l_ ()V
MD: com/afforess/minecartmania/MMEntityMinecart/update ()V com/afforess/minecartmania/MMEntityMinecart/d ()V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment