Add 2 new methods mappings and rename a few others. (#516)

* Change ItemStack#invalid to ItemStack#empty. Only ever used when checking if the stack is empty

* Rename BucketMilkItem to MilkBucketItem

* Change FireworksItem to FireworkItem (registry name is also singular, not plural)

* Rename EntityType.ILLAGER_BEAST to RAVAGER to match the class / actual entity name.

* Map 2 of FenceBlock's connection-related methods.
This commit is contained in:
Blake Redenius 2019-03-10 00:13:29 +10:00 committed by Adrian Siekierka
parent 85bfe2b5b4
commit 3678cb6171
6 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,8 @@ CLASS bkf net/minecraft/block/FenceBlock
FIELD i SHAPES [Lcof;
METHOD <init> (Lbig$c;)V
ARG 1 settings
METHOD a canConnect (Lbre;ZLex;)Z
METHOD f preventsConnection (Lbig;)Z
METHOD k (Lbre;Lbcq;Les;)Lcof;
ARG 1 state
ARG 2 view

View File

@ -57,7 +57,7 @@ CLASS ahq net/minecraft/entity/EntityType
FIELD aR ZOMBIE_HORSE Lahq;
FIELD aS ZOMBIE_VILLAGER Lahq;
FIELD aT PHANTOM Lahq;
FIELD aU ILLAGER_BEAST Lahq;
FIELD aU RAVAGER Lahq;
FIELD aV LIGHTNING_BOLT Lahq;
FIELD aW PLAYER Lahq;
FIELD aX FISHING_BOBBER Lahq;

View File

@ -1 +0,0 @@
CLASS ayd net/minecraft/item/BucketMilkItem

View File

@ -1,4 +1,4 @@
CLASS axg net/minecraft/item/FireworksItem
CLASS axg net/minecraft/item/FireworkItem
CLASS axg$a Type
FIELD f TYPES [Laxg$a;
FIELD g id I

View File

@ -6,7 +6,7 @@ CLASS axx net/minecraft/item/ItemStack
FIELD e updateCooldown I
FIELD f item Laxs;
FIELD g tag Lhx;
FIELD h invalid Z
FIELD h empty Z
FIELD i holdingItemFrame Lapi;
FIELD j lastCheckedCanHarvestBlock Lbri;
FIELD k lastCheckedCanHarvestResult Z

View File

@ -0,0 +1 @@
CLASS ayd net/minecraft/item/MilkBucketItem