Interface RecipeInputInventory

All Superinterfaces:
Clearable, Inventory, RecipeInputProvider
All Known Implementing Classes:
CrafterBlockEntity, 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
named net/minecraft/inventory/RecipeInputInventory
intermediary net/minecraft/class_8566
official cql
  • Method Details

    • getWidth

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

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

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

      default CraftingRecipeInput createRecipeInput()
      Mappings:
      Namespace Name Mixin selector
      named createRecipeInput Lnet/minecraft/inventory/RecipeInputInventory;createRecipeInput()Lnet/minecraft/recipe/input/CraftingRecipeInput;
      intermediary method_59961 Lnet/minecraft/class_8566;method_59961()Lnet/minecraft/class_9694;
      official aE_ Lcql;aE_()Lcyp;
    • createPositionedRecipeInput

      default CraftingRecipeInput.Positioned createPositionedRecipeInput()
      Mappings:
      Namespace Name Mixin selector
      named createPositionedRecipeInput Lnet/minecraft/inventory/RecipeInputInventory;createPositionedRecipeInput()Lnet/minecraft/recipe/input/CraftingRecipeInput$Positioned;
      intermediary method_60501 Lnet/minecraft/class_8566;method_60501()Lnet/minecraft/class_9694$class_9765;
      official aF_ Lcql;aF_()Lcyp$a;