Package net.minecraft.client.particle
Record Class ParticleTextureSheet
java.lang.Object
java.lang.Record
net.minecraft.client.particle.ParticleTextureSheet
- Record Components:
name
-renderType
-
@Environment(CLIENT)
public record ParticleTextureSheet(String name, @Nullable RenderLayer renderType)
extends Record
Defines rendering setup and draw logic for particles based on their requirements for depth checking, textures, and transparency.
is first called to set up render state.
Each Particle
returns a sheet in Particle.getType()
.
When particles are rendered, each sheet will be drawn once.
invalid reference
#begin(Tessellator, TextureManager)
- Mappings:
Namespace Name named net/minecraft/client/particle/ParticleTextureSheet
intermediary net/minecraft/class_3999
official gjm
named name
intermediary comp_3340
official f
named renderType
intermediary comp_3341
official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParticleTextureSheet
private final String
The field for thename
record component.static final ParticleTextureSheet
static final ParticleTextureSheet
static final ParticleTextureSheet
private final @Nullable RenderLayer
The field for therenderType
record component.static final ParticleTextureSheet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.Returns the value of therenderType
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
name
The field for thename
record component. -
renderType
The field for therenderType
record component. -
TERRAIN_SHEET
- Mappings:
Namespace Name Mixin selector named TERRAIN_SHEET
Lnet/minecraft/client/particle/ParticleTextureSheet;TERRAIN_SHEET:Lnet/minecraft/client/particle/ParticleTextureSheet;
intermediary field_17827
Lnet/minecraft/class_3999;field_17827:Lnet/minecraft/class_3999;
official a
Lgjm;a:Lgjm;
-
PARTICLE_SHEET_OPAQUE
- Mappings:
Namespace Name Mixin selector named PARTICLE_SHEET_OPAQUE
Lnet/minecraft/client/particle/ParticleTextureSheet;PARTICLE_SHEET_OPAQUE:Lnet/minecraft/client/particle/ParticleTextureSheet;
intermediary field_17828
Lnet/minecraft/class_3999;field_17828:Lnet/minecraft/class_3999;
official b
Lgjm;b:Lgjm;
-
PARTICLE_SHEET_TRANSLUCENT
- Mappings:
Namespace Name Mixin selector named PARTICLE_SHEET_TRANSLUCENT
Lnet/minecraft/client/particle/ParticleTextureSheet;PARTICLE_SHEET_TRANSLUCENT:Lnet/minecraft/client/particle/ParticleTextureSheet;
intermediary field_17829
Lnet/minecraft/class_3999;field_17829:Lnet/minecraft/class_3999;
official c
Lgjm;c:Lgjm;
-
CUSTOM
- Mappings:
Namespace Name Mixin selector named CUSTOM
Lnet/minecraft/client/particle/ParticleTextureSheet;CUSTOM:Lnet/minecraft/client/particle/ParticleTextureSheet;
intermediary field_17831
Lnet/minecraft/class_3999;field_17831:Lnet/minecraft/class_3999;
official d
Lgjm;d:Lgjm;
-
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 e
Lgjm;e:Lgjm;
-
-
Constructor Details
-
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 thename
record component.- Returns:
- the value of the
name
record component
-
renderType
Returns the value of therenderType
record component.- Returns:
- the value of the
renderType
record component
-