public static enum HangingBreakEvent.RemoveCause extends Enum<HangingBreakEvent.RemoveCause>
Enum Constant and Description |
---|
DEFAULT
Removed by an uncategorised cause
|
ENTITY
Removed by an entity
|
EXPLOSION
Removed by an explosion
|
OBSTRUCTION
Removed by placing a block on it
|
PHYSICS
Removed by destroying the block behind it, etc
|
Modifier and Type | Method and Description |
---|---|
static HangingBreakEvent.RemoveCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HangingBreakEvent.RemoveCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HangingBreakEvent.RemoveCause ENTITY
public static final HangingBreakEvent.RemoveCause EXPLOSION
public static final HangingBreakEvent.RemoveCause OBSTRUCTION
public static final HangingBreakEvent.RemoveCause PHYSICS
public static final HangingBreakEvent.RemoveCause DEFAULT
public static HangingBreakEvent.RemoveCause[] values()
for (HangingBreakEvent.RemoveCause c : HangingBreakEvent.RemoveCause.values()) System.out.println(c);
public static HangingBreakEvent.RemoveCause 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 © 2015. All rights reserved.