Package net.minecraft
Record Class class_9879.class_9880
java.lang.Object
java.lang.Record
net.minecraft.class_9879.class_9880
- Record Components:
position-movement-yRot-xRot-weight-
- Enclosing class:
class_9879
public static record class_9879.class_9880(Vec3d position, Vec3d movement, float yRot, float xRot, float weight)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_9879$class_9880intermediary net/minecraft/class_9879$class_9880official cqa$anamed positionintermediary comp_2921official dnamed movementintermediary comp_2922official enamed yRotintermediary comp_2923official fnamed xRotintermediary comp_2924official gnamed weightintermediary comp_2925official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<ByteBuf, Float> static final PacketCodec<ByteBuf, class_9879.class_9880> static class_9879.class_9880private final Vec3dThe field for themovementrecord component.private final Vec3dThe field for thepositionrecord component.private final floatThe field for theweightrecord component.private final floatThe field for thexRotrecord component.private final floatThe field for theyRotrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9880(Vec3d vec3d, Vec3d vec3d2, float float2, float float3, float float4) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.private static floatmethod_61616(byte byte2) private static bytemethod_61617(float float2) movement()Returns the value of themovementrecord component.position()Returns the value of thepositionrecord component.final StringtoString()Returns a string representation of this record class.floatweight()Returns the value of theweightrecord component.floatxRot()Returns the value of thexRotrecord component.floatyRot()Returns the value of theyRotrecord component.
-
Field Details
-
position
The field for thepositionrecord component. -
movement
The field for themovementrecord component. -
yRot
private final float yRotThe field for theyRotrecord component. -
xRot
private final float xRotThe field for thexRotrecord component. -
weight
private final float weightThe field for theweightrecord component. -
field_52539
- Mappings:
Namespace Name Mixin selector named field_52539Lnet/minecraft/class_9879$class_9880;field_52539:Lnet/minecraft/network/codec/PacketCodec;intermediary field_52539Lnet/minecraft/class_9879$class_9880;field_52539:Lnet/minecraft/class_9139;official aLcqa$a;a:Lzb;
-
field_52540
- Mappings:
Namespace Name Mixin selector named field_52540Lnet/minecraft/class_9879$class_9880;field_52540:Lnet/minecraft/network/codec/PacketCodec;intermediary field_52540Lnet/minecraft/class_9879$class_9880;field_52540:Lnet/minecraft/class_9139;official bLcqa$a;b:Lzb;
-
field_52541
- Mappings:
Namespace Name Mixin selector named field_52541Lnet/minecraft/class_9879$class_9880;field_52541:Lnet/minecraft/class_9879$class_9880;intermediary field_52541Lnet/minecraft/class_9879$class_9880;field_52541:Lnet/minecraft/class_9879$class_9880;official cLcqa$a;c:Lcqa$a;
-
-
Constructor Details
-
class_9880
-
-
Method Details
-
method_61617
private static byte method_61617(float float2) - Mappings:
Namespace Name Mixin selector named method_61617Lnet/minecraft/class_9879$class_9880;method_61617(F)Bintermediary method_61617Lnet/minecraft/class_9879$class_9880;method_61617(F)Bofficial aLcqa$a;a(F)B
-
method_61616
private static float method_61616(byte byte2) - Mappings:
Namespace Name Mixin selector named method_61616Lnet/minecraft/class_9879$class_9880;method_61616(B)Fintermediary method_61616Lnet/minecraft/class_9879$class_9880;method_61616(B)Fofficial aLcqa$a;a(B)F
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
position
Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
movement
Returns the value of themovementrecord component.- Returns:
- the value of the
movementrecord component
-
yRot
public float yRot()Returns the value of theyRotrecord component.- Returns:
- the value of the
yRotrecord component
-
xRot
public float xRot()Returns the value of thexRotrecord component.- Returns:
- the value of the
xRotrecord component
-
weight
public float weight()Returns the value of theweightrecord component.- Returns:
- the value of the
weightrecord component
-