Record Class InterpolationTracker.NoOpInterpolationTracker
java.lang.Object
java.lang.Record
net.minecraft.world.entity.InterpolationTracker.NoOpInterpolationTracker
- All Implemented Interfaces:
InterpolationTracker
- Enclosing interface:
InterpolationTracker
public static record InterpolationTracker.NoOpInterpolationTracker()
extends Record
implements InterpolationTracker
-
Nested Class Summary
Nested classes/interfaces inherited from interface InterpolationTracker
InterpolationTracker.NoOpInterpolationTracker -
Field Summary
Fields inherited from interface InterpolationTracker
NO_OP -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aNoOpInterpolationTrackerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()final booleanIndicates whether some other object is "equal to" this one.getPositionPath(Vec3 trackingPos) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.voidupdateTracking(Vec3 trackingPos)
-
Constructor Details
-
NoOpInterpolationTracker
public NoOpInterpolationTracker()Creates an instance of aNoOpInterpolationTrackerrecord class.
-
-
Method Details
-
updateTracking
- Specified by:
updateTrackingin interfaceInterpolationTracker
-
getPositionPath
- Specified by:
getPositionPathin interfaceInterpolationTracker
-
clear
public void clear()- Specified by:
clearin interfaceInterpolationTracker
-
toString
-
hashCode
-
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.
-