Class FloatProperty
java.lang.Object
foundry.veil.api.client.property.Property<Float>
foundry.veil.api.client.property.properties.FloatProperty
-
Field Summary
Fields inherited from class foundry.veil.api.client.property.Property
overrideValue, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyValue(String name, net.minecraft.client.renderer.ShaderInstance shader) protected FloatcloneValue(Float value) voidmodify(Float value, PropertyModifier.PropertyModifierMode mode, Optional<List<gg.moonflower.molangcompiler.api.MolangExpression>> optionalMolang) protected voidsetQueries(gg.moonflower.molangcompiler.api.MolangRuntime.Builder builder) Methods inherited from class foundry.veil.api.client.property.Property
codec, createCodec, getEnvironment, getType, resetOverrideValue
-
Constructor Details
-
FloatProperty
public FloatProperty(float value)
-
-
Method Details
-
applyValue
- Specified by:
applyValuein classProperty<Float>
-
modify
public void modify(Float value, PropertyModifier.PropertyModifierMode mode, Optional<List<gg.moonflower.molangcompiler.api.MolangExpression>> optionalMolang) -
setQueries
protected void setQueries(gg.moonflower.molangcompiler.api.MolangRuntime.Builder builder) - Overrides:
setQueriesin classProperty<Float>
-
cloneValue
- Specified by:
cloneValuein classProperty<Float>
-