Class MCJavaMenuItem<M>
java.lang.Object
net.blueva.arcade.api.ui.menu.minecraft.MCJavaMenuItem<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
Menu item bound to a specific inventory slot for Minecraft Java Edition.
- Since:
- 3.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()item()static <M> MCJavaMenuItem<M> of(int slot, MCJavaItemDefinition<M> item) intslot()toString()