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/FixedColorVertexConsumerintermediary net/minecraft/class_4585official ezz
-
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 untilunfixColor()is called.voidMakes 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 colorFixedLnet/minecraft/client/render/FixedColorVertexConsumer;colorFixed:Zintermediary field_20889Lnet/minecraft/class_4585;field_20889:Zofficial aLezz;a:Z
-
fixedRed
protected int fixedRed- Mappings:
Namespace Name Mixin selector named fixedRedLnet/minecraft/client/render/FixedColorVertexConsumer;fixedRed:Iintermediary field_20890Lnet/minecraft/class_4585;field_20890:Iofficial bLezz;b:I
-
fixedGreen
protected int fixedGreen- Mappings:
Namespace Name Mixin selector named fixedGreenLnet/minecraft/client/render/FixedColorVertexConsumer;fixedGreen:Iintermediary field_20891Lnet/minecraft/class_4585;field_20891:Iofficial cLezz;c:I
-
fixedBlue
protected int fixedBlue- Mappings:
Namespace Name Mixin selector named fixedBlueLnet/minecraft/client/render/FixedColorVertexConsumer;fixedBlue:Iintermediary field_20892Lnet/minecraft/class_4585;field_20892:Iofficial dLezz;d:I
-
fixedAlpha
protected int fixedAlpha- Mappings:
Namespace Name Mixin selector named fixedAlphaLnet/minecraft/client/render/FixedColorVertexConsumer;fixedAlpha:Iintermediary field_20893Lnet/minecraft/class_4585;field_20893:Iofficial eLezz;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:
fixedColorin interfaceVertexConsumer- Mappings:
Namespace Name Mixin selector named fixedColorLnet/minecraft/client/render/VertexConsumer;fixedColor(IIII)Vintermediary method_22901Lnet/minecraft/class_4588;method_22901(IIII)Vofficial bLfae;b(IIII)V
-
unfixColor
public void unfixColor()Makes this consumer no longer use the color set infixedColor(int, int, int, int).- Specified by:
unfixColorin interfaceVertexConsumer- Mappings:
Namespace Name Mixin selector named unfixColorLnet/minecraft/client/render/VertexConsumer;unfixColor()Vintermediary method_35666Lnet/minecraft/class_4588;method_35666()Vofficial lLfae;l()V
-