Package net.minecraft.entity.vehicle
Record Class ExperimentalMinecartController.InterpolatedStep
java.lang.Object
java.lang.Record
net.minecraft.entity.vehicle.ExperimentalMinecartController.InterpolatedStep
- Record Components:
- partialTicksInStep-
- currentStep-
- previousStep-
- Enclosing class:
- ExperimentalMinecartController
private static record ExperimentalMinecartController.InterpolatedStep(float partialTicksInStep, ExperimentalMinecartController.Step currentStep, ExperimentalMinecartController.Step previousStep)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/entity/vehicle/ExperimentalMinecartController$InterpolatedStep- intermediary - net/minecraft/class_9879$class_9881- official - crm$b- named - partialTicksInStep- intermediary - comp_2926- official - a- named - currentStep- intermediary - comp_2927- official - b- named - previousStep- intermediary - comp_2928- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ExperimentalMinecartController.StepThe field for thecurrentSteprecord component.private final floatThe field for thepartialTicksInSteprecord component.private final ExperimentalMinecartController.StepThe field for thepreviousSteprecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionInterpolatedStep(float float2, ExperimentalMinecartController.Step step, ExperimentalMinecartController.Step step2) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thecurrentSteprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.floatReturns the value of thepartialTicksInSteprecord component.Returns the value of thepreviousSteprecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
partialTicksInStepprivate final float partialTicksInStepThe field for thepartialTicksInSteprecord component.
- 
currentStepThe field for thecurrentSteprecord component.
- 
previousStepThe field for thepreviousSteprecord component.
 
- 
- 
Constructor Details- 
InterpolatedStepInterpolatedStep(float float2, ExperimentalMinecartController.Step step, ExperimentalMinecartController.Step step2) 
 
- 
- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
partialTicksInSteppublic float partialTicksInStep()Returns the value of thepartialTicksInSteprecord component.- Returns:
- the value of the partialTicksInSteprecord component
 
- 
currentStepReturns the value of thecurrentSteprecord component.- Returns:
- the value of the currentSteprecord component
 
- 
previousStepReturns the value of thepreviousSteprecord component.- Returns:
- the value of the previousSteprecord component
 
 
-