Record Class QuadParticleFeatureRenderer.Submit
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.feature.QuadParticleFeatureRenderer.Submit
- All Implemented Interfaces:
SubmitNode
- Enclosing class:
QuadParticleFeatureRenderer
public static record QuadParticleFeatureRenderer.Submit(QuadParticleRenderState particles, boolean translucent)
extends Record
implements SubmitNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final QuadParticleRenderStateThe field for theparticlesrecord component.private final booleanThe field for thetranslucentrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSubmit(QuadParticleRenderState particles, boolean translucent) Creates an instance of aSubmitrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparticlesrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thetranslucentrecord component.
-
Field Details
-
particles
The field for theparticlesrecord component. -
translucent
private final boolean translucentThe field for thetranslucentrecord component.
-
-
Constructor Details
-
Submit
Creates an instance of aSubmitrecord class.- Parameters:
particles- the value for theparticlesrecord componenttranslucent- the value for thetranslucentrecord component
-
-
Method Details
-
featureType
- Specified by:
featureTypein interfaceSubmitNode
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
particles
Returns the value of theparticlesrecord component.- Returns:
- the value of the
particlesrecord component
-
translucent
public boolean translucent()Returns the value of thetranslucentrecord component.- Returns:
- the value of the
translucentrecord component
-