Class ServerRecipePlacer<C extends IInventory>

java.lang.Object
net.minecraft.item.crafting.ServerRecipePlacer<C>
All Implemented Interfaces:
IRecipePlacer<Integer>
Direct Known Subclasses:
ServerRecipePlacerFurnace

public class ServerRecipePlacer<C extends IInventory> extends Object implements IRecipePlacer<Integer>
  • Field Details

  • Constructor Details

  • Method Details

    • recipeClicked

      public void recipeClicked(ServerPlayerEntity p_194327_1_, @Nullable IRecipe<C> p_194327_2_, boolean p_194327_3_)
    • clearGrid

      protected void clearGrid()
    • moveItemToInventory

      protected void moveItemToInventory(int p_201510_1_)
    • handleRecipeClicked

      protected void handleRecipeClicked(IRecipe<C> p_201508_1_, boolean p_201508_2_)
    • addItemToSlot

      public void addItemToSlot(Iterator<Integer> p_201500_1_, int p_201500_2_, int p_201500_3_, int p_201500_4_, int p_201500_5_)
      Specified by:
      addItemToSlot in interface IRecipePlacer<C extends IInventory>
    • getStackSize

      protected int getStackSize(boolean p_201509_1_, int p_201509_2_, boolean p_201509_3_)
    • moveItemToGrid

      protected void moveItemToGrid(Slot p_194325_1_, ItemStack p_194325_2_)
    • testClearGrid

      private boolean testClearGrid()
    • getAmountOfFreeSlotsInInventory

      private int getAmountOfFreeSlotsInInventory()