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.render
(VertexConsumer vertexConsumer, Camera camera, float tickDelta, Consumer<Quaternion> transforms) -
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) default VertexConsumer
VertexConsumer.color
(int argb) 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 pos, BlockState state) static void
WorldRenderer.drawBox
(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) 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 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 delegate, int red, int green, int blue, int alpha) OverlayVertexConsumer
(VertexConsumer vertexConsumer, Matrix4f textureMatrix, Matrix3f normalMatrix) 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 state, BakedModel bakedModel, float red, float green, float blue, int light, int overlay) boolean
BlockModelRenderer.render
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) boolean
FluidRenderer.render
(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) boolean
BlockRenderManager.renderBlock
(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random) void
BlockRenderManager.renderDamage
(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer) boolean
BlockModelRenderer.renderFlat
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) boolean
BlockRenderManager.renderFluid
(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) 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 static void
BlockModelRenderer.renderQuads
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, float red, float green, float blue, List<BakedQuad> quads, int light, 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 matrices, 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 matrices, 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 positionMatrix, 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 positionMatrix, 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 matrices) 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 side) private void
EndPortalBlockEntityRenderer.renderSides
(T entity, Matrix4f matrix, VertexConsumer vertexConsumer) -
Uses of VertexConsumer in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprivate static void
LightningEntityRenderer.drawBranch
(Matrix4f matrix, VertexConsumer buffer, float x1, float z1, int y, float x2, float z2, float red, float green, float blue, float offset2, float offset1, boolean shiftEast1, boolean shiftSouth1, boolean shiftEast2, boolean shiftSouth2) 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) 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
DragonFireballEntityRenderer.produceVertex
(VertexConsumer vertexConsumer, Matrix4f positionMatrix, 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
FishingBobberEntityRenderer.renderFishingLine
(float x, float y, float z, VertexConsumer buffer, MatrixStack.Entry matrices, float segmentStart, float segmentEnd) private static void
EntityRenderDispatcher.renderHitbox
(MatrixStack matrices, VertexConsumer vertices, Entity entity, float tickDelta) private static void
MobEntityRenderer.renderLeashPiece
(VertexConsumer vertexConsumer, Matrix4f positionMatrix, float float2, float float3, float float4, int leashedEntityBlockLight, int holdingEntityBlockLight, int leashedEntitySkyLight, int holdingEntitySkyLight, float float5, float float6, float float7, float float8, int pieceIndex, boolean isLeashKnot) private void
PaintingEntityRenderer.renderPainting
(MatrixStack matrices, VertexConsumer vertexConsumer, PaintingEntity entity, int width, int height, Sprite paintingSprite, Sprite backSprite) 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 alpha) private static void
ExperienceOrbEntityRenderer.vertex
(VertexConsumer vertexConsumer, Matrix4f positionMatrix, Matrix3f normalMatrix, float x, float y, int red, int green, int blue, float u, float v, int light) private static void
FishingBobberEntityRenderer.vertex
(VertexConsumer buffer, Matrix4f matrix, Matrix3f normalMatrix, int light, float x, int y, int u, int v) private static void
GuardianEntityRenderer.vertex
(VertexConsumer vertexConsumer, Matrix4f positionMatrix, Matrix3f normalMatrix, float x, float y, float z, int red, int green, int blue, float u, float v) private void
PaintingEntityRenderer.vertex
(Matrix4f positionMatrix, Matrix3f normalMatrix, VertexConsumer vertexConsumer, float x, float y, float u, float v, float z, int normalX, int normalY, int normalZ, int light) void
ProjectileEntityRenderer.vertex
(Matrix4f positionMatrix, Matrix3f normalMatrix, VertexConsumer vertexConsumer, int x, int y, int z, float u, float v, int normalX, int normalZ, int normalY, int light) -
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 consumer) Modifier and TypeMethodDescriptionSprite.getTextureSpecificVertexConsumer
(VertexConsumer consumer) -
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)