Class ShulkerBoxInventoryMock

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

public class ShulkerBoxInventoryMock extends InventoryMock
Mock implementation of a Shulker Box InventoryType.
See Also:
  • Constructor Details

    • ShulkerBoxInventoryMock

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

    • getSnapshot

      @NotNull public @NotNull org.bukkit.inventory.Inventory getSnapshot()
      Description copied from class: InventoryMock
      Creates a snapshot of the inventory.
      Overrides:
      getSnapshot in class InventoryMock
      Returns:
      An inventory snapshot.