Many names following from UnlockRecipesClientPacket (#303)

This commit is contained in:
David Vierra 2018-12-15 22:57:44 -10:00 committed by Adrian Siekierka
parent 926a19b9fb
commit 6c829da1f5
16 changed files with 94 additions and 11 deletions

View File

@ -21,6 +21,12 @@ CLASS bni net/minecraft/block/entity/AbstractFurnaceBlockEntity
METHOD a canPlayerUseInv (Larb;)Z
METHOD a provideRecipeInputs (Lard;)V
METHOD a getItemBurnTime (Lawo;)I
METHOD a setLastRecipe (Layw;)V
ARG 1 recipe
METHOD a shouldCraftRecipe (Lbbp;Lus;Layw;)Z
ARG 1 world
ARG 2 player
ARG 3 recipe
METHOD a getInvAvailableSlots (Ley;)[I
METHOD a fromTag (Lhs;)V
METHOD a setCustomName (Ljd;)V
@ -32,13 +38,21 @@ CLASS bni net/minecraft/block/entity/AbstractFurnaceBlockEntity
METHOD b canExtractInvStack (ILawo;Ley;)Z
ARG 1 slot
ARG 2 stack
METHOD b unlockLastRecipe (Larb;)V
ARG 1 player
METHOD b canUseAsFuel (Lawo;)Z
ARG 0 stack
METHOD b canAcceptRecipeOutput (Layw;)Z
ARG 1 recipe
METHOD b toTag (Lhs;)Lhs;
METHOD c isInvEmpty ()Z
METHOD c getInvProperty (I)I
METHOD c craftRecipe (Layw;)V
ARG 1 recipe
METHOD e tick ()V
METHOD f getCustomName ()Ljd;
METHOD g getLastRecipe ()Layw;
METHOD i getInvPropertyCount ()I
METHOD p getBurnTimeMap ()Ljava/util/Map;
METHOD q getCookTime ()I
METHOD s getRecipesUsed ()Ljava/util/Map;

View File

@ -29,6 +29,11 @@ CLASS asw net/minecraft/container/Container
ARG 1 stack
ARG 2 startIndex
ARG 3 endIndex
METHOD a onCraftingContentChanged (Lbbp;Larb;Lafi;Latz;)V
ARG 1 world
ARG 2 player
ARG 3 inventory
ARG 4 resultInventory
METHOD a calculateComparatorOutput (Lbnq;)I
ARG 0 entity
METHOD a updateSlotStacks (Ljava/util/List;)V

View File

@ -14,3 +14,4 @@ CLASS aua net/minecraft/container/CraftingResultSlot
METHOD a onCrafted (Lawo;I)V
ARG 1 stack
METHOD c onCrafted (Lawo;)V
ARG 1 stack

View File

@ -12,3 +12,4 @@ CLASS atm net/minecraft/container/FurnaceOutputSlot
METHOD a onCrafted (Lawo;I)V
ARG 1 stack
METHOD c onCrafted (Lawo;)V
ARG 1 stack

View File

@ -18,6 +18,7 @@ CLASS aud net/minecraft/container/Slot
METHOD b getMaxStackAmount (Lawo;)I
METHOD c getBackgroundSprite ()Ljava/lang/String;
METHOD c onCrafted (Lawo;)V
ARG 1 stack
METHOD d getStack ()Lawo;
METHOD d setStack (Lawo;)V
METHOD e hasStack ()Z

View File

@ -16,3 +16,4 @@ CLASS atv net/minecraft/container/VillagerOutputSlot
METHOD a onCrafted (Lawo;I)V
ARG 1 stack
METHOD c onCrafted (Lawo;)V
ARG 1 stack

View File

@ -86,6 +86,8 @@ CLASS arb net/minecraft/entity/player/PlayerEntity
ARG 1 pos
ARG 2 side
METHOD a readCustomDataFromTag (Lhs;)V
METHOD a unlockRecipes (Ljava/util/Collection;)I
ARG 1 recipes
METHOD a addChatMessage (Ljd;Z)V
ARG 1 message
METHOD a playSoundAtEntity (Lxm;FF)V
@ -95,6 +97,8 @@ CLASS arb net/minecraft/entity/player/PlayerEntity
METHOD a incrementStat (Lxt;I)V
ARG 1 stat
METHOD a dropSelectedItem (Z)Laoy;
METHOD a unlockRecipes ([Lqc;)V
ARG 1 ids
METHOD aI isInsideWall ()Z
METHOD aK getHeightOffset ()D
METHOD aS getDefaultPortalCooldown ()I
@ -108,6 +112,8 @@ CLASS arb net/minecraft/entity/player/PlayerEntity
METHOD b setPlayerSpawn (Let;Z)V
ARG 1 pos
METHOD b writeCustomDataToTag (Lhs;)V
METHOD b lockRecipes (Ljava/util/Collection;)I
ARG 1 recipes
METHOD b incrementStat (Lxt;)V
METHOD bA shouldRenderName ()Z
METHOD bG getEyeHeight ()F

View File

@ -1,5 +1,6 @@
CLASS atz net/minecraft/inventory/CraftingResultInventory
FIELD a stack Lfh;
FIELD b lastRecipe Layw;
METHOD R_ getName ()Ljd;
METHOD U_ clearInv ()V
METHOD Z_ getInvSize ()I
@ -9,6 +10,9 @@ CLASS atz net/minecraft/inventory/CraftingResultInventory
METHOD a setInvStack (ILawo;)V
ARG 1 slot
METHOD a canPlayerUseInv (Larb;)Z
METHOD a setLastRecipe (Layw;)V
ARG 1 recipe
METHOD b removeInvStack (I)Lawo;
METHOD c isInvEmpty ()Z
METHOD g getLastRecipe ()Layw;
METHOD h markDirty ()V

View File

@ -0,0 +1,8 @@
CLASS qa net/minecraft/recipe/FurnaceInputSlotFiller
FIELD e slotMatchesRecipe Z
METHOD a returnInputs ()V
METHOD a fillInputSlot (ILit/unimi/dsi/fastutil/ints/IntList;)V
ARG 1 limit
ARG 2 inputs
METHOD a fillInputSlots (Layw;Z)V
ARG 2 craftAll

View File

@ -0,0 +1,26 @@
CLASS pz net/minecraft/recipe/InputSlotFiller
FIELD a LOGGER Lorg/apache/logging/log4j/Logger;
FIELD b recipeFinder Lard;
FIELD c inventory Lara;
FIELD d craftingContainer Latx;
METHOD a returnInputs ()V
METHOD a returnSlot (I)V
METHOD a fillInputSlot (Laud;Lawo;)V
METHOD a fillInputSlots (Layw;Z)V
ARG 2 craftAll
METHOD a acceptAlignedInput (Ljava/util/Iterator;IIII)V
ARG 1 inputs
ARG 2 slot
ARG 3 amount
ARG 4 gridX
ARG 5 gridY
METHOD a fillInputSlots (Lus;Layw;Z)V
ARG 1 entity
ARG 2 recipe
ARG 3 craftAll
METHOD a getAmountToFill (ZIZ)I
ARG 1 craftAll
ARG 2 limit
ARG 3 recipeInCraftingSlots
METHOD b canReturnInputs ()Z
METHOD c getFreeInventorySlots ()I

View File

@ -0,0 +1,10 @@
CLASS aty net/minecraft/recipe/RecipeUnlocker
METHOD a setLastRecipe (Layw;)V
ARG 1 recipe
METHOD a shouldCraftRecipe (Lbbp;Lus;Layw;)Z
ARG 1 world
ARG 2 player
ARG 3 recipe
METHOD b unlockLastRecipe (Larb;)V
ARG 1 player
METHOD g getLastRecipe ()Layw;

View File

@ -7,15 +7,20 @@ CLASS xq net/minecraft/recipe/book/RecipeBook
FIELD f furnaceFilteringCraftable Z
METHOD a isGuiOpen ()Z
METHOD a isFilteringCraftable (Latx;)Z
METHOD a add (Layw;)V
METHOD a add (Lqc;)V
METHOD a copyFrom (Lxq;)V
METHOD a setGuiOpen (Z)V
METHOD b isFilteringCraftable ()Z
METHOD b contains (Layw;)Z
METHOD b remove (Lqc;)V
METHOD b setFilteringCraftable (Z)V
METHOD c isFurnaceGuiOpen ()Z
METHOD c remove (Layw;)V
METHOD c display (Lqc;)V
METHOD c setFurnaceGuiOpen (Z)V
METHOD d isFurnaceFilteringCraftable ()Z
METHOD d shouldDisplay (Layw;)Z
METHOD d setFurnaceFilteringCraftable (Z)V
METHOD e onRecipeDisplayed (Layw;)V
METHOD f display (Layw;)V

View File

@ -1,4 +1,6 @@
CLASS si net/minecraft/server/command/RecipeCommand
FIELD a GIVE_FAILED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD b TAKE_FAILED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
METHOD a give (Lca;Ljava/util/Collection;Ljava/util/Collection;)I
METHOD a register (Lcom/mojang/brigadier/CommandDispatcher;)V
METHOD b take (Lca;Ljava/util/Collection;Ljava/util/Collection;)I

View File

@ -60,6 +60,8 @@ CLASS us net/minecraft/server/network/ServerPlayerEntity
ARG 2 target
METHOD a trySleep (Let;)Larb$a;
METHOD a readCustomDataFromTag (Lhs;)V
METHOD a unlockRecipes (Ljava/util/Collection;)I
ARG 1 recipes
METHOD a appendCommandFeedback (Ljd;)V
METHOD a sendChatMessage (Ljd;Ljb;)V
METHOD a addChatMessage (Ljd;Z)V
@ -68,8 +70,12 @@ CLASS us net/minecraft/server/network/ServerPlayerEntity
METHOD a resetStat (Lxt;)V
METHOD a incrementStat (Lxt;I)V
ARG 1 stat
METHOD a unlockRecipes ([Lqc;)V
ARG 1 ids
METHOD b isInvulnerableTo (Lage;)Z
METHOD b writeCustomDataToTag (Lhs;)V
METHOD b lockRecipes (Ljava/util/Collection;)I
ARG 1 recipes
METHOD c (Lagv;)V
METHOD d addExperience (I)V
METHOD d onStartedTracking (Lagv;)V

View File

@ -2,4 +2,8 @@ CLASS xr net/minecraft/server/network/ServerRecipeBook
FIELD k LOGGER Lorg/apache/logging/log4j/Logger;
FIELD l manager Layx;
METHOD a fromTag (Lhs;)V
METHOD a unlockRecipes (Ljava/util/Collection;Lus;)I
METHOD a sendUnlockRecipesPacket (Llt$a;Lus;Ljava/util/List;)V
METHOD a sendInitRecipesPacket (Lus;)V
METHOD b lockRecipes (Ljava/util/Collection;Lus;)I
METHOD i toTag ()Lhs;

View File

@ -1,11 +0,0 @@
CLASS pz
FIELD a LOGGER Lorg/apache/logging/log4j/Logger;
FIELD b recipeFinder Lard;
FIELD c inventory Lara;
FIELD d craftingContainer Latx;
METHOD a acceptAlignedInput (Ljava/util/Iterator;IIII)V
ARG 1 inputs
ARG 2 slot
ARG 3 amount
ARG 4 gridX
ARG 5 gridY