Package com.minigameworld.frames.helpers
Enum Class MiniGameCustomOption.Option
java.lang.Object
java.lang.Enum<MiniGameCustomOption.Option>
com.minigameworld.frames.helpers.MiniGameCustomOption.Option
- All Implemented Interfaces:
Serializable
,Comparable<MiniGameCustomOption.Option>
,Constable
- Enclosing class:
- MiniGameCustomOption
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInit: false
Description: Can break block if trueInit: false
Description: Can place block if trueInit: true
Description: Chatting in minigame with playersInit: ChatColor.RESET
Description: MiniGame personal colorInit: Spectator
Description: GameMode when a player die (used inMiniGamePlayer.setLive(boolean)
)Init: true
Description: Whether a player's food level changesInit: true
Description: Not drops items when die if trueInit: Survival
Description: GameMode when a player join minigame (used inMiniGamePlayer.setLive(boolean)
,MiniGamePlayerState.makePureState()
)Init: true
Description: Will Respawn in location of minigame if trueInit: true
Description: Whether a player damaged by somethingInit: true
Description: Players and Mobs can damage each other if true (contains damage by projectile)Init: false
Description: Players can damage each other if true (contains damage by projectile)Init: true
Description: Notify changed score -
Method Summary
Modifier and TypeMethodDescriptionstatic MiniGameCustomOption.Option
Returns the enum constant of this class with the specified name.static MiniGameCustomOption.Option[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHAT
Init: true
Description: Chatting in minigame with players -
SCORE_NOTIFYING
Init: true
Description: Notify changed score -
BLOCK_BREAK
Init: false
Description: Can break block if true -
BLOCK_PLACE
Init: false
Description: Can place block if true -
PVP
Init: false
Description: Players can damage each other if true (contains damage by projectile) -
PVE
Init: true
Description: Players and Mobs can damage each other if true (contains damage by projectile) -
INVENTORY_SAVE
Init: true
Description: Not drops items when die if true -
MINIGAME_RESPAWN
Init: true
Description: Will Respawn in location of minigame if true -
LIVE_GAMEMODE
Init: Survival
Description: GameMode when a player join minigame (used inMiniGamePlayer.setLive(boolean)
,MiniGamePlayerState.makePureState()
) -
DEAD_GAMEMODE
Init: Spectator
Description: GameMode when a player die (used inMiniGamePlayer.setLive(boolean)
) -
COLOR
Init: ChatColor.RESET
Description: MiniGame personal color -
FOOD_LEVEL_CHANGE
Init: true
Description: Whether a player's food level changes -
PLAYER_HURT
Init: true
Description: Whether a player damaged by something
-
-
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
-
getKeyString
-