Package net.minecraft.client.render
Enum Class VertexFormat.IndexType
- All Implemented Interfaces:
Serializable,Comparable<VertexFormat.IndexType>,Constable
- Enclosing class:
VertexFormat
- Mappings:
Namespace Name named net/minecraft/client/render/VertexFormat$IndexTypeintermediary net/minecraft/class_293$class_5595official fgw$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexFormat.IndexTypesmallestFor(int indexCount) Returns the smallest type in whichindexCountfits.static VertexFormat.IndexTypeReturns the enum constant of this class with the specified name.static VertexFormat.IndexType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHORT
- Mappings:
Namespace Name Mixin selector named SHORTLnet/minecraft/client/render/VertexFormat$IndexType;SHORT:Lnet/minecraft/client/render/VertexFormat$IndexType;intermediary field_27372Lnet/minecraft/class_293$class_5595;field_27372:Lnet/minecraft/class_293$class_5595;official aLfgw$b;a:Lfgw$b;
-
INT
- Mappings:
Namespace Name Mixin selector named INTLnet/minecraft/client/render/VertexFormat$IndexType;INT:Lnet/minecraft/client/render/VertexFormat$IndexType;intermediary field_27373Lnet/minecraft/class_293$class_5595;field_27373:Lnet/minecraft/class_293$class_5595;official bLfgw$b;b:Lfgw$b;
-
-
Field Details
-
glType
public final int glType- Mappings:
Namespace Name Mixin selector named glTypeLnet/minecraft/client/render/VertexFormat$IndexType;glType:Iintermediary field_27374Lnet/minecraft/class_293$class_5595;field_27374:Iofficial cLfgw$b;c:I
-
size
public final int size- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/client/render/VertexFormat$IndexType;size:Iintermediary field_27375Lnet/minecraft/class_293$class_5595;field_27375:Iofficial dLfgw$b;d:I
-
-
Constructor Details
-
IndexType
private IndexType(int glType, int size) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/VertexFormat$IndexType;<init>(Ljava/lang/String;III)Vintermediary <init>Lnet/minecraft/class_293$class_5595;<init>(Ljava/lang/String;III)Vofficial <init>Lfgw$b;<init>(Ljava/lang/String;III)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
-
smallestFor
Returns the smallest type in whichindexCountfits.- Returns:
- the smallest type in which
indexCountfits - Mappings:
Namespace Name Mixin selector named smallestForLnet/minecraft/client/render/VertexFormat$IndexType;smallestFor(I)Lnet/minecraft/client/render/VertexFormat$IndexType;intermediary method_31972Lnet/minecraft/class_293$class_5595;method_31972(I)Lnet/minecraft/class_293$class_5595;official aLfgw$b;a(I)Lfgw$b;
-