java.io.Serializable
, java.lang.Comparable<HangingBreakEvent.RemoveCause>
public static enum HangingBreakEvent.RemoveCause extends java.lang.Enum<HangingBreakEvent.RemoveCause>
Enum Constant | 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 | Description |
---|---|---|
static HangingBreakEvent.RemoveCause |
valueOf(java.lang.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(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 nullCopyright © 2018. All rights reserved.