public static enum BlockBehavior.Result extends Enum<BlockBehavior.Result>
| Enum Constant and Description |
|---|
BREAK_BLOCK |
NOTHING |
PLACE_BLOCK_AND_REMOVE_ONE_ITEM |
REDUCE_DURABILITY |
REMOVE_ONE_ITEM |
| Modifier and Type | Method and Description |
|---|---|
static BlockBehavior.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockBehavior.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockBehavior.Result NOTHING
public static final BlockBehavior.Result REMOVE_ONE_ITEM
public static final BlockBehavior.Result PLACE_BLOCK_AND_REMOVE_ONE_ITEM
public static final BlockBehavior.Result REDUCE_DURABILITY
public static final BlockBehavior.Result BREAK_BLOCK
public static BlockBehavior.Result[] values()
for (BlockBehavior.Result c : BlockBehavior.Result.values()) System.out.println(c);
public static BlockBehavior.Result 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 nullCopyright © 2017–2018 NukkitX. All rights reserved.