Package net.blueva.arcade.api.ui.menu
Class MenuEntry<M>
java.lang.Object
net.blueva.arcade.api.ui.menu.MenuEntry<M>
- Type Parameters:
M- the material type (platform-specific)- Record Components:
javaItem- the item definition for Java clients, or nullbedrockButton- the button definition for Bedrock clients, or null
Deprecated.
Dynamic menu entry with platform-specific render definitions.
MenuEntry allows defining a single logical menu item that can be rendered differently on Java and Bedrock clients.
-
Constructor Summary
ConstructorsConstructorDescriptionMenuEntry(JavaItemDefinition<M> javaItem, BedrockButtonDefinition bedrockButton) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic <M> MenuEntry<M> bedrock(BedrockButtonDefinition bedrockButton) Deprecated.Deprecated.booleanDeprecated.inthashCode()Deprecated.static <M> MenuEntry<M> java(JavaItemDefinition<M> javaItem) Deprecated.javaItem()Deprecated.static <M> MenuEntry<M> of(JavaItemDefinition<M> javaItem, BedrockButtonDefinition bedrockButton) Deprecated.toString()Deprecated.
MCMenuEntryinstead. This class is kept for backward compatibility with API 3.1 modules.