Package net.minecraft.client.particle
Record Class BillboardParticle.RenderType
java.lang.Object
java.lang.Record
net.minecraft.client.particle.BillboardParticle.RenderType
- Record Components:
translucent-textureAtlasLocation-pipeline-
- Enclosing class:
BillboardParticle
@Environment(CLIENT)
public static record BillboardParticle.RenderType(boolean translucent, Identifier textureAtlasLocation, RenderPipeline pipeline)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/particle/BillboardParticle$RenderTypeintermediary net/minecraft/class_3940$class_11941official hdo$bnamed translucentintermediary comp_4894official dnamed textureAtlasLocationintermediary comp_4895official enamed pipelineintermediary comp_4896official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BillboardParticle.RenderTypestatic final BillboardParticle.RenderTypestatic final BillboardParticle.RenderTypeprivate final RenderPipelineThe field for thepipelinerecord component.private final IdentifierThe field for thetextureAtlasLocationrecord component.private final booleanThe field for thetranslucentrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionRenderType(boolean bool, Identifier identifier, RenderPipeline renderPipeline) -
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.pipeline()Returns the value of thepipelinerecord component.Returns the value of thetextureAtlasLocationrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thetranslucentrecord component.
-
Field Details
-
translucent
private final boolean translucentThe field for thetranslucentrecord component. -
textureAtlasLocation
The field for thetextureAtlasLocationrecord component. -
pipeline
The field for thepipelinerecord component. -
BLOCK_ATLAS_TRANSLUCENT
- Mappings:
Namespace Name Mixin selector named BLOCK_ATLAS_TRANSLUCENTLnet/minecraft/client/particle/BillboardParticle$RenderType;BLOCK_ATLAS_TRANSLUCENT:Lnet/minecraft/client/particle/BillboardParticle$RenderType;intermediary field_62639Lnet/minecraft/class_3940$class_11941;field_62639:Lnet/minecraft/class_3940$class_11941;official aLhdo$b;a:Lhdo$b;
-
PARTICLE_ATLAS_OPAQUE
- Mappings:
Namespace Name Mixin selector named PARTICLE_ATLAS_OPAQUELnet/minecraft/client/particle/BillboardParticle$RenderType;PARTICLE_ATLAS_OPAQUE:Lnet/minecraft/client/particle/BillboardParticle$RenderType;intermediary field_62640Lnet/minecraft/class_3940$class_11941;field_62640:Lnet/minecraft/class_3940$class_11941;official bLhdo$b;b:Lhdo$b;
-
PARTICLE_ATLAS_TRANSLUCENT
- Mappings:
Namespace Name Mixin selector named PARTICLE_ATLAS_TRANSLUCENTLnet/minecraft/client/particle/BillboardParticle$RenderType;PARTICLE_ATLAS_TRANSLUCENT:Lnet/minecraft/client/particle/BillboardParticle$RenderType;intermediary field_62641Lnet/minecraft/class_3940$class_11941;field_62641:Lnet/minecraft/class_3940$class_11941;official cLhdo$b;c:Lhdo$b;
-
-
Constructor Details
-
RenderType
-
-
Method Details
-
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 '=='. -
translucent
public boolean translucent()Returns the value of thetranslucentrecord component.- Returns:
- the value of the
translucentrecord component
-
textureAtlasLocation
Returns the value of thetextureAtlasLocationrecord component.- Returns:
- the value of the
textureAtlasLocationrecord component
-
pipeline
Returns the value of thepipelinerecord component.- Returns:
- the value of the
pipelinerecord component
-