Package net.minecraft.client.gl
Record Class UniformValue.Vec3fValue
java.lang.Object
java.lang.Record
net.minecraft.client.gl.UniformValue.Vec3fValue
- Record Components:
value
-
- All Implemented Interfaces:
UniformValue
- Enclosing interface:
UniformValue
@Environment(CLIENT)
public static record UniformValue.Vec3fValue(Vector3f value)
extends Record
implements UniformValue
- Mappings:
Namespace Name named net/minecraft/client/gl/UniformValue$Vec3fValue
intermediary net/minecraft/class_11287$class_11294
official gyl$g
named value
intermediary comp_4173
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.Vec3fValue> private final Vector3f
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.value()
Returns the value of thevalue
record component.void
write
(Std140Builder builder)
-
Field Details
-
value
The field for thevalue
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/client/gl/UniformValue$Vec3fValue;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_60147
Lnet/minecraft/class_11287$class_11294;field_60147:Lcom/mojang/serialization/Codec;
official b
Lgyl$g;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Vec3fValue
-
-
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 withObjects::equals(Object,Object)
. -
value
Returns the value of thevalue
record component.- Returns:
- the value of the
value
record component
-