Enum PlayerModifyBlockPermissionEvent.Issue
java.lang.Object
java.lang.Enum<PlayerModifyBlockPermissionEvent.Issue>
de.marcely.bedwars.api.event.player.PlayerModifyBlockPermissionEvent.Issue
- All Implemented Interfaces:
- Serializable,- Comparable<PlayerModifyBlockPermissionEvent.Issue>,- java.lang.constant.Constable
- Enclosing class:
- PlayerModifyBlockPermissionEvent
public static enum PlayerModifyBlockPermissionEvent.Issue
extends Enum<PlayerModifyBlockPermissionEvent.Issue>
Reasons that cause the BlocKEvent to not get performed.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionBlock can't be placed/broken because we don't want that type of block.Block that gets broken/placed is inside a region in which you may not do that (such as near the team spawn).A block gets destroyed that hasn't been placed by a player (it's a part of the map).The block has been placed/broken outside the playable area.A custom reason added using the API.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
INSIDE_NON_BUILD_RADIUSBlock that gets broken/placed is inside a region in which you may not do that (such as near the team spawn).
- 
NON_PLAYER_PLACEDA block gets destroyed that hasn't been placed by a player (it's a part of the map).
- 
BLACKLISTED_MATERIALBlock can't be placed/broken because we don't want that type of block.
- 
OUTSIDE_ARENAThe block has been placed/broken outside the playable area.
- 
PLUGINA custom reason added using the API.
 
- 
- 
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
 
 
-