Class InventoryViewMock

java.lang.Object
org.bukkit.inventory.InventoryView
be.seeseemelk.mockbukkit.inventory.InventoryViewMock
Direct Known Subclasses:
PlayerInventoryViewMock, SimpleInventoryViewMock

public abstract class InventoryViewMock extends InventoryView
Mock implementation of an InventoryView.
  • Constructor Details

    • InventoryViewMock

      protected InventoryViewMock(HumanEntity player, String name, Inventory top, Inventory bottom, InventoryType type)
      Constructs a new InventoryViewMock with the provided parameters.
      Parameters:
      player - The player this view is for.
      name - The name of the view (title).
      top - The top inventory.
      bottom - The bottom inventory.
      type - The type of the inventory.
  • Method Details