diff --git a/mappings/net/minecraft/block/entity/AbstractFurnaceBlockEntity.mapping b/mappings/net/minecraft/block/entity/AbstractFurnaceBlockEntity.mapping index affb3ef4bd..e439766f83 100644 --- a/mappings/net/minecraft/block/entity/AbstractFurnaceBlockEntity.mapping +++ b/mappings/net/minecraft/block/entity/AbstractFurnaceBlockEntity.mapping @@ -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; diff --git a/mappings/net/minecraft/container/Container.mapping b/mappings/net/minecraft/container/Container.mapping index e925db2432..ac6d37f7e5 100644 --- a/mappings/net/minecraft/container/Container.mapping +++ b/mappings/net/minecraft/container/Container.mapping @@ -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 diff --git a/mappings/net/minecraft/container/CraftingResultSlot.mapping b/mappings/net/minecraft/container/CraftingResultSlot.mapping index 40d39a9f02..71bb3cc584 100644 --- a/mappings/net/minecraft/container/CraftingResultSlot.mapping +++ b/mappings/net/minecraft/container/CraftingResultSlot.mapping @@ -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 diff --git a/mappings/net/minecraft/container/FurnaceOutputSlot.mapping b/mappings/net/minecraft/container/FurnaceOutputSlot.mapping index e8dacdfe99..3621c4d769 100644 --- a/mappings/net/minecraft/container/FurnaceOutputSlot.mapping +++ b/mappings/net/minecraft/container/FurnaceOutputSlot.mapping @@ -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 diff --git a/mappings/net/minecraft/container/Slot.mapping b/mappings/net/minecraft/container/Slot.mapping index f886e6df52..a2a1d521af 100644 --- a/mappings/net/minecraft/container/Slot.mapping +++ b/mappings/net/minecraft/container/Slot.mapping @@ -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 diff --git a/mappings/net/minecraft/container/VillagerOutputSlot.mapping b/mappings/net/minecraft/container/VillagerOutputSlot.mapping index f7dad2ffcf..583e065e74 100644 --- a/mappings/net/minecraft/container/VillagerOutputSlot.mapping +++ b/mappings/net/minecraft/container/VillagerOutputSlot.mapping @@ -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 diff --git a/mappings/net/minecraft/entity/player/PlayerEntity.mapping b/mappings/net/minecraft/entity/player/PlayerEntity.mapping index eea347b53d..f6f6ff1d11 100644 --- a/mappings/net/minecraft/entity/player/PlayerEntity.mapping +++ b/mappings/net/minecraft/entity/player/PlayerEntity.mapping @@ -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 diff --git a/mappings/net/minecraft/inventory/CraftingResultInventory.mapping b/mappings/net/minecraft/inventory/CraftingResultInventory.mapping index 9e043ed3f3..be3539c5e6 100644 --- a/mappings/net/minecraft/inventory/CraftingResultInventory.mapping +++ b/mappings/net/minecraft/inventory/CraftingResultInventory.mapping @@ -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 diff --git a/mappings/net/minecraft/recipe/FurnaceInputSlotFiller.mapping b/mappings/net/minecraft/recipe/FurnaceInputSlotFiller.mapping new file mode 100644 index 0000000000..d862c78a78 --- /dev/null +++ b/mappings/net/minecraft/recipe/FurnaceInputSlotFiller.mapping @@ -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 diff --git a/mappings/net/minecraft/recipe/InputSlotFiller.mapping b/mappings/net/minecraft/recipe/InputSlotFiller.mapping new file mode 100644 index 0000000000..e4f498fda1 --- /dev/null +++ b/mappings/net/minecraft/recipe/InputSlotFiller.mapping @@ -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 diff --git a/mappings/net/minecraft/recipe/RecipeUnlocker.mapping b/mappings/net/minecraft/recipe/RecipeUnlocker.mapping new file mode 100644 index 0000000000..590419eff7 --- /dev/null +++ b/mappings/net/minecraft/recipe/RecipeUnlocker.mapping @@ -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; diff --git a/mappings/net/minecraft/recipe/book/RecipeBook.mapping b/mappings/net/minecraft/recipe/book/RecipeBook.mapping index ca6dcc094d..1f5178cdf0 100644 --- a/mappings/net/minecraft/recipe/book/RecipeBook.mapping +++ b/mappings/net/minecraft/recipe/book/RecipeBook.mapping @@ -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 diff --git a/mappings/net/minecraft/server/command/RecipeCommand.mapping b/mappings/net/minecraft/server/command/RecipeCommand.mapping index c76b528ce6..5a1f432c34 100644 --- a/mappings/net/minecraft/server/command/RecipeCommand.mapping +++ b/mappings/net/minecraft/server/command/RecipeCommand.mapping @@ -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 diff --git a/mappings/net/minecraft/server/network/ServerPlayerEntity.mapping b/mappings/net/minecraft/server/network/ServerPlayerEntity.mapping index cd2aeec405..f5f69c9f52 100644 --- a/mappings/net/minecraft/server/network/ServerPlayerEntity.mapping +++ b/mappings/net/minecraft/server/network/ServerPlayerEntity.mapping @@ -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 diff --git a/mappings/net/minecraft/server/network/ServerRecipeBook.mapping b/mappings/net/minecraft/server/network/ServerRecipeBook.mapping index 2f3db788da..00a21ff455 100644 --- a/mappings/net/minecraft/server/network/ServerRecipeBook.mapping +++ b/mappings/net/minecraft/server/network/ServerRecipeBook.mapping @@ -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; diff --git a/mappings/pz.mapping b/mappings/pz.mapping deleted file mode 100644 index 45456459e4..0000000000 --- a/mappings/pz.mapping +++ /dev/null @@ -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