Class MCJavaItemDefinition<M>
java.lang.Object
net.blueva.arcade.api.ui.menu.minecraft.MCJavaItemDefinition<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
Item definition for Minecraft 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.
- Since:
- 3.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions()intamount()booleaninthashCode()lore()material()name()static <M> MCJavaItemDefinition<M> static <M> MCJavaItemDefinition<M> static <M> MCJavaItemDefinition<M> toString()