Class IntProperty
java.lang.Object
foundry.veil.api.client.property.Property<Integer>
foundry.veil.api.client.property.properties.IntProperty
-
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 IntegercloneValue(Integer value) voidmodify(Integer 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
-
IntProperty
public IntProperty(int value)
-
-
Method Details
-
applyValue
- Specified by:
applyValuein classProperty<Integer>
-
modify
public void modify(Integer 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<Integer>
-
cloneValue
- Specified by:
cloneValuein classProperty<Integer>
-