Package net.minecraft.client.render
Class OutlineVertexConsumerProvider
java.lang.Object
net.minecraft.client.render.OutlineVertexConsumerProvider
- All Implemented Interfaces:
VertexConsumerProvider
@Environment(CLIENT)
public class OutlineVertexConsumerProvider
extends Object
implements VertexConsumerProvider
- Mappings:
Namespace Name named net/minecraft/client/render/OutlineVertexConsumerProvider
intermediary net/minecraft/class_4618
official gfa
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
Nested classes/interfaces inherited from interface net.minecraft.client.render.VertexConsumerProvider
VertexConsumerProvider.Immediate
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private int
private final VertexConsumerProvider.Immediate
private final VertexConsumerProvider.Immediate
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw()
getBuffer
(RenderLayer layer) Starts building a buffer that will be drawn withlayer
.void
setColor
(int red, int green, int blue, int alpha)
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/render/OutlineVertexConsumerProvider;parent:Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;
intermediary field_21058
Lnet/minecraft/class_4618;field_21058:Lnet/minecraft/class_4597$class_4598;
official a
Lgfa;a:Lgez$a;
-
plainDrawer
- Mappings:
Namespace Name Mixin selector named plainDrawer
Lnet/minecraft/client/render/OutlineVertexConsumerProvider;plainDrawer:Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;
intermediary field_21059
Lnet/minecraft/class_4618;field_21059:Lnet/minecraft/class_4597$class_4598;
official b
Lgfa;b:Lgez$a;
-
red
private int red- Mappings:
Namespace Name Mixin selector named red
Lnet/minecraft/client/render/OutlineVertexConsumerProvider;red:I
intermediary field_21060
Lnet/minecraft/class_4618;field_21060:I
official c
Lgfa;c:I
-
green
private int green- Mappings:
Namespace Name Mixin selector named green
Lnet/minecraft/client/render/OutlineVertexConsumerProvider;green:I
intermediary field_21061
Lnet/minecraft/class_4618;field_21061:I
official d
Lgfa;d:I
-
blue
private int blue- Mappings:
Namespace Name Mixin selector named blue
Lnet/minecraft/client/render/OutlineVertexConsumerProvider;blue:I
intermediary field_21062
Lnet/minecraft/class_4618;field_21062:I
official e
Lgfa;e:I
-
alpha
private int alpha- Mappings:
Namespace Name Mixin selector named alpha
Lnet/minecraft/client/render/OutlineVertexConsumerProvider;alpha:I
intermediary field_21063
Lnet/minecraft/class_4618;field_21063:I
official f
Lgfa;f:I
-
-
Constructor Details
-
OutlineVertexConsumerProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/OutlineVertexConsumerProvider;<init>(Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V
intermediary <init>
Lnet/minecraft/class_4618;<init>(Lnet/minecraft/class_4597$class_4598;)V
official <init>
Lgfa;<init>(Lgez$a;)V
-
-
Method Details
-
getBuffer
Starts building a buffer that will be drawn withlayer
.The returned vertex consumer can only be safely used until this method is called with a different render layer.
Note that the user of this method cannot modify states controlled by the render layer. Those states will be overridden by the render layer before drawing them. If you need to set states yourself, consider using
Tessellator
or making a custom render layer.- Specified by:
getBuffer
in interfaceVertexConsumerProvider
- Mappings:
Namespace Name Mixin selector named getBuffer
Lnet/minecraft/client/render/VertexConsumerProvider;getBuffer(Lnet/minecraft/client/render/RenderLayer;)Lnet/minecraft/client/render/VertexConsumer;
intermediary getBuffer
Lnet/minecraft/class_4597;getBuffer(Lnet/minecraft/class_1921;)Lnet/minecraft/class_4588;
official getBuffer
Lgez;getBuffer(Lgfh;)Lfbm;
-
setColor
public void setColor(int red, int green, int blue, int alpha) - Mappings:
Namespace Name Mixin selector named setColor
Lnet/minecraft/client/render/OutlineVertexConsumerProvider;setColor(IIII)V
intermediary method_23286
Lnet/minecraft/class_4618;method_23286(IIII)V
official a
Lgfa;a(IIII)V
-
draw
public void draw()- Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/render/OutlineVertexConsumerProvider;draw()V
intermediary method_23285
Lnet/minecraft/class_4618;method_23285()V
official a
Lgfa;a()V
-