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 intermediary net/minecraft/class_4585official eianamed net/minecraft/client/render/FixedColorVertexConsumer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected intprotected intprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfixedColor(int red, int green, int blue, int alpha) Makes this consumer always use the same color for subsequent vertices untilVertexConsumer.unfixColor()is called.voidMakes 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 intermediary field_20889Lnet/minecraft/class_4585;field_20889:Zofficial aLeia;a:Znamed colorFixedLnet/minecraft/client/render/FixedColorVertexConsumer;colorFixed:Z
-
fixedRed
protected int fixedRed- Mappings:
Namespace Name Mixin selector intermediary field_20890Lnet/minecraft/class_4585;field_20890:Iofficial bLeia;b:Inamed fixedRedLnet/minecraft/client/render/FixedColorVertexConsumer;fixedRed:I
-
fixedGreen
protected int fixedGreen- Mappings:
Namespace Name Mixin selector intermediary field_20891Lnet/minecraft/class_4585;field_20891:Iofficial cLeia;c:Inamed fixedGreenLnet/minecraft/client/render/FixedColorVertexConsumer;fixedGreen:I
-
fixedBlue
protected int fixedBlue- Mappings:
Namespace Name Mixin selector intermediary field_20892Lnet/minecraft/class_4585;field_20892:Iofficial dLeia;d:Inamed fixedBlueLnet/minecraft/client/render/FixedColorVertexConsumer;fixedBlue:I
-
fixedAlpha
protected int fixedAlpha- Mappings:
Namespace Name Mixin selector intermediary field_20893Lnet/minecraft/class_4585;field_20893:Iofficial eLeia;e:Inamed fixedAlphaLnet/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:
fixedColorin interfaceVertexConsumer- Mappings:
Namespace Name Mixin selector intermediary method_22901Lnet/minecraft/class_4588;method_22901(IIII)Vofficial bLeif;b(IIII)Vnamed fixedColorLnet/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:
unfixColorin interfaceVertexConsumer- Mappings:
Namespace Name Mixin selector intermediary method_35666Lnet/minecraft/class_4588;method_35666()Vofficial kLeif;k()Vnamed unfixColorLnet/minecraft/client/render/VertexConsumer;unfixColor()V
-