Class PlayerInventoryViewMock

java.lang.Object
be.seeseemelk.mockbukkit.inventory.InventoryViewMock
be.seeseemelk.mockbukkit.inventory.PlayerInventoryViewMock
All Implemented Interfaces:
InventoryView

public class PlayerInventoryViewMock extends InventoryViewMock
Mock implementation of an InventoryView for players.
See Also:
  • Constructor Details

    • PlayerInventoryViewMock

      public PlayerInventoryViewMock(@NotNull @NotNull HumanEntity player, @NotNull @NotNull Inventory top)
      Constructs a new PlayerInventoryViewMock for the provided player, with the specified top inventory.
      Parameters:
      player - The player to create the view for.
      top - The top inventory.