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 - eii- intermediary - net/minecraft/class_4585- named - net/minecraft/client/render/FixedColorVertexConsumer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected intprotected intprotected intprotected int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
colorFixedprotected boolean colorFixed- Mappings:
- Namespace - Name - Mixin selector - official - a- Leii;a:Z- intermediary - field_20889- Lnet/minecraft/class_4585;field_20889:Z- named - colorFixed- Lnet/minecraft/client/render/FixedColorVertexConsumer;colorFixed:Z
 
- 
fixedRedprotected int fixedRed- Mappings:
- Namespace - Name - Mixin selector - official - b- Leii;b:I- intermediary - field_20890- Lnet/minecraft/class_4585;field_20890:I- named - fixedRed- Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedRed:I
 
- 
fixedGreenprotected int fixedGreen- Mappings:
- Namespace - Name - Mixin selector - official - c- Leii;c:I- intermediary - field_20891- Lnet/minecraft/class_4585;field_20891:I- named - fixedGreen- Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedGreen:I
 
- 
fixedBlueprotected int fixedBlue- Mappings:
- Namespace - Name - Mixin selector - official - d- Leii;d:I- intermediary - field_20892- Lnet/minecraft/class_4585;field_20892:I- named - fixedBlue- Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedBlue:I
 
- 
fixedAlphaprotected int fixedAlpha- Mappings:
- Namespace - Name - Mixin selector - official - e- Leii;e:I- intermediary - field_20893- Lnet/minecraft/class_4585;field_20893:I- named - fixedAlpha- Lnet/minecraft/client/render/FixedColorVertexConsumer;fixedAlpha:I
 
 
- 
- 
Constructor Details- 
FixedColorVertexConsumerpublic FixedColorVertexConsumer()
 
- 
- 
Method Details- 
fixedColorpublic 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 interface- VertexConsumer
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lein;b(IIII)V- intermediary - method_22901- Lnet/minecraft/class_4588;method_22901(IIII)V- named - fixedColor- Lnet/minecraft/client/render/VertexConsumer;fixedColor(IIII)V
 
- 
unfixColorpublic void unfixColor()Makes this consumer no longer use the color set inVertexConsumer.fixedColor(int, int, int, int).- Specified by:
- unfixColorin interface- VertexConsumer
- Mappings:
- Namespace - Name - Mixin selector - official - k- Lein;k()V- intermediary - method_35666- Lnet/minecraft/class_4588;method_35666()V- named - unfixColor- Lnet/minecraft/client/render/VertexConsumer;unfixColor()V
 
 
-