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 named net/minecraft/client/render/FixedColorVertexConsumer
intermediary net/minecraft/class_4585
official fan
-
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 untilunfixColor()
is called.void
Makes this consumer no longer use the color set infixedColor(int, int, int, int)
.
-
Field Details
-
colorFixed
protected boolean colorFixed- Mappings:
Namespace Name Mixin selector named colorFixed
Lnet/minecraft/client/render/FixedColorVertexConsumer;colorFixed:Z
intermediary field_20889
Lnet/minecraft/class_4585;field_20889:Z
official a
Lfan;a:Z
-
fixedRed
protected int fixedRed- Mappings:
Namespace Name Mixin selector named fixedRed
Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedRed:I
intermediary field_20890
Lnet/minecraft/class_4585;field_20890:I
official b
Lfan;b:I
-
fixedGreen
protected int fixedGreen- Mappings:
Namespace Name Mixin selector named fixedGreen
Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedGreen:I
intermediary field_20891
Lnet/minecraft/class_4585;field_20891:I
official c
Lfan;c:I
-
fixedBlue
protected int fixedBlue- Mappings:
Namespace Name Mixin selector named fixedBlue
Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedBlue:I
intermediary field_20892
Lnet/minecraft/class_4585;field_20892:I
official d
Lfan;d:I
-
fixedAlpha
protected int fixedAlpha- Mappings:
Namespace Name Mixin selector named fixedAlpha
Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedAlpha:I
intermediary field_20893
Lnet/minecraft/class_4585;field_20893:I
official e
Lfan;e: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 untilunfixColor()
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 named fixedColor
Lnet/minecraft/client/render/VertexConsumer;fixedColor(IIII)V
intermediary method_22901
Lnet/minecraft/class_4588;method_22901(IIII)V
official b
Lfas;b(IIII)V
-
unfixColor
public void unfixColor()Makes this consumer no longer use the color set infixedColor(int, int, int, int)
.- Specified by:
unfixColor
in interfaceVertexConsumer
- Mappings:
Namespace Name Mixin selector named unfixColor
Lnet/minecraft/client/render/VertexConsumer;unfixColor()V
intermediary method_35666
Lnet/minecraft/class_4588;method_35666()V
official l
Lfas;l()V
-