Record Class ParticleTextureSheet

java.lang.Object
java.lang.Record
net.minecraft.client.particle.ParticleTextureSheet
Record Components:
name -

@Environment(CLIENT) public record ParticleTextureSheet(String name) extends Record
Defines rendering setup and draw logic for particles based on their requirements for depth checking, textures, and transparency.

Each Particle returns a sheet in

invalid reference
Particle#getType()
. When particles are rendered, each sheet will be drawn once.
Mappings:
Namespace Name
named net/minecraft/client/particle/ParticleTextureSheet
intermediary net/minecraft/class_3999
official hdd
named name
intermediary comp_3340
official e
  • Field Details

    • name

      private final String name
      The field for the name record component.
    • SINGLE_QUADS

      public static final ParticleTextureSheet SINGLE_QUADS
      Mappings:
      Namespace Name Mixin selector
      named SINGLE_QUADS Lnet/minecraft/client/particle/ParticleTextureSheet;SINGLE_QUADS:Lnet/minecraft/client/particle/ParticleTextureSheet;
      intermediary field_62622 Lnet/minecraft/class_3999;field_62622:Lnet/minecraft/class_3999;
      official a Lhdd;a:Lhdd;
    • ITEM_PICKUP

      public static final ParticleTextureSheet ITEM_PICKUP
      Mappings:
      Namespace Name Mixin selector
      named ITEM_PICKUP Lnet/minecraft/client/particle/ParticleTextureSheet;ITEM_PICKUP:Lnet/minecraft/client/particle/ParticleTextureSheet;
      intermediary field_62623 Lnet/minecraft/class_3999;field_62623:Lnet/minecraft/class_3999;
      official b Lhdd;b:Lhdd;
    • ELDER_GUARDIANS

      public static final ParticleTextureSheet ELDER_GUARDIANS
      Mappings:
      Namespace Name Mixin selector
      named ELDER_GUARDIANS Lnet/minecraft/client/particle/ParticleTextureSheet;ELDER_GUARDIANS:Lnet/minecraft/client/particle/ParticleTextureSheet;
      intermediary field_62624 Lnet/minecraft/class_3999;field_62624:Lnet/minecraft/class_3999;
      official c Lhdd;c:Lhdd;
    • NO_RENDER

      public static final ParticleTextureSheet NO_RENDER
      Mappings:
      Namespace Name Mixin selector
      named NO_RENDER Lnet/minecraft/client/particle/ParticleTextureSheet;NO_RENDER:Lnet/minecraft/client/particle/ParticleTextureSheet;
      intermediary field_17832 Lnet/minecraft/class_3999;field_17832:Lnet/minecraft/class_3999;
      official d Lhdd;d:Lhdd;
  • Constructor Details

    • ParticleTextureSheet

      public ParticleTextureSheet(String string)
  • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component