Enum Class PlayerCreativeTerrainEditEvent.EditMode
java.lang.Object
java.lang.Enum<PlayerCreativeTerrainEditEvent.EditMode>
net.risingworld.api.events.player.world.PlayerCreativeTerrainEditEvent.EditMode
- All Implemented Interfaces:
Serializable
,Comparable<PlayerCreativeTerrainEditEvent.EditMode>
,Constable
- Enclosing class:
PlayerCreativeTerrainEditEvent
public static enum PlayerCreativeTerrainEditEvent.EditMode
extends Enum<PlayerCreativeTerrainEditEvent.EditMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOther mode (e.g fix chunk borders)Add/fill terrainPaint terrain, i.e replace existing terrain with another idSmooth terrainSubtract/remove terrainAdd/fill waterRemove water -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TerrainAdd
Add/fill terrain -
TerrainSubtract
Subtract/remove terrain -
TerrainSmooth
Smooth terrain -
TerrainPaint
Paint terrain, i.e replace existing terrain with another id -
WaterAdd
Add/fill water -
WaterRemove
Remove water -
Misc
Other mode (e.g fix chunk borders)
-
-
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
-