Various container mappings (#445)

This commit is contained in:
hea3ven 2019-02-05 15:06:02 -03:00 committed by Adrian Siekierka
parent 60b0d0a61f
commit 55b991bdd2
31 changed files with 153 additions and 8 deletions

View File

@ -2,8 +2,15 @@ CLASS atk net/minecraft/container/AbstractFurnaceContainer
FIELD c world Lbcq;
FIELD d inventory Laft;
FIELD e propertyDelegate Lats;
FIELD f recipeType Lazv;
METHOD <init> (Lauk;Lazv;ILarn;)V
ARG 3 syncId
METHOD <init> (Lauk;Lazv;ILarn;Laft;Lats;)V
ARG 3 syncId
METHOD a isSmeltable (Laxi;)Z
ARG 1 itemStack
METHOD b isFuel (Laxi;)Z
ARG 1 itemStack
METHOD j getCookProgress ()I
METHOD k getFuelProgress ()I
METHOD l isBurning ()Z

View File

@ -1,2 +1,4 @@
CLASS auv net/minecraft/container/ArrayPropertyDelegate
FIELD a data [I
METHOD <init> (I)V
ARG 1 size

View File

@ -1,3 +1,7 @@
CLASS atm net/minecraft/container/BeaconContainer
CLASS atm$a SlotPayment
FIELD f propertyDelegate Lats;
METHOD <init> (ILaft;)V
ARG 1 syncId
METHOD <init> (ILaft;Lats;Latt;)V
ARG 1 syncId

View File

@ -1 +1,5 @@
CLASS atn net/minecraft/container/BlastFurnaceContainer
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Laft;Lats;)V
ARG 1 syncId

View File

@ -19,3 +19,5 @@ CLASS ato net/minecraft/container/BrewingStandContainer
FIELD c inventory Laft;
FIELD d propertyDelegate Lats;
FIELD e slotIngredient Lauw;
METHOD <init> (ILarn;)V
ARG 1 syncId

View File

@ -1 +1,5 @@
CLASS atp net/minecraft/container/CartographyTableContainer
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Latt;)V
ARG 1 syncId

View File

@ -2,10 +2,16 @@ CLASS atj net/minecraft/container/Container
FIELD a slotList Ljava/util/List;
FIELD b syncId I
FIELD c stackList Lfh;
FIELD d properties Ljava/util/List;
FIELD e type Lauk;
FIELD f actionId S
FIELD g quickCraftStage I
FIELD h quickCraftButton I
FIELD i quickCraftSlots Ljava/util/Set;
FIELD j listeners Ljava/util/List;
FIELD k restrictedPlayers Ljava/util/Set;
METHOD <init> (Lauk;I)V
ARG 1 type
ARG 2 syncId
METHOD a getType ()Lauk;
METHOD a getSlot (I)Lauw;
@ -14,8 +20,9 @@ CLASS atj net/minecraft/container/Container
ARG 2 propertyId
METHOD a onSlotClick (IILatr;Laro;)Laxi;
ARG 1 slotId
ARG 2 buttonId
ARG 2 clickData
ARG 3 actionType
ARG 5 resultStack
METHOD a setStackInSlot (ILaxi;)V
ARG 1 slot
METHOD a onContentChanged (Laft;)V
@ -27,14 +34,16 @@ CLASS atj net/minecraft/container/Container
ARG 1 player
ARG 2 id
METHOD a dropInventory (Laro;Lbcq;Laft;)V
METHOD a readData (Lats;)V
ARG 1 data
METHOD a setPlayerRestriction (Laro;Z)V
ARG 2 unrestricted
METHOD a addProperties (Lats;)V
METHOD a checkContainerDataCount (Lats;I)V
ARG 0 data
ARG 1 expectedCount
METHOD a canUse (Latt;Laro;Lbhs;)Z
METHOD a addListener (Latu;)V
ARG 1 listener
METHOD a addProperty (Latx;)Latx;
METHOD a addSlot (Lauw;)Lauw;
ARG 1 slot
METHOD a canInsertItemIntoSlot (Lauw;Laxi;Z)Z
@ -44,15 +53,22 @@ CLASS atj net/minecraft/container/Container
ARG 1 stack
ARG 2 startIndex
ARG 3 endIndex
METHOD a canStacksCombine (Laxi;Laxi;)Z
METHOD a calculateComparatorOutput (Lbot;)I
ARG 0 entity
METHOD a updateSlotStacks (Ljava/util/List;)V
ARG 1 stacks
METHOD a calculateStackSize (Ljava/util/Set;ILaxi;I)V
ARG 0 slots
ARG 1 rmode
ARG 2 stack
ARG 3 stackSize
METHOD b getStacks ()Lfh;
METHOD b unpackQuickCraftStage (I)I
ARG 0 clickData
METHOD b packClickData (II)I
ARG 0 buttonId
ARG 1 quickCraftStage
METHOD b calculateComparatorOutput (Laft;)I
ARG 0 inventory
METHOD b close (Laro;)V
@ -61,4 +77,9 @@ CLASS atj net/minecraft/container/Container
ARG 2 invSlot
METHOD b removeListener (Latu;)V
ARG 1 listener
METHOD b canInsertIntoSlot (Lauw;)Z
METHOD c sendContentUpdates ()V
METHOD c unpackButtonId (I)I
ARG 0 clickData
METHOD c isRestricted (Laro;)Z
METHOD d quickCraftEnd ()V

View File

@ -1 +1,3 @@
CLASS auj net/minecraft/container/ContainerProvider
METHOD createMenu (ILarn;Laro;)Latj;
ARG 1 syncId

View File

@ -22,6 +22,8 @@ CLASS auk net/minecraft/container/ContainerType
FIELD q SMOKER Lauk;
FIELD r CARTOGRAPHY Lauk;
FIELD t factory Lauk$a;
METHOD <clinit> ()V
ARG 0 syncId
METHOD <init> (Lauk$a;)V
ARG 1 factory
METHOD a create (ILarn;)Latj;

View File

@ -1,6 +1,7 @@
CLASS aup net/minecraft/container/CraftingContainer
METHOD a populateRecipeFinder (Larq;)V
METHOD a matches (Lazs;)Z
METHOD a fillInputSlots (ZLazs;Lut;)V
METHOD e clearCraftingSlots ()V
METHOD f getCraftingResultSlotIndex ()I
METHOD g getCraftingWidth ()I

View File

@ -6,4 +6,11 @@ CLASS aus net/minecraft/container/CraftingResultSlot
ARG 2 craftingInv
ARG 3 inventory
ARG 4 invSlot
ARG 5 x
ARG 5 xPosition
ARG 6 yPosition
METHOD a (I)Laxi;
ARG 1 arg1
METHOD a (Laxi;I)V
ARG 2 arg2
METHOD b (I)V
ARG 1 arg1

View File

@ -3,3 +3,7 @@ CLASS atw net/minecraft/container/CraftingTableContainer
FIELD d resultInv Laur;
FIELD e world Latt;
FIELD f player Laro;
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Latt;)V
ARG 1 syncId

View File

@ -6,5 +6,9 @@ CLASS atz net/minecraft/container/EnchantingTableContainer
FIELD g pos Latt;
FIELD h random Ljava/util/Random;
FIELD i world Latx;
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Latt;)V
ARG 1 syncId
METHOD a getRandomEnchantments (Laxi;II)Ljava/util/List;
ARG 1 stack

View File

@ -1 +1,5 @@
CLASS aub net/minecraft/container/FurnaceContainer
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Laft;Lats;)V
ARG 1 syncId

View File

@ -1,5 +1,8 @@
CLASS aua net/minecraft/container/FurnaceFuelSlot
FIELD a container Latk;
METHOD <init> (Latk;Laft;III)V
ARG 3 xPosition
ARG 3 invSlot
ARG 4 xPosition
ARG 5 yPosition
METHOD c_ isBucket (Laxi;)Z
ARG 0 stack

View File

@ -5,4 +5,9 @@ CLASS auc net/minecraft/container/FurnaceOutputSlot
ARG 1 player
ARG 2 inventory
ARG 3 invSlot
ARG 4 x
ARG 4 xPosition
ARG 5 yPosition
METHOD a (I)Laxi;
ARG 1 arg1
METHOD a (Laxi;I)V
ARG 2 arg2

View File

@ -1,2 +1,6 @@
CLASS aty net/minecraft/container/Generic3x3Container
FIELD c inventory Laft;
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Laft;)V
ARG 1 syncId

View File

@ -1,4 +1,18 @@
CLASS atq net/minecraft/container/GenericContainer
CLASS atq$a Generic9x6
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Laft;)V
ARG 1 syncId
CLASS atq$b Generic9x3
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Laft;)V
ARG 1 syncId
FIELD c inventory Laft;
FIELD d rows I
METHOD <init> (Lauk;ILarn;Laft;I)V
ARG 2 syncId
ARG 5 rows
METHOD e getInventory ()Laft;
METHOD f getRows ()I

View File

@ -2,3 +2,7 @@ CLASS aud net/minecraft/container/GrindstoneContainer
FIELD c resultInventory Laft;
FIELD d craftingInventory Laft;
FIELD e world Latt;
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Latt;)V
ARG 1 syncId

View File

@ -1,2 +1,6 @@
CLASS aue net/minecraft/container/HopperContainer
FIELD c inventory Laft;
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Laft;)V
ARG 1 syncId

View File

@ -1,3 +1,5 @@
CLASS auf net/minecraft/container/HorseContainer
FIELD c playerInv Laft;
FIELD d entity Lank;
METHOD <init> (ILarn;Laft;Lank;)V
ARG 1 syncId

View File

@ -1,4 +1,8 @@
CLASS auh net/minecraft/container/LecternContainer
FIELD c inventory Laft;
FIELD d propertyDelegate Lats;
METHOD <init> (I)V
ARG 1 syncId
METHOD <init> (ILaft;Lats;)V
ARG 1 syncId
METHOD e getBookItem ()Laxi;

View File

@ -1,2 +1,6 @@
CLASS aui net/minecraft/container/LoomContainer
FIELD j inv Laft;
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Latt;)V
ARG 1 syncId

View File

@ -1,4 +1,8 @@
CLASS aum net/minecraft/container/MerchantContainer
FIELD c villager Lbbt;
FIELD d villagerInventory Laul;
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Lbbt;)V
ARG 1 syncId
METHOD d setRecipeIndex (I)V

View File

@ -1,8 +1,15 @@
CLASS atx net/minecraft/container/Property
FIELD a id I
CLASS atx$3
FIELD a value I
FIELD a oldValue I
METHOD a create ()Latx;
METHOD a set (I)V
ARG 1 value
METHOD a create (Lats;I)Latx;
ARG 1 key
METHOD a create ([II)Latx;
ARG 1 key
METHOD b get ()I
METHOD c detectChanges ()Z
ARG 1 newValue
ARG 2 changed

View File

@ -1,2 +1,6 @@
CLASS aut net/minecraft/container/ShulkerBoxContainer
FIELD c inventory Laft;
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Laft;)V
ARG 1 syncId

View File

@ -4,17 +4,25 @@ CLASS auw net/minecraft/container/Slot
FIELD e id I
FIELD f xPosition I
FIELD g yPosition I
METHOD <init> (Laft;III)V
ARG 2 invSlot
ARG 3 xPosition
ARG 4 yPosition
METHOD a getMaxStackAmount ()I
METHOD a takeStack (I)Laxi;
ARG 1 amount
METHOD a canTakeItems (Laro;)Z
METHOD a onTakeItem (Laro;Laxi;)Laxi;
ARG 1 stack
METHOD a canInsert (Laxi;)Z
METHOD a onCrafted (Laxi;I)V
ARG 1 stack
ARG 2 amount
METHOD a onStackChanged (Laxi;Laxi;)V
ARG 1 originalItem
METHOD b doDrawHoveringEffect ()Z
METHOD b onTake (I)V
ARG 1 amount
METHOD b getMaxStackAmount (Laxi;)I
METHOD c getBackgroundSprite ()Ljava/lang/String;
METHOD c onCrafted (Laxi;)V

View File

@ -1 +1,5 @@
CLASS auy net/minecraft/container/SmokerContainer
METHOD <init> (ILarn;)V
ARG 1 syncId
METHOD <init> (ILarn;Laft;Lats;)V
ARG 1 syncId

View File

@ -9,3 +9,8 @@ CLASS aun net/minecraft/container/VillagerOutputSlot
ARG 3 VillagerInventory
ARG 4 index
ARG 5 xPosition
ARG 6 yPosition
METHOD a (I)Laxi;
ARG 1 arg1
METHOD a (Laxi;I)V
ARG 2 arg2

View File

@ -1,4 +1,4 @@
CLASS afs net/minecraft/container/DoubleLockableContainer
CLASS afs net/minecraft/inventory/DoubleInventory
FIELD a first Laft;
FIELD b second Laft;
METHOD a isPart (Laft;)Z

View File

@ -3,3 +3,4 @@ CLASS bci net/minecraft/world/EntityContainer
METHOD a getEntities (Lahe;Lcmr;Ljava/util/function/Predicate;)Ljava/util/List;
ARG 1 entity
ARG 2 boundingBox
METHOD a getCollidingEntityBoundingBoxesForEntity (Lahe;Lcnq;Ljava/util/Set;)Ljava/util/stream/Stream;