Interface RecipeInputInventory

All Superinterfaces:
Clearable, Inventory, RecipeInputProvider
All Known Implementing Classes:
CraftingInventory

public interface RecipeInputInventory extends Inventory, RecipeInputProvider
Represents an inventory that is an input for a recipe, such as crafting table inputs.
Mappings:
Namespace Name
official cez
intermediary net/minecraft/class_8566
named net/minecraft/inventory/RecipeInputInventory
  • Method Details

    • getWidth

      int getWidth()
      Returns the width of the recipe grid.
      Returns:
      the width of the recipe grid
      Mappings:
      Namespace Name Mixin selector
      official f Lcez;f()I
      intermediary method_17398 Lnet/minecraft/class_8566;method_17398()I
      named getWidth Lnet/minecraft/inventory/RecipeInputInventory;getWidth()I
    • getHeight

      int getHeight()
      Returns the height of the recipe grid.
      Returns:
      the height of the recipe grid
      Mappings:
      Namespace Name Mixin selector
      official g Lcez;g()I
      intermediary method_17397 Lnet/minecraft/class_8566;method_17397()I
      named getHeight Lnet/minecraft/inventory/RecipeInputInventory;getHeight()I
    • getInputStacks

      List<ItemStack> getInputStacks()
      Returns the stacks held by the inventory.
      Returns:
      the stacks held by the inventory
      Mappings:
      Namespace Name Mixin selector
      official h Lcez;h()Ljava/util/List;
      intermediary method_51305 Lnet/minecraft/class_8566;method_51305()Ljava/util/List;
      named getInputStacks Lnet/minecraft/inventory/RecipeInputInventory;getInputStacks()Ljava/util/List;