Class SimpleInventoryViewMock

java.lang.Object
org.bukkit.inventory.InventoryView
be.seeseemelk.mockbukkit.inventory.InventoryViewMock
be.seeseemelk.mockbukkit.inventory.SimpleInventoryViewMock

public class SimpleInventoryViewMock extends InventoryViewMock
A basic inventory view.
See Also:
  • Constructor Details

    • SimpleInventoryViewMock

      public SimpleInventoryViewMock(org.bukkit.entity.HumanEntity player, org.bukkit.inventory.Inventory top, org.bukkit.inventory.Inventory bottom, org.bukkit.event.inventory.InventoryType type)
      Constructs a new SimpleInventoryViewMock with the provided parameters, and "Inventory" as the name.
      Parameters:
      player - The player this view is for.
      top - The top inventory.
      bottom - The bottom inventory.
      type - The type of the inventory.
    • SimpleInventoryViewMock

      public SimpleInventoryViewMock()
      Creates a very simple mock IntventoryView with as player, top, and bottom null, and as type InventoryType.CHEST.