Record Class VeilJobParameters
java.lang.Object
java.lang.Record
foundry.veil.impl.client.render.shader.transformer.VeilJobParameters
public record VeilJobParameters(ShaderModificationManager modificationManager, net.minecraft.resources.ResourceLocation shaderId, int flags)
extends Record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Whether [OUT] is a valid commandstatic final int
Whether the version is required and will be applied -
Constructor Summary
ConstructorDescriptionVeilJobParameters
(ShaderModificationManager modificationManager, net.minecraft.resources.ResourceLocation shaderId, int flags) Creates an instance of aVeilJobParameters
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
allowOut()
boolean
final boolean
Indicates whether some other object is "equal to" this one.int
flags()
Returns the value of theflags
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of themodificationManager
record component.net.minecraft.resources.ResourceLocation
shaderId()
Returns the value of theshaderId
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
APPLY_VERSION
public static final int APPLY_VERSIONWhether the version is required and will be applied- See Also:
-
ALLOW_OUT
public static final int ALLOW_OUTWhether [OUT] is a valid command- See Also:
-
-
Constructor Details
-
VeilJobParameters
public VeilJobParameters(ShaderModificationManager modificationManager, net.minecraft.resources.ResourceLocation shaderId, int flags) Creates an instance of aVeilJobParameters
record class.- Parameters:
modificationManager
- the value for themodificationManager
record componentshaderId
- the value for theshaderId
record componentflags
- the value for theflags
record component
-
-
Method Details
-
modifiers
-
applyVersion
public boolean applyVersion() -
allowOut
public boolean allowOut() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
modificationManager
Returns the value of themodificationManager
record component.- Returns:
- the value of the
modificationManager
record component
-
shaderId
public net.minecraft.resources.ResourceLocation shaderId()Returns the value of theshaderId
record component.- Returns:
- the value of the
shaderId
record component
-
flags
public int flags()Returns the value of theflags
record component.- Returns:
- the value of the
flags
record component
-