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