Package net.minecraft.client.particle
Record Class ParticleTextureSheet
java.lang.Object
java.lang.Record
net.minecraft.client.particle.ParticleTextureSheet
- Record Components:
name-
Defines rendering setup and draw logic for particles based on their requirements for depth checking, textures, and transparency.
Each Particle returns a sheet in
.
When particles are rendered, each sheet will be drawn once.invalid reference
Particle#getType()
- Mappings:
Namespace Name named net/minecraft/client/particle/ParticleTextureSheetintermediary net/minecraft/class_3999official hddnamed nameintermediary comp_3340official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParticleTextureSheetstatic final ParticleTextureSheetprivate final StringThe field for thenamerecord component.static final ParticleTextureSheetstatic final ParticleTextureSheet -
Constructor Summary
Constructors -
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.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
name
The field for thenamerecord component. -
SINGLE_QUADS
- Mappings:
Namespace Name Mixin selector named SINGLE_QUADSLnet/minecraft/client/particle/ParticleTextureSheet;SINGLE_QUADS:Lnet/minecraft/client/particle/ParticleTextureSheet;intermediary field_62622Lnet/minecraft/class_3999;field_62622:Lnet/minecraft/class_3999;official aLhdd;a:Lhdd;
-
ITEM_PICKUP
- Mappings:
Namespace Name Mixin selector named ITEM_PICKUPLnet/minecraft/client/particle/ParticleTextureSheet;ITEM_PICKUP:Lnet/minecraft/client/particle/ParticleTextureSheet;intermediary field_62623Lnet/minecraft/class_3999;field_62623:Lnet/minecraft/class_3999;official bLhdd;b:Lhdd;
-
ELDER_GUARDIANS
- Mappings:
Namespace Name Mixin selector named ELDER_GUARDIANSLnet/minecraft/client/particle/ParticleTextureSheet;ELDER_GUARDIANS:Lnet/minecraft/client/particle/ParticleTextureSheet;intermediary field_62624Lnet/minecraft/class_3999;field_62624:Lnet/minecraft/class_3999;official cLhdd;c:Lhdd;
-
NO_RENDER
- Mappings:
Namespace Name Mixin selector named NO_RENDERLnet/minecraft/client/particle/ParticleTextureSheet;NO_RENDER:Lnet/minecraft/client/particle/ParticleTextureSheet;intermediary field_17832Lnet/minecraft/class_3999;field_17832:Lnet/minecraft/class_3999;official dLhdd;d:Lhdd;
-
-
Constructor Details
-
ParticleTextureSheet
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-