Class AssemblyHaloItem.RecipePlacer<I extends net.minecraft.world.item.crafting.CraftingInput,R extends net.minecraft.world.item.crafting.Recipe<I>>

java.lang.Object
net.minecraft.recipebook.ServerPlaceRecipe<I,R>
vazkii.botania.common.item.AssemblyHaloItem.RecipePlacer<I,R>
All Implemented Interfaces:
net.minecraft.recipebook.PlaceRecipe<Integer>
Enclosing class:
AssemblyHaloItem

public static class AssemblyHaloItem.RecipePlacer<I extends net.minecraft.world.item.crafting.CraftingInput,R extends net.minecraft.world.item.crafting.Recipe<I>> extends net.minecraft.recipebook.ServerPlaceRecipe<I,R>
  • Field Summary

    Fields inherited from class net.minecraft.recipebook.ServerPlaceRecipe

    inventory, menu, stackedContents
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecipePlacer(net.minecraft.world.inventory.RecipeBookMenu<I,R> container)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    place(net.minecraft.server.level.ServerPlayer player, @Nullable net.minecraft.world.item.crafting.RecipeHolder<R> recipe)
     

    Methods inherited from class net.minecraft.recipebook.ServerPlaceRecipe

    addItemToSlot, getStackSize, handleRecipeClicked, moveItemToGrid, recipeClicked

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.recipebook.PlaceRecipe

    placeRecipe
  • Constructor Details

    • RecipePlacer

      public RecipePlacer(net.minecraft.world.inventory.RecipeBookMenu<I,R> container)
  • Method Details

    • place

      public boolean place(net.minecraft.server.level.ServerPlayer player, @Nullable @Nullable net.minecraft.world.item.crafting.RecipeHolder<R> recipe)
    • clearGrid

      public void clearGrid()
      Overrides:
      clearGrid in class net.minecraft.recipebook.ServerPlaceRecipe<I extends net.minecraft.world.item.crafting.CraftingInput,R extends net.minecraft.world.item.crafting.Recipe<I>>