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> periodTicks, LerpFunction<T> lerp) Constructors in net.minecraft.util with parameters of type LerpFunctionModifierConstructorDescription(package private)KeyframeTrackSampler(KeyframeTrack<T> track, Optional<Integer> periodTicks, LerpFunction<T> lerp) -
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 maxDelta) static LerpFunction<Float> LerpFunction.ofFloat()static <T> LerpFunction<T> LerpFunction.ofStep(float threshold) 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> valueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifierLibrary, LerpFunction<Value> lerp) static <Value> AttributeType<Value> AttributeType.ofInterpolated(com.mojang.serialization.Codec<Value> valueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifierLibrary, LerpFunction<Value> lerp, LerpFunction<Value> partialTickLerp) 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> attribute) AttributeModifier.OverrideModifier.argumentKeyframeLerp(EnvironmentAttribute<Value> attribute) BooleanModifier.argumentKeyframeLerp(EnvironmentAttribute<Boolean> type) default LerpFunction<Integer> ColorModifier.ArgbModifier.argumentKeyframeLerp(EnvironmentAttribute<Integer> type) default LerpFunction<Integer> ColorModifier.RgbModifier.argumentKeyframeLerp(EnvironmentAttribute<Integer> type) default LerpFunction<Float> FloatModifier.Simple.argumentKeyframeLerp(EnvironmentAttribute<Float> type) -
Uses of LerpFunction in net.minecraft.world.timeline
Constructors in net.minecraft.world.timeline with parameters of type LerpFunctionModifierConstructorDescriptionAttributeTrackSampler(Holder<WorldClock> clock, Optional<Integer> periodTicks, AttributeModifier<Value, Argument> modifier, KeyframeTrack<Argument> argumentTrack, LerpFunction<Argument> argumentLerp, ClockManager clockManager)