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.
 
 Each Particle returns a sheet in Particle.getType().
 When particles are rendered, each sheet will be drawn once.
 
 is first called to set up render state.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 SummaryFieldsModifier and TypeFieldDescriptionstatic final ParticleTextureSheetprivate final StringThe field for thenamerecord component.static final ParticleTextureSheetstatic final ParticleTextureSheetstatic final ParticleTextureSheetprivate final @Nullable RenderLayerThe field for therenderTyperecord component.static final ParticleTextureSheet
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Returns the value of therenderTyperecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
nameThe field for thenamerecord component.
- 
renderTypeThe field for therenderTyperecord 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- 
ParticleTextureSheet
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
nameReturns the value of thenamerecord component.- Returns:
- the value of the namerecord component
 
- 
renderTypeReturns the value of therenderTyperecord component.- Returns:
- the value of the renderTyperecord component
 
 
-