public static enum IStructureElement.PlaceResult extends Enum<IStructureElement.PlaceResult>
| Enum Constant and Description |
|---|
ACCEPT
Element placed successfully.
|
ACCEPT_STOP
Combination of ACCEPT and STOP.
|
REJECT
This element's space is occupied by other stuff and require player attention, or player missing required
resource, or the block cannot be placed due to obscure mechanisms, or some other unforeseen situations.
|
SKIP
This element either exists already, or does not yet have an implementation for survivalPlaceBlock, or some
other unforeseen situations.
|
STOP
Autoplace cannot proceed within this tick.
|
| Modifier and Type | Method and Description |
|---|---|
static IStructureElement.PlaceResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IStructureElement.PlaceResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IStructureElement.PlaceResult SKIP
public static final IStructureElement.PlaceResult REJECT
public static final IStructureElement.PlaceResult STOP
public static final IStructureElement.PlaceResult ACCEPT
public static final IStructureElement.PlaceResult ACCEPT_STOP
Element placed successfully. To proceed further would require stopping the placement and wait for next round.
public static IStructureElement.PlaceResult[] values()
for (IStructureElement.PlaceResult c : IStructureElement.PlaceResult.values()) System.out.println(c);
public static IStructureElement.PlaceResult valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null