类 RecipeWrapper

java.lang.Object
net.neoforged.neoforge.items.wrapper.RecipeWrapper
所有已实现的接口:
RecipeInput

public class RecipeWrapper extends Object implements RecipeInput
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • size

      public int size()
      Returns the size of this inventory.
      指定者:
      size 在接口中 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.
      指定者:
      getItem 在接口中 RecipeInput