Enum BlockType
- All Implemented Interfaces:
- Serializable,- Comparable<BlockType>,- java.lang.constant.Constable
SpecialBlocks may very from what they represent
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionA block with a custom handler.A sign which makes the player join the arena once he interacts with it.A sign which displays informations of a place in a leaderboard.A skull of a player on a specific rank.
- 
Method SummaryModifier and TypeMethodDescriptionstatic @Nullable BlockTypeReturns the BlockType that has the given idgetId()Returns the id of this typestatic BlockTypeReturns the enum constant of this type with the specified name.static BlockType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
RANKING_SIGNA sign which displays informations of a place in a leaderboard.Represented by RankingSignBlock
- 
RANKING_SKULLA skull of a player on a specific rank. Used for the leaderboard.Represented by RankingSkullBlock
- 
JOIN_ARENA_SIGNA sign which makes the player join the arena once he interacts with it.Represented by JoinArenaSignBlock
- 
CUSTOMA block with a custom handler. The only purpose for this is to allow devs to create custom special blocks with custom handlers.Represented by CustomBlock
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getIdReturns the id of this type- Returns:
- The id
 
- 
fromIdReturns the BlockType that has the given id- Parameters:
- id- The id that shall match with the returning BlockType
- Returns:
- The BlockType with the given id. nullif there's none
 
 
-