Package net.blueva.arcade.api.ui.menu
Class JavaMenuItem<M>
java.lang.Object
net.blueva.arcade.api.ui.menu.JavaMenuItem<M>
- Type Parameters:
M- the material type (platform-specific)- Record Components:
slot- the inventory slot (0-53)item- the item definition to display at this slot
Deprecated.
Menu item bound to a specific inventory slot for Java edition.
Represents an item placed at a specific slot in a Java inventory menu.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.inthashCode()Deprecated.item()Deprecated.static <M> JavaMenuItem<M> of(int slot, JavaItemDefinition<M> item) Deprecated.Creates a new menu item at the specified slot.intslot()Deprecated.toString()Deprecated.
MCJavaMenuIteminstead. This class is kept for backward compatibility with API 3.1 modules.