Uses of Interface
net.minecraft.util.ToFloatFunction
Packages that use ToFloatFunction
-
Uses of ToFloatFunction in net.minecraft.commands.arguments.selector
Methods in net.minecraft.commands.arguments.selector with parameters of type ToFloatFunctionModifier and TypeMethodDescriptionEntitySelectorParser.createRotationPredicate(MinMaxBounds.FloatDegrees range, ToFloatFunction<Entity> function) -
Uses of ToFloatFunction in net.minecraft.world.attribute
Fields in net.minecraft.world.attribute declared as ToFloatFunctionModifier and TypeFieldDescriptionprivate final @Nullable ToFloatFunction<Value> AttributeType.toFloatThe field for thetoFloatrecord component.Methods in net.minecraft.world.attribute that return ToFloatFunctionModifier and TypeMethodDescription@Nullable ToFloatFunction<Value> AttributeType.toFloat()Returns the value of thetoFloatrecord component.Methods in net.minecraft.world.attribute with parameters of type ToFloatFunctionModifier and TypeMethodDescriptionstatic <Value> AttributeType<Value> AttributeType.ofInterpolated(Codec<Value> valueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifierLibrary, LerpFunction<Value> lerp, LerpFunction<Value> partialTickLerp, @Nullable ToFloatFunction<Value> toFloat) Constructors in net.minecraft.world.attribute with parameters of type ToFloatFunctionModifierConstructorDescriptionAttributeType(Codec<Value> valueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifierLibrary, Codec<AttributeModifier<Value, ?>> modifierCodec, LerpFunction<Value> keyframeLerp, LerpFunction<Value> stateChangeLerp, LerpFunction<Value> spatialLerp, LerpFunction<Value> partialTickLerp, @Nullable ToFloatFunction<Value> toFloat) Creates an instance of aAttributeTyperecord class.