Package net.blueva.arcade.api.ui.menu
Class DynamicMenuDefinition<M>
java.lang.Object
net.blueva.arcade.api.ui.menu.DynamicMenuDefinition<M>
- Type Parameters:
M- the material type (platform-specific)- Record Components:
javaTitle- the inventory title for Java clientsjavaSize- the inventory size for Java clients (multiple of 9, max 54)javaSlots- the list of slots available for dynamic content in Java editionstaticItems- the list of static items that remain fixed across all pagesbedrockMenu- the menu definition for Bedrock clients
Deprecated.
Dynamic menu definition with page-based entry rendering.
Dynamic menus support pagination, displaying dynamic content in specific slots while maintaining static items (like navigation buttons) in fixed positions.
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicMenuDefinition(String javaTitle, int javaSize, List<Integer> javaSlots, List<JavaMenuItem<M>> staticItems, BedrockSimpleMenuDefinition bedrockMenu) Deprecated. -
Method Summary
-
Constructor Details
-
Method Details
-
javaTitle
Deprecated. -
javaSize
public int javaSize()Deprecated. -
javaSlots
Deprecated. -
staticItems
Deprecated. -
bedrockMenu
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-
MCDynamicMenuDefinitioninstead. This class is kept for backward compatibility with API 3.1 modules.