Class RecipeWrapper

java.lang.Object
net.neoforged.neoforge.items.wrapper.RecipeWrapper
All Implemented Interfaces:
RecipeInput

public class RecipeWrapper extends Object implements RecipeInput
  • Field Details

  • Constructor Details

  • Method Details

    • size

      public int size()
      Returns the size of this inventory.
      Specified by:
      size in interface RecipeInput
    • getItem

      public ItemStack getItem(int slot)
      Returns the stack in this slot. This stack should be a modifiable reference, not a copy of a stack in your inventory.
      Specified by:
      getItem in interface RecipeInput