Package net.minecraft.client.render
Enum VertexFormat.IntType
- All Implemented Interfaces:
Serializable
,Comparable<VertexFormat.IntType>
,java.lang.constant.Constable
- Enclosing class:
- VertexFormat
@Environment(CLIENT) public static enum VertexFormat.IntType extends Enum<VertexFormat.IntType>
- Mappings:
Namespace Name official dlw$a
intermediary net/minecraft/class_293$class_5595
named 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
-
Field Summary
Fields Modifier and Type Field Description int
field_27374
int
size
-
Constructor Summary
Constructors Modifier Constructor Description private
IntType(int int2, int size)
-
Method Summary
Modifier and Type Method Description static VertexFormat.IntType
getSmallestTypeFor(int number)
Gets the smallest type in which the given number fits.static VertexFormat.IntType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VertexFormat.IntType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BYTE
- Mappings:
Namespace Name Mixin selector official a
Ldlw$a;a:Ldlw$a;
intermediary field_27371
Lnet/minecraft/class_293$class_5595;field_27371:Lnet/minecraft/class_293$class_5595;
named BYTE
Lnet/minecraft/client/render/VertexFormat$IntType;BYTE:Lnet/minecraft/client/render/VertexFormat$IntType;
-
SHORT
- Mappings:
Namespace Name Mixin selector official b
Ldlw$a;b:Ldlw$a;
intermediary field_27372
Lnet/minecraft/class_293$class_5595;field_27372:Lnet/minecraft/class_293$class_5595;
named SHORT
Lnet/minecraft/client/render/VertexFormat$IntType;SHORT:Lnet/minecraft/client/render/VertexFormat$IntType;
-
INT
- Mappings:
Namespace Name Mixin selector official c
Ldlw$a;c:Ldlw$a;
intermediary field_27373
Lnet/minecraft/class_293$class_5595;field_27373:Lnet/minecraft/class_293$class_5595;
named INT
Lnet/minecraft/client/render/VertexFormat$IntType;INT:Lnet/minecraft/client/render/VertexFormat$IntType;
-
-
Field Details
-
field_27374
public final int field_27374- Mappings:
Namespace Name Mixin selector official d
Ldlw$a;d:I
intermediary field_27374
Lnet/minecraft/class_293$class_5595;field_27374:I
named field_27374
Lnet/minecraft/client/render/VertexFormat$IntType;field_27374:I
-
size
public final int size- Mappings:
Namespace Name Mixin selector official e
Ldlw$a;e:I
intermediary field_27375
Lnet/minecraft/class_293$class_5595;field_27375:I
named size
Lnet/minecraft/client/render/VertexFormat$IntType;size:I
-
-
Constructor Details
-
IntType
private IntType(int int2, int size)- Mappings:
Namespace Name Mixin selector official <init>
Ldlw$a;<init>(Ljava/lang/String;III)V
intermediary <init>
Lnet/minecraft/class_293$class_5595;<init>(Ljava/lang/String;III)V
named <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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 a
Ldlw$a;a(I)Ldlw$a;
intermediary method_31972
Lnet/minecraft/class_293$class_5595;method_31972(I)Lnet/minecraft/class_293$class_5595;
named getSmallestTypeFor
Lnet/minecraft/client/render/VertexFormat$IntType;getSmallestTypeFor(I)Lnet/minecraft/client/render/VertexFormat$IntType;
-