@Deprecated public enum LightRegistry extends Enum<LightRegistry>
| Enum Constant and Description |
|---|
HORSE
Deprecated.
|
RABBIT
Deprecated.
|
ZOMBIE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
register(Class<?> customEntityClazz)
Deprecated.
|
void |
register(String customEntityClazzName)
Deprecated.
|
static void |
unregister()
Deprecated.
|
static LightRegistry |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static LightRegistry[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightRegistry RABBIT
public static final LightRegistry HORSE
public static final LightRegistry ZOMBIE
public static LightRegistry[] values()
for (LightRegistry c : LightRegistry.values()) System.out.println(c);
public static LightRegistry 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 nullpublic static void unregister()
public void register(String customEntityClazzName)
public void register(Class<?> customEntityClazz)
Copyright © 2017. All rights reserved.