Package net.minecraft.server.chase
Record Class ChaseClient.TeleportPos
java.lang.Object
java.lang.Record
net.minecraft.server.chase.ChaseClient.TeleportPos
- Record Components:
- dimension-
- pos-
- rot-
- Enclosing class:
- ChaseClient
static record ChaseClient.TeleportPos(RegistryKey<World> dimension, Vec3d pos, Vec2f rot)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/server/chase/ChaseClient$TeleportPos- intermediary - net/minecraft/class_6630$class_6631- official - ama$a- named - dimension- intermediary - comp_138- official - a- named - pos- intermediary - comp_139- official - b- named - rot- intermediary - comp_140- official - c
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionTeleportPos(RegistryKey<World> dimension, Vec3d pos, Vec2f rot) Creates an instance of aTeleportPosrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thedimensionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.rot()Returns the value of therotrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
dimensionReturns the value of thedimensionrecord component.- Returns:
- the value of the dimensionrecord component
 
- 
posReturns the value of theposrecord component.- Returns:
- the value of the posrecord component
 
- 
rotReturns the value of therotrecord component.- Returns:
- the value of the rotrecord component
 
 
-