Package net.minecraft
Record Class class_11566.class_11567
java.lang.Object
java.lang.Record
net.minecraft.class_11566.class_11567
- Record Components:
getPos-getBodyYaw-getWorld-
- All Implemented Interfaces:
class_11566
- Enclosing interface:
class_11566
public static record class_11566.class_11567(Vec3d getPos, float getBodyYaw, World getWorld)
extends Record
implements class_11566
- Mappings:
Namespace Name named net/minecraft/class_11566$class_11567intermediary net/minecraft/class_11566$class_11567official cau$anamed getPosintermediary comp_4424official anamed getBodyYawintermediary comp_4425official bnamed getWorldintermediary comp_4426official c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_11566
class_11566.class_11567 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thegetBodyYawrecord component.private final Vec3dThe field for thegetPosrecord component.private final WorldThe field for thegetWorldrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.floatReturns the value of thegetBodyYawrecord component.getPos()Returns the value of thegetPosrecord component.getWorld()Returns the value of thegetWorldrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_11566
method_72393
-
Field Details
-
getPos
The field for thegetPosrecord component. -
getBodyYaw
private final float getBodyYawThe field for thegetBodyYawrecord component. -
getWorld
The field for thegetWorldrecord component.
-
-
Constructor Details
-
class_11567
-
-
Method Details
-
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 '=='. -
getPos
Returns the value of thegetPosrecord component.- Specified by:
getPosin interfaceclass_11566- Returns:
- the value of the
getPosrecord component
-
getBodyYaw
public float getBodyYaw()Returns the value of thegetBodyYawrecord component.- Specified by:
getBodyYawin interfaceclass_11566- Returns:
- the value of the
getBodyYawrecord component
-
getWorld
Returns the value of thegetWorldrecord component.- Specified by:
getWorldin interfaceclass_11566- Returns:
- the value of the
getWorldrecord component
-