Package net.minecraft.client.gl
Record Class UniformValue.Matrix4fValue
java.lang.Object
java.lang.Record
net.minecraft.client.gl.UniformValue.Matrix4fValue
- Record Components:
value-
- All Implemented Interfaces:
UniformValue
- Enclosing interface:
UniformValue
@Environment(CLIENT)
public static record UniformValue.Matrix4fValue(Matrix4fc value)
extends Record
implements UniformValue
- Mappings:
Namespace Name named net/minecraft/client/gl/UniformValue$Matrix4fValueintermediary net/minecraft/class_11287$class_11291official hha$dnamed valueintermediary comp_4171official 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.Matrix4fValue> private final Matrix4fcThe field for thevaluerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSize(Std140SizeCalculator calculator) final booleanIndicates whether some other object is "equal to" this one.getType()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.voidwrite(Std140Builder builder)
-
Field Details
-
value
The field for thevaluerecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/gl/UniformValue$Matrix4fValue;CODEC:Lcom/mojang/serialization/Codec;intermediary field_60134Lnet/minecraft/class_11287$class_11291;field_60134:Lcom/mojang/serialization/Codec;official bLhha$d;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Matrix4fValue
-
-
Method Details
-
write
- Specified by:
writein interfaceUniformValue- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/client/gl/UniformValue;write(Lcom/mojang/blaze3d/buffers/Std140Builder;)Vintermediary method_71131Lnet/minecraft/class_11287;method_71131(Lcom/mojang/blaze3d/buffers/Std140Builder;)Vofficial aLhha;a(Lcom/mojang/blaze3d/buffers/Std140Builder;)V
-
addSize
- Specified by:
addSizein interfaceUniformValue- Mappings:
Namespace Name Mixin selector named addSizeLnet/minecraft/client/gl/UniformValue;addSize(Lcom/mojang/blaze3d/buffers/Std140SizeCalculator;)Vintermediary method_71132Lnet/minecraft/class_11287;method_71132(Lcom/mojang/blaze3d/buffers/Std140SizeCalculator;)Vofficial aLhha;a(Lcom/mojang/blaze3d/buffers/Std140SizeCalculator;)V
-
getType
- Specified by:
getTypein interfaceUniformValue- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/client/gl/UniformValue;getType()Lnet/minecraft/client/gl/UniformValue$Type;intermediary method_71130Lnet/minecraft/class_11287;method_71130()Lnet/minecraft/class_11287$class_11292;official aLhha;a()Lhha$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 thevaluerecord component.- Returns:
- the value of the
valuerecord component
-