public enum ComputerEventManager extends java.lang.Enum<ComputerEventManager>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComputerEventManager.IComputerEventSender |
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static ComputerEventManager |
getInstance() |
void |
registerSender(ComputerEventManager.IComputerEventSender sender) |
void |
sendEvents(net.minecraft.tileentity.TileEntity te,
java.lang.String name,
java.lang.Object... params) |
static ComputerEventManager |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComputerEventManager[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputerEventManager INSTANCE
public static ComputerEventManager[] values()
for (ComputerEventManager c : ComputerEventManager.values()) System.out.println(c);
public static ComputerEventManager 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 nullpublic static ComputerEventManager getInstance()
public void registerSender(ComputerEventManager.IComputerEventSender sender)
public void sendEvents(net.minecraft.tileentity.TileEntity te,
java.lang.String name,
java.lang.Object... params)