Klasse Recipes1_11_2

java.lang.Object
com.viaversion.viafabricplus.features.recipe.Recipes1_11_2

public final class Recipes1_11_2 extends Object
Recipe data dump for all versions below 1.12.
  • Konstruktordetails

    • Recipes1_11_2

      public Recipes1_11_2()
  • Methodendetails

    • init

      public static void init()
    • getRecipeManager

      public static RecipeManager1_11_2 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 handler
      screenHandler - The screen handler
      inventory - The inventory of the screen handler