Class Sampler2DProperty
java.lang.Object
foundry.veil.api.client.property.Property<net.minecraft.client.renderer.texture.AbstractTexture>
foundry.veil.api.client.property.properties.Sampler2DProperty
public class Sampler2DProperty
extends Property<net.minecraft.client.renderer.texture.AbstractTexture>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<Sampler2DProperty> 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 net.minecraft.client.renderer.texture.AbstractTexturecloneValue(net.minecraft.client.renderer.texture.AbstractTexture value) voidmodify(net.minecraft.client.renderer.texture.AbstractTexture 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
-
CODEC
-
-
Constructor Details
-
Sampler2DProperty
public Sampler2DProperty(net.minecraft.resources.ResourceLocation value)
-
-
Method Details
-
applyValue
- Specified by:
applyValuein classProperty<net.minecraft.client.renderer.texture.AbstractTexture>
-
modify
public void modify(net.minecraft.client.renderer.texture.AbstractTexture value, PropertyModifier.PropertyModifierMode mode, Optional<List<gg.moonflower.molangcompiler.api.MolangExpression>> optionalMolang) -
cloneValue
protected net.minecraft.client.renderer.texture.AbstractTexture cloneValue(net.minecraft.client.renderer.texture.AbstractTexture value) - Specified by:
cloneValuein classProperty<net.minecraft.client.renderer.texture.AbstractTexture>
-