Package net.risingworld.api.ui
Enum Class UITarget
- All Implemented Interfaces:
Serializable
,Comparable<UITarget>
,Constable
When adding a root UI element to the player UI, this flag determines
where the element will be attached to.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAttach element to announcement layer (so it's only visible while a "yell" message is shown)Attach element to the blueprints menuAttach element to the crafting menuAttach element to the game over screenAttach element to the F3 debug screenAttach element to the fps counter layerAttach element to the HUD (default)Attach element to the lower left bar container (health bar, stamina, breath etc)Attach element to the crosshair on the HUDAttach element to the status bar on HUD (hunger/thirst icons etc)Attach element to the ingame menu (ESC)Attach element to the inventory screenAttach element to the loading screen (when player connects to the server)Attach element to radial menu layer (so it's only visible while a radial menu is open)Attach element to the playerlist/scoreboardAttach element to the storage/chest screen -
Method Summary
-
Enum Constant Details
-
HUD
Attach element to the HUD (default) -
HUDIndicators
Attach element to the status bar on HUD (hunger/thirst icons etc) -
HUDBars
Attach element to the lower left bar container (health bar, stamina, breath etc) -
HUDCrosshair
Attach element to the crosshair on the HUD -
Inventory
Attach element to the inventory screen -
Storages
Attach element to the storage/chest screen -
Crafting
Attach element to the crafting menu -
Blueprints
Attach element to the blueprints menu -
IngameMenu
Attach element to the ingame menu (ESC) -
Scoreboard
Attach element to the playerlist/scoreboard -
FpsCounter
Attach element to the fps counter layer -
DebugScreen
Attach element to the F3 debug screen -
DeathScreen
Attach element to the game over screen -
LoadingScreen
Attach element to the loading screen (when player connects to the server) -
RadialMenus
Attach element to radial menu layer (so it's only visible while a radial menu is open) -
Announcements
Attach element to announcement layer (so it's only visible while a "yell" message is shown)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-