Package net.blueva.arcade.api.ui
Class LobbyItemDefinition<M>
java.lang.Object
net.blueva.arcade.api.ui.LobbyItemDefinition<M>
- Type Parameters:
M- the material/item type (platform-specific)- Record Components:
id- the unique identifier for this lobby itemmaterial- the material/item type to displayslot- the inventory slot (0-8) where this item should be placeddisplayName- the colored display name shown to playerslore- the list of lore lines shown in the item tooltipactions- the list of action commands to execute when clickedenabled- whether this lobby item is active and should be given to players
Defines a lobby item that can be placed in the player's inventory during waiting phase.
Lobby items are interactive inventory items given to players while they wait for a game to start. They can trigger various actions like opening menus, leaving the game, or selecting teams. Items are configured per-game and can be enabled/disabled.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LobbyItemDefinition
-
-
Method Details