Package net.minecraft.client.render
Enum Class VertexFormat.IntType
- All Implemented Interfaces:
Serializable,Comparable<VertexFormat.IntType>,Constable
- Enclosing class:
- VertexFormat
- Mappings:
Namespace Name official dpz$aintermediary net/minecraft/class_293$class_5595named net/minecraft/client/render/VertexFormat$IntType
-
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.IntTypegetSmallestTypeFor(int number)Gets the smallest type in which the given number fits.static VertexFormat.IntTypeReturns the enum constant of this class with the specified name.static VertexFormat.IntType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BYTE
- Mappings:
Namespace Name Mixin selector official aLdpz$a;a:Ldpz$a;intermediary field_27371Lnet/minecraft/class_293$class_5595;field_27371:Lnet/minecraft/class_293$class_5595;named BYTELnet/minecraft/client/render/VertexFormat$IntType;BYTE:Lnet/minecraft/client/render/VertexFormat$IntType;
-
SHORT
- Mappings:
Namespace Name Mixin selector official bLdpz$a;b:Ldpz$a;intermediary field_27372Lnet/minecraft/class_293$class_5595;field_27372:Lnet/minecraft/class_293$class_5595;named SHORTLnet/minecraft/client/render/VertexFormat$IntType;SHORT:Lnet/minecraft/client/render/VertexFormat$IntType;
-
INT
- Mappings:
Namespace Name Mixin selector official cLdpz$a;c:Ldpz$a;intermediary field_27373Lnet/minecraft/class_293$class_5595;field_27373:Lnet/minecraft/class_293$class_5595;named INTLnet/minecraft/client/render/VertexFormat$IntType;INT:Lnet/minecraft/client/render/VertexFormat$IntType;
-
-
Field Details
-
count
public final int count- Mappings:
Namespace Name Mixin selector official dLdpz$a;d:Iintermediary field_27374Lnet/minecraft/class_293$class_5595;field_27374:Inamed countLnet/minecraft/client/render/VertexFormat$IntType;count:I
-
size
public final int size- Mappings:
Namespace Name Mixin selector official eLdpz$a;e:Iintermediary field_27375Lnet/minecraft/class_293$class_5595;field_27375:Inamed sizeLnet/minecraft/client/render/VertexFormat$IntType;size:I
-
-
Constructor Details
-
IntType
private IntType(int count, int size)- Mappings:
Namespace Name Mixin selector official <init>Ldpz$a;<init>(Ljava/lang/String;III)Vintermediary <init>Lnet/minecraft/class_293$class_5595;<init>(Ljava/lang/String;III)Vnamed <init>Lnet/minecraft/client/render/VertexFormat$IntType;<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
-
getSmallestTypeFor
Gets the smallest type in which the given number fits.- Parameters:
number- a number from 8 to 32 bits of memory- Returns:
- the smallest type
- Mappings:
Namespace Name Mixin selector official aLdpz$a;a(I)Ldpz$a;intermediary method_31972Lnet/minecraft/class_293$class_5595;method_31972(I)Lnet/minecraft/class_293$class_5595;named getSmallestTypeForLnet/minecraft/client/render/VertexFormat$IntType;getSmallestTypeFor(I)Lnet/minecraft/client/render/VertexFormat$IntType;
-