Package net.minecraft.client.gl
Enum Class UniformType
- All Implemented Interfaces:
Serializable,Comparable<UniformType>,Constable,StringIdentifiable
@Environment(CLIENT)
public enum UniformType
extends Enum<UniformType>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/client/gl/UniformTypeintermediary net/minecraft/class_10789official fkz
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<UniformType> (package private) final String(package private) final intFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.booleanintintsize()static UniformTypeReturns the enum constant of this class with the specified name.static UniformType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INT
- Mappings:
Namespace Name Mixin selector named INTLnet/minecraft/client/gl/UniformType;INT:Lnet/minecraft/client/gl/UniformType;intermediary field_56741Lnet/minecraft/class_10789;field_56741:Lnet/minecraft/class_10789;official aLfkz;a:Lfkz;
-
IVEC3
- Mappings:
Namespace Name Mixin selector named IVEC3Lnet/minecraft/client/gl/UniformType;IVEC3:Lnet/minecraft/client/gl/UniformType;intermediary field_56742Lnet/minecraft/class_10789;field_56742:Lnet/minecraft/class_10789;official bLfkz;b:Lfkz;
-
FLOAT
- Mappings:
Namespace Name Mixin selector named FLOATLnet/minecraft/client/gl/UniformType;FLOAT:Lnet/minecraft/client/gl/UniformType;intermediary field_56743Lnet/minecraft/class_10789;field_56743:Lnet/minecraft/class_10789;official cLfkz;c:Lfkz;
-
VEC2
- Mappings:
Namespace Name Mixin selector named VEC2Lnet/minecraft/client/gl/UniformType;VEC2:Lnet/minecraft/client/gl/UniformType;intermediary field_56744Lnet/minecraft/class_10789;field_56744:Lnet/minecraft/class_10789;official dLfkz;d:Lfkz;
-
VEC3
- Mappings:
Namespace Name Mixin selector named VEC3Lnet/minecraft/client/gl/UniformType;VEC3:Lnet/minecraft/client/gl/UniformType;intermediary field_56745Lnet/minecraft/class_10789;field_56745:Lnet/minecraft/class_10789;official eLfkz;e:Lfkz;
-
VEC4
- Mappings:
Namespace Name Mixin selector named VEC4Lnet/minecraft/client/gl/UniformType;VEC4:Lnet/minecraft/client/gl/UniformType;intermediary field_56746Lnet/minecraft/class_10789;field_56746:Lnet/minecraft/class_10789;official fLfkz;f:Lfkz;
-
MATRIX4X4
- Mappings:
Namespace Name Mixin selector named MATRIX4X4Lnet/minecraft/client/gl/UniformType;MATRIX4X4:Lnet/minecraft/client/gl/UniformType;intermediary field_56747Lnet/minecraft/class_10789;field_56747:Lnet/minecraft/class_10789;official gLfkz;g:Lfkz;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/gl/UniformType;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;intermediary field_56748Lnet/minecraft/class_10789;field_56748:Lnet/minecraft/class_3542$class_7292;official hLfkz;h:Lbao$a;
-
size
final int size- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/client/gl/UniformType;size:Iintermediary field_56749Lnet/minecraft/class_10789;field_56749:Iofficial iLfkz;i:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/gl/UniformType;name:Ljava/lang/String;intermediary field_56750Lnet/minecraft/class_10789;field_56750:Ljava/lang/String;official jLfkz;j:Ljava/lang/String;
-
-
Constructor Details
-
UniformType
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gl/UniformType;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_10789;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lfkz;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
-
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
-
size
public int size()- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/client/gl/UniformType;size()Iintermediary method_68449Lnet/minecraft/class_10789;method_68449()Iofficial aLfkz;a()I
-
isIntegerData
public boolean isIntegerData()- Mappings:
Namespace Name Mixin selector named isIntegerDataLnet/minecraft/client/gl/UniformType;isIntegerData()Zintermediary method_67771Lnet/minecraft/class_10789;method_67771()Zofficial bLfkz;b()Z
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbao;c()Ljava/lang/String;
-
method_68450
public int method_68450()- Mappings:
Namespace Name Mixin selector named method_68450Lnet/minecraft/client/gl/UniformType;method_68450()Iintermediary method_68450Lnet/minecraft/class_10789;method_68450()Iofficial dLfkz;d()I
-