Class ServerPlaceRecipe<I extends RecipeInput,R extends Recipe<I>>

java.lang.Object
net.minecraft.recipebook.ServerPlaceRecipe<I,R>
All Implemented Interfaces:
PlaceRecipe<Integer>

public class ServerPlaceRecipe<I extends RecipeInput,R extends Recipe<I>> extends Object implements PlaceRecipe<Integer>
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • recipeClicked Link icon

      public void recipeClicked(ServerPlayer p_135435_, @Nullable RecipeHolder<R> p_298963_, boolean p_135437_)
    • clearGrid Link icon

      protected void clearGrid()
    • handleRecipeClicked Link icon

      protected void handleRecipeClicked(RecipeHolder<R> p_298652_, boolean p_135442_)
    • addItemToSlot Link icon

      public void addItemToSlot(Integer p_344543_, int p_135445_, int p_135446_, int p_135447_, int p_135448_)
      Specified by:
      addItemToSlot in interface PlaceRecipe<I extends RecipeInput>
    • getStackSize Link icon

      protected int getStackSize(boolean p_135450_, int p_135451_, boolean p_135452_)
    • moveItemToGrid Link icon

      protected int moveItemToGrid(Slot p_135439_, ItemStack p_135440_, int p_342870_)
    • testClearGrid Link icon

      private boolean testClearGrid()
    • getAmountOfFreeSlotsInInventory Link icon

      private int getAmountOfFreeSlotsInInventory()