Class VertexConsumerProvider.Immediate

java.lang.Object
net.minecraft.client.render.VertexConsumerProvider.Immediate
All Implemented Interfaces:
VertexConsumerProvider
Enclosing interface:
VertexConsumerProvider

@Environment(CLIENT)
public static class VertexConsumerProvider.Immediate
extends Object
implements VertexConsumerProvider
Mappings:
Namespace Name
official ehq$a
intermediary net/minecraft/class_4597$class_4598
named net/minecraft/client/render/VertexConsumerProvider$Immediate
  • Field Details

    • fallbackBuffer

      protected final BufferBuilder fallbackBuffer
      Mappings:
      Namespace Name Mixin selector
      official a Lehq$a;a:Ldlm;
      intermediary field_20952 Lnet/minecraft/class_4597$class_4598;field_20952:Lnet/minecraft/class_287;
      named fallbackBuffer Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;fallbackBuffer:Lnet/minecraft/client/render/BufferBuilder;
    • layerBuffers

      protected final Map<RenderLayer,​BufferBuilder> layerBuffers
      Mappings:
      Namespace Name Mixin selector
      official b Lehq$a;b:Ljava/util/Map;
      intermediary field_20953 Lnet/minecraft/class_4597$class_4598;field_20953:Ljava/util/Map;
      named layerBuffers Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;layerBuffers:Ljava/util/Map;
    • currentLayer

      protected Optional<RenderLayer> currentLayer
      Mappings:
      Namespace Name Mixin selector
      official c Lehq$a;c:Ljava/util/Optional;
      intermediary field_20954 Lnet/minecraft/class_4597$class_4598;field_20954:Ljava/util/Optional;
      named currentLayer Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;currentLayer:Ljava/util/Optional;
    • activeConsumers

      protected final Set<BufferBuilder> activeConsumers
      Mappings:
      Namespace Name Mixin selector
      official d Lehq$a;d:Ljava/util/Set;
      intermediary field_20955 Lnet/minecraft/class_4597$class_4598;field_20955:Ljava/util/Set;
      named activeConsumers Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;activeConsumers:Ljava/util/Set;
  • Constructor Details

    • Immediate

      protected Immediate​(BufferBuilder fallbackBuffer, Map<RenderLayer,​BufferBuilder> layerBuffers)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lehq$a;<init>(Ldlm;Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_4597$class_4598;<init>(Lnet/minecraft/class_287;Ljava/util/Map;)V
      named <init> Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;<init>(Lnet/minecraft/client/render/BufferBuilder;Ljava/util/Map;)V
  • Method Details

    • getBuffer

      public VertexConsumer getBuffer​(RenderLayer layer)
      Specified by:
      getBuffer in interface VertexConsumerProvider
      Mappings:
      Namespace Name Mixin selector
      official getBuffer Lehq;getBuffer(Lehy;)Ldlv;
      intermediary getBuffer Lnet/minecraft/class_4597;getBuffer(Lnet/minecraft/class_1921;)Lnet/minecraft/class_4588;
      named getBuffer Lnet/minecraft/client/render/VertexConsumerProvider;getBuffer(Lnet/minecraft/client/render/RenderLayer;)Lnet/minecraft/client/render/VertexConsumer;
    • getBufferInternal

      private BufferBuilder getBufferInternal​(RenderLayer layer)
      Mappings:
      Namespace Name Mixin selector
      official b Lehq$a;b(Lehy;)Ldlm;
      intermediary method_22995 Lnet/minecraft/class_4597$class_4598;method_22995(Lnet/minecraft/class_1921;)Lnet/minecraft/class_287;
      named getBufferInternal Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;getBufferInternal(Lnet/minecraft/client/render/RenderLayer;)Lnet/minecraft/client/render/BufferBuilder;
    • draw

      public void draw()
      Mappings:
      Namespace Name Mixin selector
      official a Lehq$a;a()V
      intermediary method_22993 Lnet/minecraft/class_4597$class_4598;method_22993()V
      named draw Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;draw()V
    • draw

      public void draw​(RenderLayer layer)
      Mappings:
      Namespace Name Mixin selector
      official a Lehq$a;a(Lehy;)V
      intermediary method_22994 Lnet/minecraft/class_4597$class_4598;method_22994(Lnet/minecraft/class_1921;)V
      named draw Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;draw(Lnet/minecraft/client/render/RenderLayer;)V