Class SimpleInventoryViewMock


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

    • SimpleInventoryViewMock

      public SimpleInventoryViewMock(HumanEntity player, Inventory top, Inventory bottom, 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.