Class MCMenuDefinition<M>
java.lang.Object
net.blueva.arcade.api.ui.menu.minecraft.MCMenuDefinition<M>
- Type Parameters:
M- the material type (platform-specific)- Record Components:
javaTitle- the title of the inventory menu for Java clientsjavaSize- the size of the inventory (must be multiple of 9, max 54)javaItems- the list of items to display in the Java inventorybedrockMenu- the menu definition for Bedrock clients
Static menu definition for Minecraft (both Java and Bedrock editions).
Contains platform-specific menu configurations so that games can define menus that render natively on both Java and Bedrock clients.
- Since:
- 3.2
-
Constructor Summary
ConstructorsConstructorDescriptionMCMenuDefinition(String javaTitle, int javaSize, List<MCJavaMenuItem<M>> javaItems, MCBedrockMenuDefinition bedrockMenu) -
Method Summary