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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
OutlineVertexConsumerProvider.OutlineVertexConsumer
Nested classes/interfaces inherited from interface net.minecraft.client.render.VertexConsumerProvider
VertexConsumerProvider.Immediate
-
Field Summary
Fields Modifier and Type Field Description private int
alpha
private int
blue
private int
green
private VertexConsumerProvider.Immediate
parent
private VertexConsumerProvider.Immediate
plainDrawer
private int
red
-
Constructor Summary
Constructors Constructor Description OutlineVertexConsumerProvider(VertexConsumerProvider.Immediate immediate)
-
Method Summary
Modifier and Type Method Description void
draw()
VertexConsumer
getBuffer(RenderLayer layer)
void
setColor(int red, int green, int blue, int alpha)
-
Field Details
-
parent
-
plainDrawer
-
red
private int red -
green
private int green -
blue
private int blue -
alpha
private int alpha
-
-
Constructor Details
-
OutlineVertexConsumerProvider
-
-
Method Details
-
getBuffer
- Specified by:
getBuffer
in interfaceVertexConsumerProvider
-
setColor
public void setColor(int red, int green, int blue, int alpha) -
draw
public void draw()
-