public static enum MapImporter.ReadOnlyOption extends java.lang.Enum<MapImporter.ReadOnlyOption>
ReadOnly
layer should be applied to the imported world.Enum Constant and Description |
---|
ALL
The
ReadOnly layer should be applied all chunks. |
MAN_MADE
The
ReadOnly layer should be applied to every chunk that contains at least one man-made block (a
block that would have been placed by a player). |
MAN_MADE_ABOVE_GROUND
The
ReadOnly layer should be applied to every chunk that contains at least one
above-ground man-made block (a block that would have been placed by a player). |
NONE
The
ReadOnly layer should not be applied to the imported world. |
Modifier and Type | Method and Description |
---|---|
static MapImporter.ReadOnlyOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapImporter.ReadOnlyOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapImporter.ReadOnlyOption NONE
ReadOnly
layer should not be applied to the imported world.public static final MapImporter.ReadOnlyOption MAN_MADE
ReadOnly
layer should be applied to every chunk that contains at least one man-made block (a
block that would have been placed by a player). The definition of "man-made" is up to the platform provider,
but one option, used by the default platforms supported by WorldPainter, is to look at the
Material.natural
property.public static final MapImporter.ReadOnlyOption MAN_MADE_ABOVE_GROUND
ReadOnly
layer should be applied to every chunk that contains at least one
above-ground man-made block (a block that would have been placed by a player). The
definition of "man-made" is up to the platform provider, but one option, used by the default platforms
supported by WorldPainter, is to look at the Material.natural
property. "Above ground" means any
block above the level that will become the terrain height in the WorldPainter world.public static final MapImporter.ReadOnlyOption ALL
ReadOnly
layer should be applied all chunks.public static MapImporter.ReadOnlyOption[] values()
for (MapImporter.ReadOnlyOption c : MapImporter.ReadOnlyOption.values()) System.out.println(c);
public static MapImporter.ReadOnlyOption 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