public static enum IStructureGel.Behavior extends java.lang.Enum<IStructureGel.Behavior> implements IStructureGel.IBehavior
Enum Constant and Description |
---|
AXIS_SPREAD
Spreads itself along the plane that it was placed facing.
|
DEFAULT
Spreads the gel along the cardinal directions, only replacing air.
|
DIAGONAL_SPREAD
Spreads itself along the cardinal and diagonal directions.
|
DYNAMIC_SPREAD_DIST
Spreads the gel with a set distance based on how many you're holding.
|
PHOTOSENSITIVE
Only spreads the gel in positions not exposed to the sky.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTranslation() |
static IStructureGel.Behavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IStructureGel.Behavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IStructureGel.Behavior DEFAULT
public static final IStructureGel.Behavior PHOTOSENSITIVE
public static final IStructureGel.Behavior DIAGONAL_SPREAD
public static final IStructureGel.Behavior AXIS_SPREAD
AxisStructureGelBlock
.public static final IStructureGel.Behavior DYNAMIC_SPREAD_DIST
public static IStructureGel.Behavior[] values()
for (IStructureGel.Behavior c : IStructureGel.Behavior.values()) System.out.println(c);
public static IStructureGel.Behavior 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 nullpublic java.lang.String getTranslation()
getTranslation
in interface IStructureGel.IBehavior