public static enum HangingBreakEvent.RemoveCause extends Enum<HangingBreakEvent.RemoveCause>
| Enum Constant and Description | 
|---|
| DEFAULTRemoved by an uncategorised cause | 
| ENTITYRemoved by an entity | 
| EXPLOSIONRemoved by an explosion | 
| OBSTRUCTIONRemoved by placing a block on it | 
| PHYSICSRemoved 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 © 2016. All rights reserved.