Package net.minecraft.client.render
Class FixedColorVertexConsumer
java.lang.Object
net.minecraft.client.render.FixedColorVertexConsumer
- All Implemented Interfaces:
VertexConsumer
- Direct Known Subclasses:
BufferBuilder
,OutlineVertexConsumerProvider.OutlineVertexConsumer
,OverlayVertexConsumer
@Environment(CLIENT) public abstract class FixedColorVertexConsumer extends Object implements VertexConsumer
-
Field Summary
Fields Modifier and Type Field Description protected boolean
colorFixed
protected int
fixedAlpha
protected int
fixedBlue
protected int
fixedGreen
protected int
fixedRed
Fields inherited from interface net.minecraft.client.render.VertexConsumer
LOGGER
-
Constructor Summary
Constructors Constructor Description FixedColorVertexConsumer()
-
Method Summary
Modifier and Type Method Description void
fixedColor(int red, int green, int blue, int alpha)
-
Field Details
-
colorFixed
protected boolean colorFixed -
fixedRed
protected int fixedRed -
fixedGreen
protected int fixedGreen -
fixedBlue
protected int fixedBlue -
fixedAlpha
protected int fixedAlpha
-
-
Constructor Details
-
FixedColorVertexConsumer
public FixedColorVertexConsumer()
-
-
Method Details
-
fixedColor
public void fixedColor(int red, int green, int blue, int alpha)
-