Class LlamaInventoryMock

All Implemented Interfaces:
Iterable<org.bukkit.inventory.ItemStack>, org.bukkit.inventory.AbstractHorseInventory, org.bukkit.inventory.Inventory, org.bukkit.inventory.LlamaInventory, org.bukkit.inventory.SaddledHorseInventory

public class LlamaInventoryMock extends AbstractHorseInventoryMock implements org.bukkit.inventory.LlamaInventory
Mock implementation of a LlamaInventory.
See Also:
  • Constructor Details

    • LlamaInventoryMock

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

    • getDecor

      @Nullable public @Nullable org.bukkit.inventory.ItemStack getDecor()
      Specified by:
      getDecor in interface org.bukkit.inventory.LlamaInventory
    • setDecor

      public void setDecor(@Nullable @Nullable org.bukkit.inventory.ItemStack stack)
      Specified by:
      setDecor in interface org.bukkit.inventory.LlamaInventory