Interface ParticleTextureSheet


@Environment(CLIENT) public interface ParticleTextureSheet
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. begin(Tessellator, TextureManager) is first called to set up render state.

Mappings:
Namespace Name
named net/minecraft/client/particle/ParticleTextureSheet
intermediary net/minecraft/class_3999
official giv
  • Field Details

    • TERRAIN_SHEET

      static final ParticleTextureSheet 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 Lgiv;a:Lgiv;
    • PARTICLE_SHEET_OPAQUE

      static final ParticleTextureSheet 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 Lgiv;b:Lgiv;
    • PARTICLE_SHEET_TRANSLUCENT

      static final ParticleTextureSheet 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 Lgiv;c:Lgiv;
    • CUSTOM

      static final ParticleTextureSheet 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 Lgiv;d:Lgiv;
    • NO_RENDER

      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 e Lgiv;e:Lgiv;
  • Method Details

    • begin

      @Nullable @Nullable BufferBuilder begin(Tessellator tessellator, TextureManager textureManager)
      Called to set up OpenGL render state for drawing particles of a given type.
      Parameters:
      textureManager - texture loading context
      Mappings:
      Namespace Name Mixin selector
      named begin Lnet/minecraft/client/particle/ParticleTextureSheet;begin(Lnet/minecraft/client/render/Tessellator;Lnet/minecraft/client/texture/TextureManager;)Lnet/minecraft/client/render/BufferBuilder;
      intermediary method_18130 Lnet/minecraft/class_3999;method_18130(Lnet/minecraft/class_289;Lnet/minecraft/class_1060;)Lnet/minecraft/class_287;
      official a Lgiv;a(Lfgt;Lhbl;)Lfgm;