Class EnchantingInventoryMock

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

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

    • EnchantingInventoryMock

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

    • setItem

      public void setItem(@Nullable @Nullable org.bukkit.inventory.ItemStack item)
      Specified by:
      setItem in interface org.bukkit.inventory.EnchantingInventory
    • getItem

      @Nullable public @Nullable org.bukkit.inventory.ItemStack getItem()
      Specified by:
      getItem in interface org.bukkit.inventory.EnchantingInventory
    • setSecondary

      public void setSecondary(@Nullable @Nullable org.bukkit.inventory.ItemStack item)
      Specified by:
      setSecondary in interface org.bukkit.inventory.EnchantingInventory
    • getSecondary

      @Nullable public @Nullable org.bukkit.inventory.ItemStack getSecondary()
      Specified by:
      getSecondary in interface org.bukkit.inventory.EnchantingInventory