Record Class VeilJobParameters
java.lang.Object
java.lang.Record
foundry.veil.impl.client.render.shader.modifier.VeilJobParameters
public record VeilJobParameters(ShaderModificationManager modificationManager, net.minecraft.resources.ResourceLocation shaderId, int flags)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intWhether [OUT] is a valid commandstatic final intWhether the version is required and will be applied -
Constructor Summary
ConstructorsConstructorDescriptionVeilJobParameters(ShaderModificationManager modificationManager, net.minecraft.resources.ResourceLocation shaderId, int flags) Creates an instance of aVeilJobParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowOut()booleanfinal booleanIndicates whether some other object is "equal to" this one.intflags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themodificationManagerrecord component.net.minecraft.resources.ResourceLocationshaderId()Returns the value of theshaderIdrecord component.final StringtoString()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 aVeilJobParametersrecord class.- Parameters:
modificationManager- the value for themodificationManagerrecord componentshaderId- the value for theshaderIdrecord componentflags- the value for theflagsrecord 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 themodificationManagerrecord component.- Returns:
- the value of the
modificationManagerrecord component
-
shaderId
public net.minecraft.resources.ResourceLocation shaderId()Returns the value of theshaderIdrecord component.- Returns:
- the value of the
shaderIdrecord component
-
flags
public int flags()Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-