Class RecipeItemHelper

java.lang.Object
net.minecraft.item.crafting.RecipeItemHelper

public class RecipeItemHelper extends Object
  • Field Details

    • contents

      public final it.unimi.dsi.fastutil.ints.Int2IntMap contents
  • Constructor Details

    • RecipeItemHelper

      public RecipeItemHelper()
  • Method Details

    • accountSimpleStack

      public void accountSimpleStack(ItemStack p_195932_1_)
    • accountStack

      public void accountStack(ItemStack p_194112_1_)
    • accountStack

      public void accountStack(ItemStack p_221264_1_, int p_221264_2_)
    • getStackingIndex

      public static int getStackingIndex(ItemStack p_194113_0_)
    • has

      private boolean has(int p_194120_1_)
    • take

      private int take(int p_194122_1_, int p_194122_2_)
    • put

      private void put(int p_194117_1_, int p_194117_2_)
    • canCraft

      public boolean canCraft(IRecipe<?> p_194116_1_, @Nullable it.unimi.dsi.fastutil.ints.IntList p_194116_2_)
    • canCraft

      public boolean canCraft(IRecipe<?> p_194118_1_, @Nullable it.unimi.dsi.fastutil.ints.IntList p_194118_2_, int p_194118_3_)
    • getBiggestCraftableStack

      public int getBiggestCraftableStack(IRecipe<?> p_194114_1_, @Nullable it.unimi.dsi.fastutil.ints.IntList p_194114_2_)
    • getBiggestCraftableStack

      public int getBiggestCraftableStack(IRecipe<?> p_194121_1_, int p_194121_2_, @Nullable it.unimi.dsi.fastutil.ints.IntList p_194121_3_)
    • fromStackingIndex

      public static ItemStack fromStackingIndex(int p_194115_0_)
    • clear

      public void clear()