Package net.minecraftforge.resource
Enum Class VanillaResourceType
- All Implemented Interfaces:
Serializable
,Comparable<VanillaResourceType>
,Constable
,IResourceType
@Deprecated(since="1.17.1",
forRemoval=true)
public enum VanillaResourceType
extends Enum<VanillaResourceType>
implements IResourceType
Deprecated, for removal: This API element is subject to removal in a future version.
Selective reloading is no longer supported due to vanilla now reloading resources in parallel
An enum of all
IResourceType
s used by the Vanilla game. These should be used if handling vanilla-related
resources.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Used when the current language is reloaded.Deprecated, for removal: This API element is subject to removal in a future version.Used when block and item models are reloaded and rebaked.Deprecated, for removal: This API element is subject to removal in a future version.Used when all shaders are reloaded.Deprecated, for removal: This API element is subject to removal in a future version.Used when all game sounds are reloaded.Deprecated, for removal: This API element is subject to removal in a future version.Used when textures from theTextureManager
are reloaded. -
Constructor Summary
ModifierConstructorDescriptionprivate
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic VanillaResourceType
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.static VanillaResourceType[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODELS
Deprecated, for removal: This API element is subject to removal in a future version.Used when block and item models are reloaded and rebaked. This also includes the texture-stitching from that phase. -
TEXTURES
Deprecated, for removal: This API element is subject to removal in a future version.Used when textures from theTextureManager
are reloaded. Does not effect block or item textures on the texture atlas. -
SOUNDS
Deprecated, for removal: This API element is subject to removal in a future version.Used when all game sounds are reloaded. -
LANGUAGES
Deprecated, for removal: This API element is subject to removal in a future version.Used when the current language is reloaded. -
SHADERS
Deprecated, for removal: This API element is subject to removal in a future version.Used when all shaders are reloaded.
-
-
Constructor Details
-
VanillaResourceType
private VanillaResourceType()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-