Add field / arg mappings for various things. Also map some some thing… (#393)

* Add field / arg mappings for various things. Also map some some things on `aud` -> `LecternContainer`.

* Add mapping for BlockEntityType.Builder#a -> BlockEntityType.Builder#build

* Add mapping for some Inventory parameter names. Also add mappings for CraftingInventory.f() -> CraftingInventory.getHeight() & CraftingInventory.g() -> CraftingInventory.getWidth()
This commit is contained in:
Blake Redenius 2019-01-12 10:30:17 +10:00 committed by Adrian Siekierka
parent 5c6ba3dacc
commit 9ecf444f1a
41 changed files with 97 additions and 1 deletions

View File

@ -14,3 +14,4 @@ CLASS atl
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -19,14 +19,17 @@ CLASS bnz net/minecraft/block/entity/AbstractFurnaceBlockEntity
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a canInsertInvStack (ILaxd;Ley;)Z
ARG 1 slot
ARG 2 stack
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a provideRecipeInputs (Larm;)V
METHOD a getItemBurnTime (Laxd;)I
METHOD a setLastRecipe (Lazm;)V
@ -43,6 +46,7 @@ CLASS bnz net/minecraft/block/entity/AbstractFurnaceBlockEntity
METHOD ab_ getCookTime ()I
METHOD ac_ getLastRecipe ()Lazm;
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD b isValidInvStack (ILaxd;)Z
ARG 1 slot
METHOD b canExtractInvStack (ILaxd;Ley;)Z

View File

@ -3,15 +3,18 @@ CLASS boc net/minecraft/block/entity/BarrelBlockEntity
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a createContainer (ILarj;)Latf;
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a setInvStackList (Lfh;)V
ARG 1 list
METHOD a fromTag (Lhs;)V
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD b toTag (Lhs;)Lhs;
METHOD c isInvEmpty ()Z
METHOD f getInvStackList ()Lfh;

View File

@ -1,6 +1,7 @@
CLASS boh net/minecraft/block/entity/BlastFurnaceBlockEntity
METHOD a createContainer (ILarj;)Latf;
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a getItemBurnTime (Laxd;)I
METHOD ab_ getCookTime ()I
METHOD g getName ()Ljd;

View File

@ -1,6 +1,7 @@
CLASS boj net/minecraft/block/entity/BlockEntityType
CLASS boj$a Builder
FIELD a supplier Ljava/util/function/Supplier;
METHOD a build (Lcom/mojang/datafixers/types/Type;)Lboj;
METHOD a create (Ljava/util/function/Supplier;)Lboj$a;
ARG 0 supplier
FIELD A SMOKER Lboj;

View File

@ -16,19 +16,23 @@ CLASS bok net/minecraft/block/entity/BrewingStandBlockEntity
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a createContainer (ILarj;)Latf;
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a canInsertInvStack (ILaxd;Ley;)Z
ARG 1 slot
ARG 2 stack
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a getInvAvailableSlots (Ley;)[I
METHOD a fromTag (Lhs;)V
METHOD aa_ tick ()V
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD b isValidInvStack (ILaxd;)Z
ARG 1 slot
METHOD b canExtractInvStack (ILaxd;Ley;)Z

View File

@ -1,5 +1,6 @@
CLASS bov net/minecraft/block/entity/FurnaceBlockEntity
METHOD a createContainer (ILarj;)Latf;
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD ab_ getCookTime ()I
METHOD g getName ()Ljd;

View File

@ -8,6 +8,7 @@ CLASS box net/minecraft/block/entity/HopperBlockEntity
METHOD a createContainer (ILarj;)Latf;
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a canInsert (Lafs;Laxd;ILey;)Z
ARG 0 inv
ARG 1 stack

View File

@ -4,12 +4,16 @@ CLASS bpa net/minecraft/block/entity/LecternBlockEntity
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD b isValidInvStack (ILaxd;)Z
ARG 1 slot
METHOD c isInvEmpty ()Z

View File

@ -3,16 +3,20 @@ CLASS bpc net/minecraft/block/entity/LootableContainerBlockEntity
FIELD h lootTableSeed J
METHOD T_ clearInv ()V
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a setInvStackList (Lfh;)V
ARG 1 list
METHOD a setLootTable (Lqe;J)V
ARG 1 id
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD d deserializeLootTable (Lhs;)Z
METHOD e checkLootInteraction (Lark;)V
METHOD e serializeLootTable (Lhs;)Z

View File

@ -1,6 +1,7 @@
CLASS bpg net/minecraft/block/entity/SmokerBlockEntity
METHOD a createContainer (ILarj;)Latf;
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a getItemBurnTime (Laxd;)I
METHOD ab_ getCookTime ()I
METHOD g getName ()Ljd;

View File

@ -10,6 +10,7 @@ CLASS cvo net/minecraft/client/gui/ingame/CreativePlayerInventoryGui
METHOD a canUse (Lark;)Z
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot
CLASS cvo$c CreativeSlot
FIELD b slot Laus;
METHOD a getMaxStackAmount ()I

View File

@ -1,15 +1,20 @@
CLASS atg net/minecraft/container/AbstractFurnaceContainer
FIELD a world Lbcf;
FIELD d inventory Lafs;
FIELD e propertyDelegate Lato;
METHOD a canUse (Lark;)Z
METHOD a populateRecipeFinder (Larm;)V
METHOD a isSmeltable (Laxd;)Z
ARG 1 itemStack
METHOD a matches (Lazm;)Z
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot
METHOD b isFuel (Laxd;)Z
ARG 1 itemStack
METHOD e clearCraftingSlots ()V
METHOD f getCraftingResultSlotIndex ()I
METHOD g getCraftingWidth ()I
METHOD h getCraftingHeight ()I
METHOD i getCraftingSlotCount ()I
METHOD l isBurning ()Z

View File

@ -19,3 +19,4 @@ CLASS ath net/minecraft/container/AnvilContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -6,9 +6,12 @@ CLASS ati net/minecraft/container/BeaconContainer
CLASS ati$a SlotPayment
METHOD a getMaxStackAmount ()I
METHOD a canInsert (Laxd;)Z
FIELD f propertyDelegate Lato;
METHOD a setProperty (II)V
ARG 1 pos
ARG 2 propertyId
METHOD a canUse (Lark;)Z
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -1,3 +1,5 @@
CLASS atj net/minecraft/container/BlastFurnaceContainer
METHOD a isSmeltable (Laxd;)Z
ARG 1 itemStack
METHOD b isFuel (Laxd;)Z
ARG 1 itemStack

View File

@ -25,7 +25,9 @@ CLASS atk net/minecraft/container/BrewingStandContainer
METHOD a canInsert (Laxd;)Z
METHOD c_ matches (Laxd;)Z
FIELD a inventory Lafs;
FIELD d propertyDelegate Lato;
FIELD e slotIngredient Laus;
METHOD a canUse (Lark;)Z
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -7,6 +7,7 @@ CLASS atf net/minecraft/container/Container
METHOD a getSlot (I)Laus;
METHOD a setProperty (II)V
ARG 1 pos
ARG 2 propertyId
METHOD a onSlotClick (IILatn;Lark;)Laxd;
ARG 1 slotId
ARG 2 buttonId
@ -49,6 +50,7 @@ CLASS atf net/minecraft/container/Container
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot
METHOD b removeListener (Latq;)V
ARG 1 listener
METHOD c sendContentUpdates ()V

View File

@ -10,6 +10,7 @@ CLASS ats net/minecraft/container/CraftingTableContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot
METHOD e clearCraftingSlots ()V
METHOD f getCraftingResultSlotIndex ()I
METHOD g getCraftingWidth ()I

View File

@ -4,3 +4,4 @@ CLASS atu net/minecraft/container/DispenserContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -5,13 +5,17 @@ CLASS afr net/minecraft/container/DoubleLockableContainer
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a isPart (Lafs;)Z
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD b isValidInvStack (ILaxd;)Z
ARG 1 slot
METHOD b_ onInvOpen (Lark;)V

View File

@ -23,3 +23,4 @@ CLASS atv net/minecraft/container/EnchantingTableContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -1,3 +1,5 @@
CLASS atx net/minecraft/container/FurnaceContainer
METHOD a isSmeltable (Laxd;)Z
ARG 1 itemStack
METHOD b isFuel (Laxd;)Z
ARG 1 itemStack

View File

@ -5,4 +5,5 @@ CLASS atm net/minecraft/container/GenericContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot
METHOD e getInventory ()Lafs;

View File

@ -17,3 +17,4 @@ CLASS atz net/minecraft/container/GrindstoneContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -4,3 +4,4 @@ CLASS aua net/minecraft/container/HopperContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -12,3 +12,4 @@ CLASS aub net/minecraft/container/HorseContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -1,9 +1,13 @@
CLASS aud
CLASS aud net/minecraft/container/LecternContainer
CLASS aud$1
METHOD d markDirty ()V
FIELD a inventory Lafs;
FIELD d propertyDelegate Lato;
METHOD a setProperty (II)V
ARG 1 pos
ARG 2 propertyId
METHOD a canUse (Lark;)Z
METHOD a onButtonClick (Lark;I)Z
ARG 1 player
ARG 2 id
METHOD e getBookItem ()Laxd;

View File

@ -24,6 +24,7 @@ CLASS aue net/minecraft/container/LoomContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot
METHOD e clearCraftingSlots ()V
METHOD f getCraftingResultSlotIndex ()I
METHOD g getCraftingWidth ()I

View File

@ -21,6 +21,7 @@ CLASS auc net/minecraft/container/PlayerContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot
METHOD e clearCraftingSlots ()V
METHOD f getCraftingResultSlotIndex ()I
METHOD g getCraftingWidth ()I

View File

@ -4,3 +4,4 @@ CLASS aup net/minecraft/container/ShulkerBoxContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot

View File

@ -1,3 +1,5 @@
CLASS aut net/minecraft/container/SmokerContainer
METHOD a isSmeltable (Laxd;)Z
ARG 1 itemStack
METHOD b isFuel (Laxd;)Z
ARG 1 itemStack

View File

@ -6,4 +6,5 @@ CLASS aui net/minecraft/container/VillagerContainer
METHOD b close (Lark;)V
METHOD b transferSlot (Lark;I)Laxd;
ARG 1 player
ARG 2 invSlot
METHOD d setRecipeIndex (I)V

View File

@ -10,12 +10,15 @@ CLASS arj net/minecraft/entity/player/PlayerInventory
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a clone (Larj;)V
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a populateRecipeFinder (Larm;)V
METHOD a addPickBlock (Laxd;)V
METHOD a canStackAddMore (Laxd;Laxd;)Z
@ -23,6 +26,7 @@ CLASS arj net/minecraft/entity/player/PlayerInventory
METHOD a getBlockBreakingSpeed (Lbqe;)F
METHOD a serialize (Lhy;)Lhy;
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD b getSlotWithStack (Laxd;)I
METHOD b areItemsEqual (Laxd;Laxd;)Z
ARG 1 stack1

View File

@ -7,17 +7,21 @@ CLASS ass net/minecraft/entity/vehicle/StorageMinecartEntity
METHOD T_ clearInv ()V
METHOD Y invalidate ()V
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a dropItems (Lagm;)V
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a changeDimension (Lbsy;)Lahd;
METHOD a readCustomDataFromTag (Lhs;)V
METHOD a setLootTable (Lqe;J)V
ARG 1 id
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD b interact (Lark;Lafy;)Z
ARG 1 player
METHOD b writeCustomDataToTag (Lhs;)V

View File

@ -5,15 +5,19 @@ CLASS age net/minecraft/inventory/BasicInventory
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a addListener (Lafu;)V
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a provideRecipeInputs (Larm;)V
METHOD a add (Laxd;)Laxd;
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD b removeListener (Lafu;)V
METHOD c isInvEmpty ()Z
METHOD e markDirty ()V

View File

@ -6,15 +6,22 @@ CLASS atr net/minecraft/inventory/CraftingInventory
METHOD <init> (Latf;II)V
ARG 1 container
ARG 2 width
ARG 3 height
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a provideRecipeInputs (Larm;)V
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD c isInvEmpty ()Z
METHOD e markDirty ()V
METHOD f getHeight ()I
METHOD g getWidth ()I

View File

@ -4,14 +4,18 @@ CLASS aun net/minecraft/inventory/CraftingResultInventory
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a setLastRecipe (Lazm;)V
ARG 1 recipe
METHOD ac_ getLastRecipe ()Lazm;
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD c isInvEmpty ()Z
METHOD e markDirty ()V

View File

@ -1,6 +1,7 @@
CLASS auk net/minecraft/inventory/EnderChestInventory
FIELD a currentBlockEntity Lbou;
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD a setCurrentBlockEntity (Lbou;)V
METHOD a readTags (Lhy;)V
METHOD b_ onInvOpen (Lark;)V

View File

@ -2,12 +2,16 @@ CLASS afs net/minecraft/inventory/Inventory
METHOD R_ getInvMaxStackAmount ()I
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD b isValidInvStack (ILaxd;)Z
ARG 1 slot
METHOD b_ onInvOpen (Lark;)V

View File

@ -6,12 +6,16 @@ CLASS auh net/minecraft/village/VillagerInventory
METHOD T_ clearInv ()V
METHOD U_ getInvSize ()I
METHOD a getInvStack (I)Laxd;
ARG 1 slot
METHOD a takeInvStack (II)Laxd;
ARG 1 slot
METHOD a setInvStack (ILaxd;)V
ARG 1 slot
ARG 2 itemStack
METHOD a canPlayerUseInv (Lark;)Z
ARG 1 playerEntity
METHOD b removeInvStack (I)Laxd;
ARG 1 slot
METHOD c isInvEmpty ()Z
METHOD c setRecipeIndex (I)V
METHOD d needRecipeUpdate (I)Z