Package net.blueva.arcade.api.ui.menu
Class JavaItemDefinition<M>
java.lang.Object
net.blueva.arcade.api.ui.menu.JavaItemDefinition<M>
- Type Parameters:
M- the material type (platform-specific)- Record Components:
material- the material/item type to displayamount- the stack size (1-64)name- the colored display namelore- the list of lore linesskullValue- the base64 skull texture value (for player heads), or nullactions- the list of action commands to execute when clicked
Deprecated.
Item definition for Java edition inventory menus.
Defines the appearance and behavior of an item in a Java inventory menu, including material, display name, lore, and click actions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions()Deprecated.intamount()Deprecated.booleanDeprecated.inthashCode()Deprecated.lore()Deprecated.material()Deprecated.name()Deprecated.static <M> JavaItemDefinition<M> Deprecated.static <M> JavaItemDefinition<M> Deprecated.static <M> JavaItemDefinition<M> Deprecated.Deprecated.toString()Deprecated.
-
Constructor Details
-
Method Details
-
material
Deprecated. -
amount
public int amount()Deprecated. -
name
Deprecated. -
lore
Deprecated. -
skullValue
Deprecated. -
actions
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
of
public static <M> JavaItemDefinition<M> of(M material, String name, List<String> lore, List<String> actions) Deprecated. -
of
public static <M> JavaItemDefinition<M> of(M material, int amount, String name, List<String> lore, List<String> actions) Deprecated. -
skull
public static <M> JavaItemDefinition<M> skull(M skullMaterial, String skullValue, String name, List<String> lore, List<String> actions) Deprecated.
-
MCJavaItemDefinitioninstead. This class is kept for backward compatibility with API 3.1 modules.