public static enum BlockRedstoneEvent.Cause extends Enum<BlockRedstoneEvent.Cause>
| Enum Constant and Description |
|---|
BUTTON |
COMPARATOR |
HOOK |
LEVER |
PRESSURE_PLATE |
REPEATER |
SENSOR |
TORCH |
TRAP_CHEST |
WIRE |
| Modifier and Type | Method and Description |
|---|---|
static BlockRedstoneEvent.Cause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockRedstoneEvent.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockRedstoneEvent.Cause LEVER
public static final BlockRedstoneEvent.Cause BUTTON
public static final BlockRedstoneEvent.Cause WIRE
public static final BlockRedstoneEvent.Cause TORCH
public static final BlockRedstoneEvent.Cause PRESSURE_PLATE
public static final BlockRedstoneEvent.Cause HOOK
public static final BlockRedstoneEvent.Cause TRAP_CHEST
public static final BlockRedstoneEvent.Cause SENSOR
public static final BlockRedstoneEvent.Cause REPEATER
public static final BlockRedstoneEvent.Cause COMPARATOR
public static BlockRedstoneEvent.Cause[] values()
for (BlockRedstoneEvent.Cause c : BlockRedstoneEvent.Cause.values()) System.out.println(c);
public static BlockRedstoneEvent.Cause 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.