Package net.minecraft
Record Class class_7018
java.lang.Object
java.lang.Record
net.minecraft.class_7018
- Record Components:
timestamp-target-interpolation-
@Environment(CLIENT)
public record class_7018(float timestamp, Vec3f target, class_7011.class_7012 interpolation)
extends Record
- Mappings:
Namespace Name official dzzintermediary net/minecraft/class_7018named net/minecraft/class_7018official aintermediary comp_449named timestampofficial bintermediary comp_450named targetofficial cintermediary comp_451named interpolation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_7011.class_7012The field for theinterpolationrecord component.private final Vec3fThe field for thetargetrecord component.private final floatThe field for thetimestamprecord component. -
Constructor Summary
Constructors -
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.Returns the value of theinterpolationrecord component.target()Returns the value of thetargetrecord component.floatReturns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
timestamp
private final float timestampThe field for thetimestamprecord component. -
target
The field for thetargetrecord component. -
interpolation
The field for theinterpolationrecord component.
-
-
Constructor Details
-
class_7018
-
-
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 '=='. -
timestamp
public float timestamp()Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
interpolation
Returns the value of theinterpolationrecord component.- Returns:
- the value of the
interpolationrecord component
-