Skip to content

Commit

Permalink
Add Item & Entity mappings
Browse files Browse the repository at this point in the history
Signed-off-by: Jadon Fowler <j@jadon.io>
  • Loading branch information
phase committed Jun 12, 2020
1 parent 68f2a66 commit 9da6dd6
Show file tree
Hide file tree
Showing 108 changed files with 320 additions and 49 deletions.
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/AchievementList.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS cy net/minecraft/server/AchievementList
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/AxiesAlignedBB.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
CLASS cz net/minecraft/server/AxiesAlignedBB
METHOD e shrink (DDD)Lcz;
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/BlockFluids.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS kv net/minecraft/server/BlockFluids
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/Container.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS cl net/minecraft/server/Container
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/DataWatcher.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS mo net/minecraft/server/DataWatcher
83 changes: 83 additions & 0 deletions mappings/net/minecraft/server/Entity.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,84 @@
CLASS lq net/minecraft/server/Entity
FIELD aG id I
FIELD a entityCount I
FIELD aJ passenger Llq;
FIELD aK vehicle Llq;
FIELD aL world Ldj;
FIELD aM lastX D
FIELD aN lastY D
FIELD aO lastZ D
FIELD aP locX D
FIELD aQ locY D
FIELD aR locZ D
FIELD aS motX D
FIELD aT motY D
FIELD aU motZ D
FIELD aV yaw F
FIELD aW pitch F
FIELD aX lastYaw F
FIELD aY lastPitch F
FIELD aZ boundingBox Lcz;
FIELD bB noDamageTicks I
FIELD bC airTicks I
FIELD bD fireProof Z
FIELD bE datawatcher Lmo;
FIELD ba onGround Z
FIELD bb positionChanged Z
FIELD be velocityChanged Z
FIELD bh dead Z
FIELD bi height F
FIELD bj length F
FIELD bk width F
FIELD bn fallDistance F
FIELD bv random Ljava/util/Random;
FIELD bw ticksLived I
FIELD bx maxFireTicks I
FIELD by fireTicks I
FIELD bz maxAirTicks I
FIELD c justCreated Z
METHOD <init> (Ldj;)V
ARG 1 world
METHOD I ()D
METHOD J die ()V
METHOD a move (DDD)V
ARG 1 d0
ARG 3 d1
ARG 5 d2
METHOD a (DZ)V
ARG 1 d0
ARG 3 flag
METHOD a burn (I)V
ARG 1 i
METHOD a (IZ)V
ARG 1 i
ARG 2 flag
METHOD a (Lc;)V
ARG 1 entityweatherstorm
METHOD a spawnIn (Ldj;)V
METHOD a (Lfy;F)Lez;
ARG 1 itemstack
METHOD a damageEntity (Llq;I)Z
METHOD ah isSneaking ()Z
METHOD b setLocation (DDDFF)V
METHOD b mount (Llq;)V
ARG 1 entity
METHOD c setPosition (DDD)V
ARG 1 d0
ARG 3 d1
ARG 5 d2
METHOD c setPositionRotation (DDDFF)V
METHOD c (Liq;)Z
ARG 1 nbttagcompound
METHOD d (I)Z
ARG 1 i
METHOD e (Liq;)V
ARG 1 nbttagcompound
METHOD e setSneak (Z)V
ARG 1 flag
METHOD g (DDD)Z
ARG 1 d0
ARG 3 d1
ARG 5 d2
METHOD h collide (Llq;)V
METHOD i_ getEquipment ()[Lfy;
METHOD m ()D
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/EntityBoat.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS eb net/minecraft/server/EntityBoat
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/EntityFish.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS hq net/minecraft/server/EntityFish
12 changes: 12 additions & 0 deletions mappings/net/minecraft/server/EntityHuman.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
CLASS em net/minecraft/server/EntityHuman
FIELD G hookedFish Lhq;
FIELD a sleepTicks I
FIELD i inventory Lfx;
FIELD j defaultContainer Lcl;
FIELD k activeContainer Lcl;
FIELD r name Ljava/lang/String;
FIELD s dimension I
FIELD z sleeping Z
METHOD M isDeeplySleeping ()Z
METHOD N getBed ()Lay;
METHOD a getBed (Ldj;Lay;)Lay;
METHOD b receive (Llq;I)V
9 changes: 9 additions & 0 deletions mappings/net/minecraft/server/EntityLiving.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
CLASS hl net/minecraft/server/EntityLiving
FIELD H maxNoDamageTicks I
FIELD R texture Ljava/lang/String;
FIELD ab health I
FIELD ad hurtTicks I
FIELD ag deathTicks I
FIELD ah attackTicks I
FIELD ax lastDamage I
METHOD L isSleeping ()Z
METHOD a die (Llq;)V
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/EntityMinecart.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS pr net/minecraft/server/EntityMinecart
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/EntityMonster.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ep net/minecraft/server/EntityMonster
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/EntityPig.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS oc net/minecraft/server/EntityPig
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/EntityWeatherStorm.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS c net/minecraft/server/EntityWeatherStorm
5 changes: 5 additions & 0 deletions mappings/net/minecraft/server/EnumBadError.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CLASS bw net/minecraft/server/EnumBadError
FIELD b NOT_POSSIBLE_HERE Lbw;
FIELD c NOT_POSSIBLE_NOW Lbw;
FIELD d TOOD_FAR_AWAY Lbw;
FIELD e OTHER_PROBLEM Lbw;
6 changes: 6 additions & 0 deletions mappings/net/minecraft/server/EnumToolMaterial.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CLASS bb net/minecraft/server/EnumToolMaterial
FIELD a WOOD Lbb;
FIELD b STONE Lbb;
FIELD c IRON Lbb;
FIELD d DIAMOND Lbb;
FIELD e GOLD Lbb;
2 changes: 2 additions & 0 deletions mappings/net/minecraft/server/IBlockAccess.mapping
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
CLASS pb net/minecraft/server/IBlockAccess
METHOD a getTypeId (III)I
METHOD c getData (III)I
METHOD d getMaterial (III)Lhj;
3 changes: 3 additions & 0 deletions mappings/net/minecraft/server/InventoryPlayer.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS fx net/minecraft/server/InventoryPlayer
FIELD c itemInHandInex I
METHOD b getItemInHand ()Lfy;
141 changes: 141 additions & 0 deletions mappings/net/minecraft/server/Item.mapping
Original file line number Diff line number Diff line change
@@ -1,2 +1,143 @@
CLASS ej net/minecraft/server/Item
FIELD A DIAMOND_AXE Lej;
FIELD B STICK Lej;
FIELD C BOWL Lej;
FIELD D MUSHROOM_SOUP Lej;
FIELD E GOLD_SWORD Lej;
FIELD F GOLD_SPADE Lej;
FIELD G GOLD_PICKAXE Lej;
FIELD H GOLD_AXE Lej;
FIELD I STRING Lej;
FIELD J FEATHER Lej;
FIELD K SULPHUR Lej;
FIELD L WOOD_HOE Lej;
FIELD M STONE_HOE Lej;
FIELD N IRON_HOE Lej;
FIELD O DIAMOND_HOE Lej;
FIELD P GOLD_HOE Lej;
FIELD Q SEEDS Lej;
FIELD R WHEAT Lej;
FIELD S BREAD Lej;
FIELD T LEATHER_HELMET Lej;
FIELD U LEATHER_CHESTPLATE Lej;
FIELD V LEATHER_LEGGINGS Lej;
FIELD W LEATHER_BOOTS Lej;
FIELD X CHAINMAIL_HELMET Lej;
FIELD Y CHAINMAIL_CHESTPLATE Lej;
FIELD Z CHAINMAIL_LEGGINGS Lej;
FIELD aA REDSTONE Lej;
FIELD aB SNOW_BALL Lej;
FIELD aC BOAT Lej;
FIELD aD LEATHER Lej;
FIELD aE MILK_BUCKET Lej;
FIELD aF CLAY_BRICK Lej;
FIELD aG CLAY_BALL Lej;
FIELD aH SUGAR_CANE Lej;
FIELD a durability I
FIELD aI PAPER Lej;
FIELD aJ BOOK Lej;
FIELD aK SLIME_BALL Lej;
FIELD aL STORAGE_MINECART Lej;
FIELD aM POWERED_MINECART Lej;
FIELD aN EGG Lej;
FIELD aO COMPASS Lej;
FIELD aP FISHING_ROD Lej;
FIELD aQ WATCH Lej;
FIELD aR GLOWSTONE_DUST Lej;
FIELD aS RAW_FISH Lej;
FIELD aT COOKED_FISH Lej;
FIELD aU INK_SACK Lej;
FIELD aV BONE Lej;
FIELD aW SUGAR Lej;
FIELD aX CAKE Lej;
FIELD aY BED Lej;
FIELD aZ DIODE Lej;
FIELD aa CHAINMAIL_BOOTS Lej;
FIELD ab IRON_HELMET Lej;
FIELD ac IRON_CHESTPLATE Lej;
FIELD ad IRON_LEGGINGS Lej;
FIELD ae IRON_BOOTS Lej;
FIELD af DIAMOND_HELMET Lej;
FIELD ag DIAMOND_CHESTPLATE Lej;
FIELD ah DIAMOND_LEGGINGS Lej;
FIELD ai DIAMOND_BOOTS Lej;
FIELD aj GOLD_HELMET Lej;
FIELD ak GOLD_CHESTPLATE Lej;
FIELD al GOLD_LEGGINGS Lej;
FIELD am GOLD_BOOTS Lej;
FIELD an FLINT Lej;
FIELD ao PORK Lej;
FIELD ap GRILLED_PORJ Lej;
FIELD aq PAINTING Lej;
FIELD ar GOLDEN_APPLE Lej;
FIELD as SIGN Lej;
FIELD at WOOD_DOOR Lej;
FIELD au BUCKET Lej;
FIELD av WATER_BUCKET Lej;
FIELD aw LAVA_BUCKET Lej;
FIELD ax MINECART Lej;
FIELD ay SADDLE Lej;
FIELD az IRON_DOOR Lej;
FIELD ba COOKIE Lej;
FIELD bb MAP Lol;
FIELD bc SHEARS Las;
FIELD bd GOLD_RECORD Lej;
FIELD be GREEN_RECORD Lej;
FIELD bf id I
FIELD bg maxStackSize I
FIELD bh textureId I
FIELD bk craftingResult Lej;
FIELD bl name Ljava/lang/String;
FIELD c byId [Lej;
FIELD d IRON_SPADE Lej;
FIELD e IRON_PICKAXE Lej;
FIELD f IRON_AXE Lej;
FIELD g FLINT_AND_STEEL Lej;
FIELD h APPLE Lej;
FIELD i BOW Lej;
FIELD j ARROW Lej;
FIELD k COAL Lej;
FIELD l DIAMOND Lej;
FIELD m IRON_INGOT Lej;
FIELD n GOLD_INGOT Lej;
FIELD o IRON_SWORD Lej;
FIELD p WOOD_SWORD Lej;
FIELD q WOOD_SPADE Lej;
FIELD r WOOD_PICKAXE Lej;
FIELD s WOOD_AXE Lej;
FIELD t STONE_SWORD Lej;
FIELD u STONE_SPADE Lej;
FIELD v STONE_PICKAXE Lej;
FIELD w STONE_AXE Lej;
FIELD x DIAMOND_SWORD Lej;
FIELD y DIAMOND_SPADE Lej;
FIELD z DIAMOND_PICKAXE Lej;
METHOD <init> (I)V
ARG 1 i
METHOD a filterData (I)I
ARG 1 i
METHOD a (II)Lej;
ARG 1 i
ARG 2 j
METHOD a (Lfy;Ldj;Lem;)Lfy;
ARG 1 itemstack
ARG 2 world
ARG 3 entityhuman
METHOD a (Lfy;Lem;Ldj;IIII)Z
ARG 1 itemstack
ARG 2 entityhuman
ARG 3 world
ARG 4 i
ARG 5 j
ARG 6 k
ARG 7 l
METHOD a (Lfy;Lna;)F
ARG 1 itemstack
ARG 2 block
METHOD b (I)Lej;
ARG 1 i
METHOD c getMaxStackSize ()I
METHOD c (I)Lej;
ARG 1 i
METHOD d (I)Lej;
ARG 1 i
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemArmor.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS nx net/minecraft/server/ItemArmor
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemAxe.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ly net/minecraft/server/ItemAxe
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemBed.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS hk net/minecraft/server/ItemBed
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemBoat.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ni net/minecraft/server/ItemBoat
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemBow.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS kj net/minecraft/server/ItemBow
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemBucket.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS al net/minecraft/server/ItemBucket
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemCoal.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS lc net/minecraft/server/ItemCoal
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemDoor.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS fg net/minecraft/server/ItemDoor
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemDye.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS gu net/minecraft/server/ItemDye
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemEgg.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS hx net/minecraft/server/ItemEgg
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemFishingRod.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS bv net/minecraft/server/ItemFishingRod
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemFlintAndSteel.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS pl net/minecraft/server/ItemFlintAndSteel
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemFood.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS px net/minecraft/server/ItemFood
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemHoe.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS gz net/minecraft/server/ItemHoe
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemMinecart.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ks net/minecraft/server/ItemMinecart
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemPainting.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ps net/minecraft/server/ItemPainting
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemPickAxe.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ah net/minecraft/server/ItemPickAxe
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemRecord.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS mj net/minecraft/server/ItemRecord
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemRedstone.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS fk net/minecraft/server/ItemRedstone
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemReed.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS hn net/minecraft/server/ItemReed
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemSaddle.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS lg net/minecraft/server/ItemSaddle
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemSeeds.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS kr net/minecraft/server/ItemSeeds
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemShears.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS as net/minecraft/server/ItemShears
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemSign.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ng net/minecraft/server/ItemSign
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemSnowball.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS cf net/minecraft/server/ItemSnowball
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemSpade.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ny net/minecraft/server/ItemSpade
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemSword.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS jw net/minecraft/server/ItemSword
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/ItemWorldMap.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ol net/minecraft/server/ItemWorldMap
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/Material.mapping
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CLASS hj net/minecraft/server/Material
FIELD d WOOD Lhj;
METHOD a isBuildable ()Z
METHOD b blocksLight ()Z
4 changes: 4 additions & 0 deletions mappings/net/minecraft/server/MathHelper.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CLASS fq net/minecraft/server/MathHelper
METHOD a sin (F)F
METHOD b floor (D)I
METHOD b cos (F)F
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/NBTBase.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS k net/minecraft/server/NBTBase
2 changes: 2 additions & 0 deletions mappings/net/minecraft/server/NBTTagCompound.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CLASS iq net/minecraft/server/NBTTagCompound
METHOD a setString (Ljava/lang/String;Ljava/lang/String;)V
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/NBTTagDouble.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS lx net/minecraft/server/NBTTagDouble
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/NBTTagList.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS lr net/minecraft/server/NBTTagList
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/Statistic.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ns net/minecraft/server/Statistic
3 changes: 3 additions & 0 deletions mappings/net/minecraft/server/StepSound.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
CLASS bu net/minecraft/server/StepSound
METHOD a getVolume1 ()F
METHOD b getVolume2 ()F
METHOD c getName ()Ljava/lang/String;
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/TileEntityDispenser.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ak net/minecraft/server/TileEntityDispenser
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/TileEntityFurnace.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS ln net/minecraft/server/TileEntityFurnace
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/Vec3D.mapping
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CLASS ba net/minecraft/server/Vec3D
METHOD b create (DDD)Lba;
METHOD c add (DDD)Lba;
3 changes: 3 additions & 0 deletions mappings/net/minecraft/server/World.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ CLASS dj net/minecraft/server/World
FIELD q spawnMonsters I
FIELD r random Ljava/util/Random;
FIELD t worldProvider Los;
METHOD a containsEntity (Lcz;)Z
METHOD a addIWorldAccess (Ljp;)V
METHOD a getEntities (Llq;Lcz;)Ljava/util/List;
METHOD a makeSound (Llq;Ljava/lang/String;FF)V
METHOD a save (ZLpj;)V
METHOD a setSpawnFlags (ZZ)V
METHOD b addEntity (Llq;)Z
Expand Down
Loading

0 comments on commit 9da6dd6

Please sign in to comment.