Class RandomFloatProperty
java.lang.Object
foundry.veil.api.client.property.Property<Float>
foundry.veil.api.client.property.properties.RandomFloatProperty
A property that applies a random value each time.
Added as a default property named_Seed in all FlareMaterial that have FlareMaterial.randomizeSeed() set to true.-
Field Summary
FieldsFields inherited from class foundry.veil.api.client.property.Property
overrideValue, value -
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) Methods inherited from class foundry.veil.api.client.property.Property
codec, createCodec, getEnvironment, getType, resetOverrideValue, setQueries
-
Field Details
-
INSTANCE
-
-
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) -
cloneValue
- Specified by:
cloneValuein classProperty<Float>
-