Enum Class ShadeMode
- All Implemented Interfaces:
Serializable
,Comparable<ShadeMode>
,Constable
A hint to the renderer about how the quad is intended to be shaded, for example through ambient occlusion and
diffuse shading. The renderer is free to ignore this hint.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConveys the intent that shading should be generally consistent, lack edge cases, and produce visually pleasing results, even for quads that are not used by vanilla or are not possible to create through resource packs in vanilla.Conveys the intent that shading should mimic vanilla results, potentially to preserve certain visuals produced by resource packs that modify models. -
Method Summary
-
Enum Constant Details
-
ENHANCED
Conveys the intent that shading should be generally consistent, lack edge cases, and produce visually pleasing results, even for quads that are not used by vanilla or are not possible to create through resource packs in vanilla. -
VANILLA
Conveys the intent that shading should mimic vanilla results, potentially to preserve certain visuals produced by resource packs that modify models.
-
-
Method Details
-
values
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
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
-