Uses of Interface
net.minecraft.client.render.VertexConsumer
Package
Description
-
Uses of VertexConsumer in net.minecraft.client.font
Modifier and TypeMethodDescriptionvoid
EmptyGlyphRenderer.draw
(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light) void
GlyphRenderer.draw
(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light) (package private) void
TextRenderer.drawGlyph
(GlyphRenderer glyphRenderer, boolean bold, boolean italic, float weight, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light) void
GlyphRenderer.drawRectangle
(GlyphRenderer.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light) -
Uses of VertexConsumer in net.minecraft.client.model
Modifier and TypeMethodDescriptionabstract void
Model.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
ModelPart.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay) void
ModelPart.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) void
ModelPart.Cuboid.renderCuboid
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, int light, int overlay, float red, float green, float blue, float alpha) private void
ModelPart.renderCuboids
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, int light, int overlay, float red, float green, float blue, float alpha) -
Uses of VertexConsumer in net.minecraft.client.particle
Modifier and TypeMethodDescriptionvoid
BillboardParticle.buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) void
DustColorTransitionParticle.buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) void
ElderGuardianAppearanceParticle.buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) void
FireworksSparkParticle.Explosion.buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) void
FireworksSparkParticle.Flash.buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) void
ItemPickupParticle.buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) final void
NoRenderParticle.buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) abstract void
Particle.buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) void
VibrationParticle.buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) private void
VibrationParticle.method_33078
(VertexConsumer vertexConsumer, Camera camera, float float2, Consumer<Quaternion> consumer) -
Uses of VertexConsumer in net.minecraft.client.render
Modifier and TypeClassDescriptionclass
class
private static class
class
class
private static class
private static class
Modifier and TypeFieldDescriptionprivate final VertexConsumer
OutlineVertexConsumerProvider.OutlineVertexConsumer.delegate
private final VertexConsumer[]
VertexConsumers.Union.delegates
private final VertexConsumer
VertexConsumers.Dual.first
private final VertexConsumer
SpriteTexturedVertexConsumer.parent
private final VertexConsumer
VertexConsumers.Dual.second
private final VertexConsumer
OverlayVertexConsumer.vertexConsumer
Modifier and TypeMethodDescriptionBufferBuilder.color
(int red, int green, int blue, int alpha) default VertexConsumer
BufferVertexConsumer.color
(int red, int green, int blue, int alpha) OutlineVertexConsumerProvider.OutlineVertexConsumer.color
(int red, int green, int blue, int alpha) OverlayVertexConsumer.color
(int red, int green, int blue, int alpha) SpriteTexturedVertexConsumer.color
(int red, int green, int blue, int alpha) default VertexConsumer
VertexConsumer.color
(float red, float green, float blue, float alpha) VertexConsumer.color
(int red, int green, int blue, int alpha) VertexConsumers.Dual.color
(int red, int green, int blue, int alpha) VertexConsumers.Union.color
(int red, int green, int blue, int alpha) OutlineVertexConsumerProvider.getBuffer
(RenderLayer layer) VertexConsumerProvider.getBuffer
(RenderLayer layer) VertexConsumerProvider.Immediate.getBuffer
(RenderLayer layer) default VertexConsumer
BufferVertexConsumer.light
(int u, int v) OutlineVertexConsumerProvider.OutlineVertexConsumer.light
(int u, int v) OverlayVertexConsumer.light
(int u, int v) SpriteTexturedVertexConsumer.light
(int u, int v) default VertexConsumer
VertexConsumer.light
(int uv) VertexConsumer.light
(int u, int v) VertexConsumers.Dual.light
(int u, int v) VertexConsumers.Union.light
(int u, int v) default VertexConsumer
BufferVertexConsumer.normal
(float x, float y, float z) OutlineVertexConsumerProvider.OutlineVertexConsumer.normal
(float x, float y, float z) OverlayVertexConsumer.normal
(float x, float y, float z) SpriteTexturedVertexConsumer.normal
(float x, float y, float z) VertexConsumer.normal
(float x, float y, float z) default VertexConsumer
VertexConsumers.Dual.normal
(float x, float y, float z) VertexConsumers.Union.normal
(float x, float y, float z) default VertexConsumer
BufferVertexConsumer.overlay
(int u, int v) OutlineVertexConsumerProvider.OutlineVertexConsumer.overlay
(int u, int v) OverlayVertexConsumer.overlay
(int u, int v) SpriteTexturedVertexConsumer.overlay
(int u, int v) default VertexConsumer
VertexConsumer.overlay
(int uv) VertexConsumer.overlay
(int u, int v) VertexConsumers.Dual.overlay
(int u, int v) VertexConsumers.Union.overlay
(int u, int v) default VertexConsumer
BufferVertexConsumer.texture
(float u, float v) default VertexConsumer
BufferVertexConsumer.texture
(short u, short v, int index) OutlineVertexConsumerProvider.OutlineVertexConsumer.texture
(float u, float v) OverlayVertexConsumer.texture
(float u, float v) SpriteTexturedVertexConsumer.texture
(float u, float v) VertexConsumer.texture
(float u, float v) VertexConsumers.Dual.texture
(float u, float v) VertexConsumers.Union.texture
(float u, float v) static VertexConsumer
VertexConsumers.union()
Generates a union of zero VertexConsumers.static VertexConsumer
VertexConsumers.union
(VertexConsumer first) static VertexConsumer
VertexConsumers.union
(VertexConsumer[] delegates) static VertexConsumer
VertexConsumers.union
(VertexConsumer first, VertexConsumer second) default VertexConsumer
BufferVertexConsumer.vertex
(double x, double y, double z) OutlineVertexConsumerProvider.OutlineVertexConsumer.vertex
(double x, double y, double z) OverlayVertexConsumer.vertex
(double x, double y, double z) SpriteTexturedVertexConsumer.vertex
(double x, double y, double z) VertexConsumer.vertex
(double x, double y, double z) default VertexConsumer
VertexConsumers.Dual.vertex
(double x, double y, double z) VertexConsumers.Union.vertex
(double x, double y, double z) Modifier and TypeMethodDescriptionprivate void
WorldRenderer.drawBlockOutline
(MatrixStack matrices, VertexConsumer vertexConsumer, Entity entity, double double2, double double3, double double4, BlockPos blockPos, BlockState blockState) static void
WorldRenderer.drawBox
(MatrixStack matrices, VertexConsumer vertexConsumer, double x1, double y1, double z1, double x2, double y2, double z2, float red, float green, float blue, float alpha) Draws a box spanning from [x1,y1,z1] to [x2,y2,z2].static void
WorldRenderer.drawBox
(MatrixStack matrices, VertexConsumer vertexConsumer, double x1, double y1, double z1, double x2, double y2, double z2, float red, float green, float blue, float alpha, float xAxisRed, float yAxisGreen, float zAxisBlue) Draws a box spanning from [x1,y1,z1] to [x2,y2,z2].static void
WorldRenderer.drawBox
(MatrixStack matrices, VertexConsumer vertexConsumer, Box box, float red, float green, float blue, float alpha) Draws a box.private static void
WorldRenderer.drawShapeOutline
(MatrixStack matrices, VertexConsumer vertexConsumer, VoxelShape voxelShape, double double2, double double3, double double4, float float2, float float3, float float4, float float5) static void
WorldRenderer.method_22983
(MatrixStack matrixStack, VertexConsumer vertexConsumer, VoxelShape voxelShape, double double2, double double3, double double4, float float2, float float3, float float4, float float5) private void
WorldRenderer.method_22984
(VertexConsumer vertexConsumer, int int2) private void
WorldRenderer.method_22985
(VertexConsumer vertexConsumer, int int2, int int3, int int4, int int5, int int6, int int7, int int8) static void
WorldRenderer.method_35773
(VertexConsumer vertexConsumer, double double2, double double3, double double4, double double5, double double6, double double7, float float2, float float3, float float4, float float5) static VertexConsumer
VertexConsumers.union
(VertexConsumer first) static VertexConsumer
VertexConsumers.union
(VertexConsumer[] delegates) static VertexConsumer
VertexConsumers.union
(VertexConsumer first, VertexConsumer second) Modifier and TypeMethodDescriptionprivate void
VertexConsumers.Union.delegate
(Consumer<VertexConsumer> action) ModifierConstructorDescriptionDual
(VertexConsumer first, VertexConsumer second) (package private)
OutlineVertexConsumer
(VertexConsumer vertexConsumer, int int2, int int3, int int4, int int5) OverlayVertexConsumer
(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f) SpriteTexturedVertexConsumer
(VertexConsumer parent, Sprite sprite) Union
(VertexConsumer[] delegates) -
Uses of VertexConsumer in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionvoid
BlockModelRenderer.render
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, @Nullable BlockState blockState, BakedModel bakedModel, float float2, float float3, float float4, int int2, int int3) boolean
BlockModelRenderer.render
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrix, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) boolean
FluidRenderer.render
(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, FluidState state) boolean
BlockRenderManager.renderBlock
(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrix, VertexConsumer vertexConsumer, boolean cull, Random random) void
BlockRenderManager.renderDamage
(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrix, VertexConsumer vertexConsumer) boolean
BlockModelRenderer.renderFlat
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack buffer, VertexConsumer vertexConsumer, boolean cull, Random random, long long2, int int2) boolean
BlockRenderManager.renderFluid
(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, FluidState state) private static void
BlockModelRenderer.renderQuad
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, float float2, float float3, float float4, List<BakedQuad> list, int int2, int int3) private void
BlockModelRenderer.renderQuad
(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack.Entry matrixEntry, BakedQuad quad, float brightness0, float brightness1, float brightness2, float brightness3, int light0, int light1, int light2, int light3, int overlay) private void
BlockModelRenderer.renderQuadsFlat
(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BitSet flags) private void
BlockModelRenderer.renderQuadsSmooth
(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrix, VertexConsumer vertexConsumer, List<BakedQuad> quads, float[] box, BitSet flags, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay) boolean
BlockModelRenderer.renderSmooth
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack buffer, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) private void
FluidRenderer.vertex
(VertexConsumer vertexConsumer, double x, double y, double z, float red, float green, float blue, float u, float v, int light) -
Uses of VertexConsumer in net.minecraft.client.render.block.entity
Modifier and TypeMethodDescriptionprivate void
ChestBlockEntityRenderer.render
(MatrixStack matrices, VertexConsumer vertices, ModelPart lid, ModelPart latch, ModelPart base, float openFactor, int light, int overlay) void
SignBlockEntityRenderer.SignModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.private static void
BeaconBlockEntityRenderer.renderBeamFace
(Matrix4f modelMatrix, Matrix3f normalMatrix, VertexConsumer vertices, float red, float green, float blue, float alpha, int yOffset, int height, float x1, float z1, float x2, float z2, float u1, float u2, float v1, float v2) private static void
BeaconBlockEntityRenderer.renderBeamLayer
(MatrixStack matrices, VertexConsumer vertices, float red, float green, float blue, float alpha, int yOffset, int height, float x1, float z1, float x2, float z2, float x3, float z3, float x4, float z4, float u1, float u2, float v1, float v2) private static void
BeaconBlockEntityRenderer.renderBeamVertex
(Matrix4f modelMatrix, Matrix3f normalMatrix, VertexConsumer vertices, float red, float green, float blue, float alpha, int y, float x, float z, float u, float v) private void
StructureBlockBlockEntityRenderer.renderInvisibleBlocks
(StructureBlockBlockEntity entity, VertexConsumer vertices, BlockPos pos, MatrixStack matrixStack) private void
EndPortalBlockEntityRenderer.renderSide
(T entity, Matrix4f model, VertexConsumer vertices, float x1, float x2, float y1, float y2, float z1, float z2, float z3, float z4, Direction direction) private void
EndPortalBlockEntityRenderer.renderSides
(T entity, Matrix4f matrix4f, VertexConsumer vertexConsumer) -
Uses of VertexConsumer in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprivate static void
LightningEntityRenderer.drawBranch
(Matrix4f matrix, VertexConsumer buffer, float float2, float float3, int int2, float float4, float float5, float red, float green, float blue, float float6, float float7, boolean bool, boolean bool2, boolean bool3, boolean bool4) private static void
EntityRenderDispatcher.drawFireVertex
(MatrixStack.Entry entry, VertexConsumer vertices, float x, float y, float z, float u, float v) private static void
EntityRenderDispatcher.drawShadowVertex
(MatrixStack.Entry entry, VertexConsumer vertices, float alpha, float x, float y, float z, float u, float v) void
ProjectileEntityRenderer.method_23153
(Matrix4f matrix4f, Matrix3f matrix3f, VertexConsumer vertexConsumer, int int2, int int3, int int4, float float2, float float3, int int5, int int6, int int7, int int8) private static void
EnderDragonEntityRenderer.method_23156
(VertexConsumer vertices, Matrix4f matrix, float y, float x) private static void
EnderDragonEntityRenderer.method_23157
(VertexConsumer vertices, Matrix4f matrix, int alpha) private static void
EnderDragonEntityRenderer.method_23158
(VertexConsumer vertices, Matrix4f matrix, float y, float x) private static void
EnderDragonEntityRenderer.method_23159
(VertexConsumer vertices, Matrix4f matrix, float y, float z) private static void
ExperienceOrbEntityRenderer.method_23171
(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f, float float2, float float3, int int2, int int3, int int4, float float4, float float5, int int5) private static void
FishingBobberEntityRenderer.method_23172
(float x, float y, float z, VertexConsumer buffer, MatrixStack.Entry normal, float float2, float float3) private static void
GuardianEntityRenderer.method_23173
(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f, float float2, float float3, float float4, int int2, int int3, int int4, float float5, float float6) private static void
MobEntityRenderer.method_23187
(VertexConsumer vertexConsumer, Matrix4f matrix4f, float float2, float float3, float float4, int int2, int int3, int int4, int int5, float float5, float float6, float float7, float float8, int int6, boolean bool) private void
PaintingEntityRenderer.method_23188
(Matrix4f matrix4f, Matrix3f matrix3f, VertexConsumer vertexConsumer, float float2, float float3, float float4, float float5, float float6, int int2, int int3, int int4, int int5) private void
PaintingEntityRenderer.method_4074
(MatrixStack matrixStack, VertexConsumer vertexConsumer, PaintingEntity paintingEntity, int int2, int int3, Sprite sprite, Sprite sprite2) private static void
DragonFireballEntityRenderer.produceVertex
(VertexConsumer vertexConsumer, Matrix4f modelMatrix, Matrix3f normalMatrix, int light, float x, int y, int textureU, int textureV) void
EnderDragonEntityRenderer.DragonEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.private static void
EntityRenderDispatcher.renderHitbox
(MatrixStack matrices, VertexConsumer vertices, Entity entity, float tickDelta) private static void
EntityRenderDispatcher.renderShadowPart
(MatrixStack.Entry entry, VertexConsumer vertices, WorldView world, BlockPos pos, double x, double y, double z, float radius, float opacity) private void
EnderDragonEntityRenderer.DragonEntityModel.setLimbRotation
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float offset, ModelPart wing, ModelPart frontLeg, ModelPart frontLegTip, ModelPart frontFoot, ModelPart hindLeg, ModelPart hindLegTip, ModelPart hindFoot, float float2) private static void
FishingBobberEntityRenderer.vertex
(VertexConsumer buffer, Matrix4f matrix, Matrix3f normalMatrix, int light, float x, int y, int u, int v) -
Uses of VertexConsumer in net.minecraft.client.render.entity.feature
Modifier and TypeMethodDescriptionprivate static void
StuckStingersFeatureRenderer.produceVertex
(VertexConsumer vertexConsumer, Matrix4f vertexTransform, Matrix3f normalTransform, float x, int y, float u, float v, int light) -
Uses of VertexConsumer in net.minecraft.client.render.entity.model
Modifier and TypeMethodDescriptionvoid
ParrotEntityModel.poseOnShoulder
(MatrixStack matrices, VertexConsumer vertexConsumer, int light, int overlay, float limbAngle, float limbDistance, float headYaw, float headPitch, int danceAngle) void
AnimalModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
BookModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
CompositeEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
DragonHeadEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
LlamaEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
RabbitEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
ShieldEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
SinglePartEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
SkullEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
TintableAnimalModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
TintableCompositeModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
TridentEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
TurtleEntityModel.render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
BookModel.renderBook
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) void
PlayerEntityModel.renderCape
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay) void
PlayerEntityModel.renderEars
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay) -
Uses of VertexConsumer in net.minecraft.client.render.item
Modifier and TypeMethodDescriptionstatic VertexConsumer
ItemRenderer.getArmorGlintConsumer
(VertexConsumerProvider provider, RenderLayer layer, boolean solid, boolean glint) static VertexConsumer
ItemRenderer.getCompassGlintConsumer
(VertexConsumerProvider provider, RenderLayer layer, MatrixStack.Entry entry) static VertexConsumer
ItemRenderer.getDirectCompassGlintConsumer
(VertexConsumerProvider provider, RenderLayer layer, MatrixStack.Entry entry) static VertexConsumer
ItemRenderer.getDirectItemGlintConsumer
(VertexConsumerProvider provider, RenderLayer layer, boolean solid, boolean glint) static VertexConsumer
ItemRenderer.getItemGlintConsumer
(VertexConsumerProvider vertexConsumers, RenderLayer layer, boolean solid, boolean glint) Modifier and TypeMethodDescriptionprivate void
ItemRenderer.renderBakedItemModel
(BakedModel model, ItemStack stack, int light, int overlay, MatrixStack matrices, VertexConsumer vertices) private void
ItemRenderer.renderBakedItemQuads
(MatrixStack matrices, VertexConsumer vertices, List<BakedQuad> quads, ItemStack stack, int light, int overlay) -
Uses of VertexConsumer in net.minecraft.client.texture
Modifier and TypeMethodDescriptionSprite.getTextureSpecificVertexConsumer
(VertexConsumer vertexConsumer) Modifier and TypeMethodDescriptionSprite.getTextureSpecificVertexConsumer
(VertexConsumer vertexConsumer) -
Uses of VertexConsumer in net.minecraft.client.util
Modifier and TypeMethodDescriptionSpriteIdentifier.getVertexConsumer
(VertexConsumerProvider vertexConsumers, Function<Identifier, RenderLayer> layerFactory) SpriteIdentifier.getVertexConsumer
(VertexConsumerProvider vertexConsumers, Function<Identifier, RenderLayer> layerFactory, boolean bool)