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$RenderType
intermediary net/minecraft/class_3940$class_11941
official hdo$b
named translucent
intermediary comp_4894
official d
named textureAtlasLocation
intermediary comp_4895
official e
named pipeline
intermediary comp_4896
official f
  • Field Details

    • translucent

      private final boolean translucent
      The field for the translucent record component.
    • textureAtlasLocation

      private final Identifier textureAtlasLocation
      The field for the textureAtlasLocation record component.
    • pipeline

      private final RenderPipeline pipeline
      The field for the pipeline record component.
    • BLOCK_ATLAS_TRANSLUCENT

      public static final BillboardParticle.RenderType BLOCK_ATLAS_TRANSLUCENT
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_ATLAS_TRANSLUCENT Lnet/minecraft/client/particle/BillboardParticle$RenderType;BLOCK_ATLAS_TRANSLUCENT:Lnet/minecraft/client/particle/BillboardParticle$RenderType;
      intermediary field_62639 Lnet/minecraft/class_3940$class_11941;field_62639:Lnet/minecraft/class_3940$class_11941;
      official a Lhdo$b;a:Lhdo$b;
    • PARTICLE_ATLAS_OPAQUE

      public static final BillboardParticle.RenderType PARTICLE_ATLAS_OPAQUE
      Mappings:
      Namespace Name Mixin selector
      named PARTICLE_ATLAS_OPAQUE Lnet/minecraft/client/particle/BillboardParticle$RenderType;PARTICLE_ATLAS_OPAQUE:Lnet/minecraft/client/particle/BillboardParticle$RenderType;
      intermediary field_62640 Lnet/minecraft/class_3940$class_11941;field_62640:Lnet/minecraft/class_3940$class_11941;
      official b Lhdo$b;b:Lhdo$b;
    • PARTICLE_ATLAS_TRANSLUCENT

      public static final BillboardParticle.RenderType PARTICLE_ATLAS_TRANSLUCENT
      Mappings:
      Namespace Name Mixin selector
      named PARTICLE_ATLAS_TRANSLUCENT Lnet/minecraft/client/particle/BillboardParticle$RenderType;PARTICLE_ATLAS_TRANSLUCENT:Lnet/minecraft/client/particle/BillboardParticle$RenderType;
      intermediary field_62641 Lnet/minecraft/class_3940$class_11941;field_62641:Lnet/minecraft/class_3940$class_11941;
      official c Lhdo$b;c:Lhdo$b;
  • Constructor Details

  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • translucent

      public boolean translucent()
      Returns the value of the translucent record component.
      Returns:
      the value of the translucent record component
    • textureAtlasLocation

      public Identifier textureAtlasLocation()
      Returns the value of the textureAtlasLocation record component.
      Returns:
      the value of the textureAtlasLocation record component
    • pipeline

      public RenderPipeline pipeline()
      Returns the value of the pipeline record component.
      Returns:
      the value of the pipeline record component