Class PlayerInventoryViewMock

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

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

    • PlayerInventoryViewMock

      public PlayerInventoryViewMock(@NotNull @NotNull org.bukkit.entity.HumanEntity player, @NotNull @NotNull org.bukkit.inventory.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.