Package net.blueva.arcade.api.ui.menu
Class MenuDefinition<M>
java.lang.Object
net.blueva.arcade.api.ui.menu.MenuDefinition<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
Deprecated.
Static menu definition for both Java and Bedrock editions.
This record contains platform-specific menu configurations, allowing games to define menus that work on both Java and Bedrock clients simultaneously.
-
Constructor Summary
ConstructorsConstructorDescriptionMenuDefinition(String javaTitle, int javaSize, List<JavaMenuItem<M>> javaItems, BedrockMenuDefinition bedrockMenu) Deprecated. -
Method Summary
-
Constructor Details
-
Method Details
MCMenuDefinitioninstead. This class is kept for backward compatibility with API 3.1 modules.