Package net.minecraft.client.gl
Record Class UniformValue.IntValue
java.lang.Object
java.lang.Record
net.minecraft.client.gl.UniformValue.IntValue
- Record Components:
value
-
- All Implemented Interfaces:
UniformValue
- Enclosing interface:
UniformValue
@Environment(CLIENT)
public static record UniformValue.IntValue(int value)
extends Record
implements UniformValue
- Mappings:
Namespace Name named net/minecraft/client/gl/UniformValue$IntValue
intermediary net/minecraft/class_11287$class_11290
official gyl$c
named value
intermediary comp_4170
official c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gl.UniformValue
UniformValue.FloatValue, UniformValue.IntValue, UniformValue.Matrix4fValue, UniformValue.Type, UniformValue.Vec2fValue, UniformValue.Vec3fValue, UniformValue.Vec3iValue, UniformValue.Vec4fValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<UniformValue.IntValue> private final int
The field for thevalue
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSize
(Std140SizeCalculator calculator) final boolean
Indicates whether some other object is "equal to" this one.getType()
final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.int
value()
Returns the value of thevalue
record component.void
write
(Std140Builder builder)
-
Field Details
-
value
private final int valueThe field for thevalue
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/client/gl/UniformValue$IntValue;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_60133
Lnet/minecraft/class_11287$class_11290;field_60133:Lcom/mojang/serialization/Codec;
official b
Lgyl$c;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
IntValue
public IntValue(int int2)
-
-
Method Details
-
write
- Specified by:
write
in interfaceUniformValue
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/client/gl/UniformValue;write(Lcom/mojang/blaze3d/buffers/Std140Builder;)V
intermediary method_71131
Lnet/minecraft/class_11287;method_71131(Lcom/mojang/blaze3d/buffers/Std140Builder;)V
official a
Lgyl;a(Lcom/mojang/blaze3d/buffers/Std140Builder;)V
-
addSize
- Specified by:
addSize
in interfaceUniformValue
- Mappings:
Namespace Name Mixin selector named addSize
Lnet/minecraft/client/gl/UniformValue;addSize(Lcom/mojang/blaze3d/buffers/Std140SizeCalculator;)V
intermediary method_71132
Lnet/minecraft/class_11287;method_71132(Lcom/mojang/blaze3d/buffers/Std140SizeCalculator;)V
official a
Lgyl;a(Lcom/mojang/blaze3d/buffers/Std140SizeCalculator;)V
-
getType
- Specified by:
getType
in interfaceUniformValue
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/client/gl/UniformValue;getType()Lnet/minecraft/client/gl/UniformValue$Type;
intermediary method_71130
Lnet/minecraft/class_11287;method_71130()Lnet/minecraft/class_11287$class_11292;
official a
Lgyl;a()Lgyl$e;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
value
public int value()Returns the value of thevalue
record component.- Returns:
- the value of the
value
record component
-