Package net.minecraft.client.render
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$aintermediary net/minecraft/class_4597$class_4598named net/minecraft/client/render/VertexConsumerProvider$Immediate
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.render.VertexConsumerProvider
VertexConsumerProvider.Immediate -
Field Summary
Fields Modifier and Type Field Description protected Set<BufferBuilder>activeConsumersprotected Optional<RenderLayer>currentLayerprotected BufferBuilderfallbackBufferprotected Map<RenderLayer,BufferBuilder>layerBuffers -
Constructor Summary
Constructors Modifier Constructor Description protectedImmediate(BufferBuilder fallbackBuffer, Map<RenderLayer,BufferBuilder> layerBuffers) -
Method Summary
Modifier and Type Method Description voiddraw()voiddraw(RenderLayer layer)VertexConsumergetBuffer(RenderLayer layer)private BufferBuildergetBufferInternal(RenderLayer layer)
-
Field Details
-
fallbackBuffer
- Mappings:
Namespace Name Mixin selector official aLehq$a;a:Ldlm;intermediary field_20952Lnet/minecraft/class_4597$class_4598;field_20952:Lnet/minecraft/class_287;named fallbackBufferLnet/minecraft/client/render/VertexConsumerProvider$Immediate;fallbackBuffer:Lnet/minecraft/client/render/BufferBuilder;
-
layerBuffers
- Mappings:
Namespace Name Mixin selector official bLehq$a;b:Ljava/util/Map;intermediary field_20953Lnet/minecraft/class_4597$class_4598;field_20953:Ljava/util/Map;named layerBuffersLnet/minecraft/client/render/VertexConsumerProvider$Immediate;layerBuffers:Ljava/util/Map;
-
currentLayer
- Mappings:
Namespace Name Mixin selector official cLehq$a;c:Ljava/util/Optional;intermediary field_20954Lnet/minecraft/class_4597$class_4598;field_20954:Ljava/util/Optional;named currentLayerLnet/minecraft/client/render/VertexConsumerProvider$Immediate;currentLayer:Ljava/util/Optional;
-
activeConsumers
- Mappings:
Namespace Name Mixin selector official dLehq$a;d:Ljava/util/Set;intermediary field_20955Lnet/minecraft/class_4597$class_4598;field_20955:Ljava/util/Set;named activeConsumersLnet/minecraft/client/render/VertexConsumerProvider$Immediate;activeConsumers:Ljava/util/Set;
-
-
Constructor Details
-
Immediate
- Mappings:
Namespace Name Mixin selector official <init>Lehq$a;<init>(Ldlm;Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_4597$class_4598;<init>(Lnet/minecraft/class_287;Ljava/util/Map;)Vnamed <init>Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;<init>(Lnet/minecraft/client/render/BufferBuilder;Ljava/util/Map;)V
-
-
Method Details
-
getBuffer
- Specified by:
getBufferin interfaceVertexConsumerProvider- Mappings:
Namespace Name Mixin selector official getBufferLehq;getBuffer(Lehy;)Ldlv;intermediary getBufferLnet/minecraft/class_4597;getBuffer(Lnet/minecraft/class_1921;)Lnet/minecraft/class_4588;named getBufferLnet/minecraft/client/render/VertexConsumerProvider;getBuffer(Lnet/minecraft/client/render/RenderLayer;)Lnet/minecraft/client/render/VertexConsumer;
-
getBufferInternal
- Mappings:
Namespace Name Mixin selector official bLehq$a;b(Lehy;)Ldlm;intermediary method_22995Lnet/minecraft/class_4597$class_4598;method_22995(Lnet/minecraft/class_1921;)Lnet/minecraft/class_287;named getBufferInternalLnet/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 aLehq$a;a()Vintermediary method_22993Lnet/minecraft/class_4597$class_4598;method_22993()Vnamed drawLnet/minecraft/client/render/VertexConsumerProvider$Immediate;draw()V
-
draw
- Mappings:
Namespace Name Mixin selector official aLehq$a;a(Lehy;)Vintermediary method_22994Lnet/minecraft/class_4597$class_4598;method_22994(Lnet/minecraft/class_1921;)Vnamed drawLnet/minecraft/client/render/VertexConsumerProvider$Immediate;draw(Lnet/minecraft/client/render/RenderLayer;)V
-