Klasse Recipes1_11_2
java.lang.Object
com.viaversion.viafabricplus.features.recipe.Recipes1_11_2
Recipe data dump for all versions below 1.12.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic RecipeManager1_11_2static voidinit()static voidreset()static voidsetCraftingResultSlot(int syncId, net.minecraft.world.inventory.AbstractContainerMenu screenHandler, net.minecraft.world.inventory.CraftingContainer inventory) Sets the result slot of a crafting screen handler to the correct item stack.
-
Konstruktordetails
-
Recipes1_11_2
public Recipes1_11_2()
-
-
Methodendetails
-
init
public static void init() -
getRecipeManager
-
reset
public static void reset() -
setCraftingResultSlot
public static void setCraftingResultSlot(int syncId, net.minecraft.world.inventory.AbstractContainerMenu screenHandler, net.minecraft.world.inventory.CraftingContainer inventory) Sets the result slot of a crafting screen handler to the correct item stack. In Minecraft versions up to 1.11.2 the result slot is not updated when the input slots change, so we need to update it manually, Spigot and Paper re-syncs the slot, so we don't notice this bug on servers that use Spigot or Paper- Parameter:
syncId- The sync id of the screen handlerscreenHandler- The screen handlerinventory- The inventory of the screen handler
-