public static enum PlayerCreativeTerrainEditEvent.Mode extends java.lang.Enum<PlayerCreativeTerrainEditEvent.Mode>
Enum Constant and Description |
---|
TerrainAdd
Add/fill terrain
|
TerrainPaint
Paint terrain, i.e. replace existing terrain with another id
|
TerrainSmooth
Smooth terrain
|
TerrainSubtract
Subtract/remove terrain
|
WaterAdd
Add/fill water
|
WaterRemove
Remove water
|
Modifier and Type | Method and Description |
---|---|
static PlayerCreativeTerrainEditEvent.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlayerCreativeTerrainEditEvent.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerCreativeTerrainEditEvent.Mode TerrainAdd
public static final PlayerCreativeTerrainEditEvent.Mode TerrainSubtract
public static final PlayerCreativeTerrainEditEvent.Mode TerrainSmooth
public static final PlayerCreativeTerrainEditEvent.Mode TerrainPaint
public static final PlayerCreativeTerrainEditEvent.Mode WaterAdd
public static final PlayerCreativeTerrainEditEvent.Mode WaterRemove
public static PlayerCreativeTerrainEditEvent.Mode[] values()
for (PlayerCreativeTerrainEditEvent.Mode c : PlayerCreativeTerrainEditEvent.Mode.values()) System.out.println(c);
public static PlayerCreativeTerrainEditEvent.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null