public enum VanillaResourceType extends java.lang.Enum<VanillaResourceType> implements IResourceType
IResourceType
s used by the Vanilla game. These should be used if handling vanilla-related
resources.Enum Constant and Description |
---|
LANGUAGES
Used when the current language is reloaded.
|
MODELS
Used when block and item models are reloaded and rebaked.
|
SHADERS
Used when all shaders are reloaded.
|
SOUNDS
Used when all game sounds are reloaded.
|
TEXTURES
Used when textures from the
TextureManager are reloaded. |
Modifier and Type | Method and Description |
---|---|
static VanillaResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VanillaResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VanillaResourceType MODELS
public static final VanillaResourceType TEXTURES
TextureManager
are reloaded. Does not
effect block or item textures on the texture atlas.public static final VanillaResourceType SOUNDS
public static final VanillaResourceType LANGUAGES
public static final VanillaResourceType SHADERS
public static VanillaResourceType[] values()
for (VanillaResourceType c : VanillaResourceType.values()) System.out.println(c);
public static VanillaResourceType 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 null