Uses of Interface
net.minecraft.world.attribute.LerpFunction
Packages that use LerpFunction
Package
Description
-
Uses of LerpFunction in net.minecraft.util
Fields in net.minecraft.util declared as LerpFunctionMethods in net.minecraft.util with parameters of type LerpFunctionModifier and TypeMethodDescriptionKeyframeTrack.bakeSampler(Optional<Integer> pPeriodTicks, LerpFunction<T> pLerp) Constructors in net.minecraft.util with parameters of type LerpFunctionModifierConstructorDescription(package private)KeyframeTrackSampler(KeyframeTrack<T> pTrack, Optional<Integer> pPeriodTicks, LerpFunction<T> pLerp) -
Uses of LerpFunction in net.minecraft.world.attribute
Fields in net.minecraft.world.attribute declared as LerpFunctionModifier and TypeFieldDescriptionprivate final LerpFunction<Value> AttributeType.keyframeLerpThe field for thekeyframeLerprecord component.private final LerpFunction<Value> AttributeType.partialTickLerpThe field for thepartialTickLerprecord component.private final LerpFunction<Value> AttributeType.spatialLerpThe field for thespatialLerprecord component.private final LerpFunction<Value> AttributeType.stateChangeLerpThe field for thestateChangeLerprecord component.Methods in net.minecraft.world.attribute that return LerpFunctionModifier and TypeMethodDescriptionAttributeType.keyframeLerp()Returns the value of thekeyframeLerprecord component.static LerpFunction<Integer> LerpFunction.ofColor()static <T> LerpFunction<T> LerpFunction.ofConstant()static LerpFunction<Float> LerpFunction.ofDegrees(float pDegrees) static LerpFunction<Float> LerpFunction.ofFloat()static <T> LerpFunction<T> LerpFunction.ofStep(float pStep) AttributeType.partialTickLerp()Returns the value of thepartialTickLerprecord component.AttributeType.spatialLerp()Returns the value of thespatialLerprecord component.AttributeType.stateChangeLerp()Returns the value of thestateChangeLerprecord component.Methods in net.minecraft.world.attribute with parameters of type LerpFunctionModifier and TypeMethodDescriptionstatic <Value> AttributeType<Value> AttributeType.ofInterpolated(com.mojang.serialization.Codec<Value> pValueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> pModifierLibrary, LerpFunction<Value> pSpatialLerp) static <Value> AttributeType<Value> AttributeType.ofInterpolated(com.mojang.serialization.Codec<Value> pValueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> pModifierLibrary, LerpFunction<Value> pSpatialLerp, LerpFunction<Value> pPartialTickLerp) Constructors in net.minecraft.world.attribute with parameters of type LerpFunctionModifierConstructorDescriptionAttributeType(com.mojang.serialization.Codec<Value> valueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifierLibrary, com.mojang.serialization.Codec<AttributeModifier<Value, ?>> modifierCodec, LerpFunction<Value> keyframeLerp, LerpFunction<Value> stateChangeLerp, LerpFunction<Value> spatialLerp, LerpFunction<Value> partialTickLerp) Creates an instance of aAttributeTyperecord class. -
Uses of LerpFunction in net.minecraft.world.attribute.modifier
Methods in net.minecraft.world.attribute.modifier that return LerpFunctionModifier and TypeMethodDescriptionAttributeModifier.argumentKeyframeLerp(EnvironmentAttribute<Subject> pAttribute) AttributeModifier.OverrideModifier.argumentKeyframeLerp(EnvironmentAttribute<Value> p_467925_) BooleanModifier.argumentKeyframeLerp(EnvironmentAttribute<Boolean> p_469095_) default LerpFunction<Integer> ColorModifier.ArgbModifier.argumentKeyframeLerp(EnvironmentAttribute<Integer> p_468908_) default LerpFunction<Integer> ColorModifier.RgbModifier.argumentKeyframeLerp(EnvironmentAttribute<Integer> p_469444_) default LerpFunction<Float> FloatModifier.Simple.argumentKeyframeLerp(EnvironmentAttribute<Float> p_469144_) -
Uses of LerpFunction in net.minecraft.world.timeline
Constructors in net.minecraft.world.timeline with parameters of type LerpFunctionModifierConstructorDescriptionAttributeTrackSampler(Optional<Integer> pPeriodTicks, AttributeModifier<Value, Argument> pModifier, KeyframeTrack<Argument> pTrack, LerpFunction<Argument> pLerp, LongSupplier pDayTimeGetter)