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
- Mappings:
Namespace Name official elo
intermediary net/minecraft/class_4585
named net/minecraft/client/render/FixedColorVertexConsumer
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected int
protected int
protected int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fixedColor
(int red, int green, int blue, int alpha) Makes this consumer always use the same color for subsequent vertices untilVertexConsumer.unfixColor()
is called.void
Makes this consumer no longer use the color set inVertexConsumer.fixedColor(int, int, int, int)
.
-
Field Details
-
colorFixed
protected boolean colorFixed- Mappings:
Namespace Name Mixin selector official a
Lelo;a:Z
intermediary field_20889
Lnet/minecraft/class_4585;field_20889:Z
named colorFixed
Lnet/minecraft/client/render/FixedColorVertexConsumer;colorFixed:Z
-
fixedRed
protected int fixedRed- Mappings:
Namespace Name Mixin selector official b
Lelo;b:I
intermediary field_20890
Lnet/minecraft/class_4585;field_20890:I
named fixedRed
Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedRed:I
-
fixedGreen
protected int fixedGreen- Mappings:
Namespace Name Mixin selector official c
Lelo;c:I
intermediary field_20891
Lnet/minecraft/class_4585;field_20891:I
named fixedGreen
Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedGreen:I
-
fixedBlue
protected int fixedBlue- Mappings:
Namespace Name Mixin selector official d
Lelo;d:I
intermediary field_20892
Lnet/minecraft/class_4585;field_20892:I
named fixedBlue
Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedBlue:I
-
fixedAlpha
protected int fixedAlpha- Mappings:
Namespace Name Mixin selector official e
Lelo;e:I
intermediary field_20893
Lnet/minecraft/class_4585;field_20893:I
named fixedAlpha
Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedAlpha:I
-
-
Constructor Details
-
FixedColorVertexConsumer
public FixedColorVertexConsumer()
-
-
Method Details
-
fixedColor
public void fixedColor(int red, int green, int blue, int alpha) Makes this consumer always use the same color for subsequent vertices untilVertexConsumer.unfixColor()
is called.The color will be automatically supplied when the color element is requested. Make sure not to specify the color yourself when using this method.
- Specified by:
fixedColor
in interfaceVertexConsumer
- Mappings:
Namespace Name Mixin selector official b
Lelt;b(IIII)V
intermediary method_22901
Lnet/minecraft/class_4588;method_22901(IIII)V
named fixedColor
Lnet/minecraft/client/render/VertexConsumer;fixedColor(IIII)V
-
unfixColor
public void unfixColor()Makes this consumer no longer use the color set inVertexConsumer.fixedColor(int, int, int, int)
.- Specified by:
unfixColor
in interfaceVertexConsumer
- Mappings:
Namespace Name Mixin selector official k
Lelt;k()V
intermediary method_35666
Lnet/minecraft/class_4588;method_35666()V
named unfixColor
Lnet/minecraft/client/render/VertexConsumer;unfixColor()V
-