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
    Modifier and Type
    Field
    Description
    protected org.bukkit.inventory.Inventory
     
    protected final org.bukkit.entity.Player
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CustomPlayerInventory(org.bukkit.entity.Player player, int amountRows, net.kyori.adventure.text.Component title)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull org.bukkit.inventory.Inventory
     
    static org.bukkit.inventory.ItemStack
     
    org.bukkit.entity.Player
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getInventory in interface org.bukkit.inventory.InventoryHolder
    • open

      public void open()