Class CustomPlayerInventory
java.lang.Object
de.oliver.fancylib.gui.customInventories.CustomPlayerInventory
- All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder
public abstract class CustomPlayerInventory
extends Object
implements org.bukkit.inventory.InventoryHolder
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCustomPlayerInventory(org.bukkit.entity.Player player, int amountRows, net.kyori.adventure.text.Component title) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.inventory.Inventorystatic org.bukkit.inventory.ItemStackorg.bukkit.entity.Playervoidopen()
-
Field Details
-
player
protected final org.bukkit.entity.Player player -
inventory
protected org.bukkit.inventory.Inventory inventory
-
-
Constructor Details
-
CustomPlayerInventory
protected CustomPlayerInventory(org.bukkit.entity.Player player, int amountRows, net.kyori.adventure.text.Component title)
-
-
Method Details
-
getPlaceholder
public static org.bukkit.inventory.ItemStack getPlaceholder() -
getPlayer
public org.bukkit.entity.Player getPlayer() -
getInventory
@NotNull public @NotNull org.bukkit.inventory.Inventory getInventory()- Specified by:
getInventoryin interfaceorg.bukkit.inventory.InventoryHolder
-
open
public void open()
-