Class PlayerInventoryViewMock
java.lang.Object
be.seeseemelk.mockbukkit.inventory.InventoryViewMock
be.seeseemelk.mockbukkit.inventory.PlayerInventoryViewMock
- All Implemented Interfaces:
InventoryView
Mock implementation of an
InventoryView for players.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.inventory.InventoryView
InventoryView.Property -
Field Summary
Fields inherited from interface org.bukkit.inventory.InventoryView
OUTSIDE -
Constructor Summary
ConstructorsConstructorDescriptionPlayerInventoryViewMock(@NotNull HumanEntity player, @NotNull Inventory top) Constructs a newPlayerInventoryViewMockfor the provided player, with the specified top inventory. -
Method Summary
Methods inherited from class be.seeseemelk.mockbukkit.inventory.InventoryViewMock
close, convertSlot, countSlots, getBottomInventory, getCursor, getInventory, getItem, getOriginalTitle, getPlayer, getSlotType, getTitle, getTopInventory, getType, setBottomInventory, setCursor, setItem, setPlayer, setProperty, setTitle, setTopInventory, setTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.inventory.InventoryView
title
-
Constructor Details
-
PlayerInventoryViewMock
public PlayerInventoryViewMock(@NotNull @NotNull HumanEntity player, @NotNull @NotNull Inventory top) Constructs a newPlayerInventoryViewMockfor the provided player, with the specified top inventory.- Parameters:
player- The player to create the view for.top- The top inventory.
-