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 clients
javaSize - the size of the inventory (must be multiple of 9, max 54)
javaItems - the list of items to display in the Java inventory
bedrockMenu - the menu definition for Bedrock clients

@Deprecated public final class MenuDefinition<M> extends Object
Deprecated.
Since 3.2. Use MCMenuDefinition instead. This class is kept for backward compatibility with API 3.1 modules.
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.