Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.phoenixcrates.api internal
com.phoenixplugins.phoenixcrates.api.internal

Class Item

  • java.lang.Object
    • com.phoenixplugins.phoenixcrates.api.internal.Item


  • public abstract class Item
    extends Object
    Represents a generic item used as a base for various implementations.

    This interface is intended to provide a standard structure for plugin integration, allowing different types of items (including those from external plugins) to be handled in a consistent way.

    • Constructor Summary

      Constructor and Description
      Item() 
    • Method Summary

      Modifier and Type Method and Description
      abstract @NotNull org.bukkit.inventory.ItemStack build()
      Retrieves the underlying ItemStack associated with this item.
      abstract Item clone()
      Clones the object
      abstract int getAmount() 
      abstract @Nullable String getDisplayName() 
      abstract @NotNull List<String> getLore() 
      abstract String getNamespace() 
      abstract org.bukkit.Material getType() 
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Item

        public Item()
    • Method Detail

      • getNamespace

        public abstract String getNamespace()
      • build

        @NotNull
        public abstract @NotNull org.bukkit.inventory.ItemStack build()
        Retrieves the underlying ItemStack associated with this item.
        Returns:
        a non-null ItemStack representing this item
      • getDisplayName

        @Nullable
        public abstract @Nullable String getDisplayName()
      • getLore

        @NotNull
        public abstract @NotNull List<String> getLore()
      • getType

        public abstract org.bukkit.Material getType()
      • getAmount

        public abstract int getAmount()
      • clone

        public abstract Item clone()
        Clones the object
        Overrides:
        clone in class Object
        Returns:
        a cloned object
Last updated about 3 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more