Class SmithingInventoryMock

java.lang.Object
be.seeseemelk.mockbukkit.inventory.InventoryMock
be.seeseemelk.mockbukkit.inventory.SmithingInventoryMock
All Implemented Interfaces:
Iterable<org.bukkit.inventory.ItemStack>, org.bukkit.inventory.Inventory, org.bukkit.inventory.SmithingInventory

public class SmithingInventoryMock extends InventoryMock implements org.bukkit.inventory.SmithingInventory
Mock implementation of an SmithingInventory.
See Also:
  • Constructor Details

    • SmithingInventoryMock

      public SmithingInventoryMock(@Nullable @Nullable org.bukkit.inventory.InventoryHolder holder)
      Constructs a new SmithingInventoryMock for the given holder.
      Parameters:
      holder - The holder of the inventory.
  • Method Details

    • getResult

      @Nullable public @Nullable org.bukkit.inventory.ItemStack getResult()
      Specified by:
      getResult in interface org.bukkit.inventory.SmithingInventory
    • setResult

      public void setResult(@Nullable @Nullable org.bukkit.inventory.ItemStack result)
      Specified by:
      setResult in interface org.bukkit.inventory.SmithingInventory
    • getRecipe

      @Nullable public @Nullable org.bukkit.inventory.Recipe getRecipe()
      Specified by:
      getRecipe in interface org.bukkit.inventory.SmithingInventory