Class PlayerInventoryViewMock


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.