Uses of Interface
com.mojang.blaze3d.vertex.VertexConsumer
Packages that use VertexConsumer
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client-only classes.-
Uses of VertexConsumer in com.mojang.blaze3d.vertex
Classes in com.mojang.blaze3d.vertex that implement VertexConsumerModifier and TypeClassDescriptionclassclassprivate static classprivate static final recordFields in com.mojang.blaze3d.vertex declared as VertexConsumerModifier and TypeFieldDescriptionprivate final VertexConsumerSheetedDecalTextureGenerator.delegateprivate final VertexConsumer[]VertexMultiConsumer.Multiple.delegatesThe field for thedelegatesrecord component.private final VertexConsumerVertexMultiConsumer.Double.firstprivate final VertexConsumerVertexMultiConsumer.Double.secondMethods in com.mojang.blaze3d.vertex that return VertexConsumerModifier and TypeMethodDescriptionBufferBuilder.addVertex(float x, float y, float z) SheetedDecalTextureGenerator.addVertex(float x, float y, float z) VertexConsumer.addVertex(float x, float y, float z) default VertexConsumerVertexConsumer.addVertex(PoseStack.Pose pose, float x, float y, float z) default VertexConsumerVertexConsumer.addVertex(PoseStack.Pose pose, Vector3f position) default VertexConsumerdefault VertexConsumerVertexMultiConsumer.Double.addVertex(float x, float y, float z) VertexMultiConsumer.Multiple.addVertex(float x, float y, float z) default VertexConsumerVertexConsumer.addVertexWith2DPose(Matrix3x2fc pose, float x, float y) static VertexConsumerVertexMultiConsumer.create()static VertexConsumerVertexMultiConsumer.create(VertexConsumer consumer) static VertexConsumerVertexMultiConsumer.create(VertexConsumer... consumers) static VertexConsumerVertexMultiConsumer.create(VertexConsumer first, VertexConsumer second) VertexMultiConsumer.Multiple.delegates()Returns the value of thedelegatesrecord component.BufferBuilder.setColor(int color) BufferBuilder.setColor(int r, int g, int b, int a) SheetedDecalTextureGenerator.setColor(int color) SheetedDecalTextureGenerator.setColor(int r, int g, int b, int a) default VertexConsumerVertexConsumer.setColor(float r, float g, float b, float a) VertexConsumer.setColor(int color) VertexConsumer.setColor(int r, int g, int b, int a) VertexMultiConsumer.Double.setColor(int color) VertexMultiConsumer.Double.setColor(int r, int g, int b, int a) VertexMultiConsumer.Multiple.setColor(int color) VertexMultiConsumer.Multiple.setColor(int r, int g, int b, int a) BufferBuilder.setLight(int packedLightCoords) default VertexConsumerVertexConsumer.setLight(int packedLightCoords) BufferBuilder.setLineWidth(float width) SheetedDecalTextureGenerator.setLineWidth(float width) VertexConsumer.setLineWidth(float width) VertexMultiConsumer.Double.setLineWidth(float width) VertexMultiConsumer.Multiple.setLineWidth(float width) BufferBuilder.setNormal(float x, float y, float z) SheetedDecalTextureGenerator.setNormal(float x, float y, float z) VertexConsumer.setNormal(float x, float y, float z) default VertexConsumerVertexConsumer.setNormal(PoseStack.Pose pose, float x, float y, float z) default VertexConsumerVertexConsumer.setNormal(PoseStack.Pose pose, Vector3f normal) VertexMultiConsumer.Double.setNormal(float x, float y, float z) VertexMultiConsumer.Multiple.setNormal(float x, float y, float z) BufferBuilder.setOverlay(int packedOverlayCoords) default VertexConsumerVertexConsumer.setOverlay(int packedOverlayCoords) BufferBuilder.setUv(float u, float v) SheetedDecalTextureGenerator.setUv(float u, float v) VertexConsumer.setUv(float u, float v) VertexMultiConsumer.Double.setUv(float u, float v) VertexMultiConsumer.Multiple.setUv(float u, float v) BufferBuilder.setUv1(int u, int v) SheetedDecalTextureGenerator.setUv1(int u, int v) VertexConsumer.setUv1(int u, int v) VertexMultiConsumer.Double.setUv1(int u, int v) VertexMultiConsumer.Multiple.setUv1(int u, int v) BufferBuilder.setUv2(int u, int v) SheetedDecalTextureGenerator.setUv2(int u, int v) VertexConsumer.setUv2(int u, int v) VertexMultiConsumer.Double.setUv2(int u, int v) VertexMultiConsumer.Multiple.setUv2(int u, int v) private VertexConsumerBufferBuilder.uvShort(short u, short v, VertexFormatElement element) Methods in com.mojang.blaze3d.vertex with parameters of type VertexConsumerModifier and TypeMethodDescriptionstatic VertexConsumerVertexMultiConsumer.create(VertexConsumer consumer) static VertexConsumerVertexMultiConsumer.create(VertexConsumer... consumers) static VertexConsumerVertexMultiConsumer.create(VertexConsumer first, VertexConsumer second) Method parameters in com.mojang.blaze3d.vertex with type arguments of type VertexConsumerModifier and TypeMethodDescriptionprivate voidVertexMultiConsumer.Multiple.forEach(Consumer<VertexConsumer> out) Constructors in com.mojang.blaze3d.vertex with parameters of type VertexConsumerModifierConstructorDescriptionDouble(VertexConsumer first, VertexConsumer second) privateMultiple(VertexConsumer[] delegates) Creates an instance of aMultiplerecord class.SheetedDecalTextureGenerator(VertexConsumer delegate, PoseStack.Pose cameraPose, float textureScale) -
Uses of VertexConsumer in net.minecraft.client.gui.font
Methods in net.minecraft.client.gui.font with parameters of type VertexConsumerModifier and TypeMethodDescriptiondefault voidPlainTextRenderable.render(Matrix4f pose, VertexConsumer buffer, int packedLightCoords, boolean flat) voidTextRenderable.render(Matrix4f pose, VertexConsumer buffer, int packedLightCoords, boolean flat) private static voidPlayerGlyphProvider.Instance.renderQuad(Matrix4f pose, VertexConsumer buffer, int packedLightCoords, float x0, float x1, float y0, float y1, float z, int color, float u, float v, int srcWidth, int srcHeight, int textureWidth, int textureHeight) voidAtlasGlyphProvider.Instance.renderSprite(Matrix4f pose, VertexConsumer buffer, int packedLightCoords, float offsetX, float offsetY, float z, int color) voidPlainTextRenderable.renderSprite(Matrix4f pose, VertexConsumer buffer, int packedLightCoords, float offsetX, float offsetY, float z, int color) voidPlayerGlyphProvider.Instance.renderSprite(Matrix4f pose, VertexConsumer buffer, int packedLightCoords, float offsetX, float offsetY, float z, int color) -
Uses of VertexConsumer in net.minecraft.client.gui.font.glyphs
Methods in net.minecraft.client.gui.font.glyphs with parameters of type VertexConsumerModifier and TypeMethodDescriptionprivate voidBakedSheetGlyph.buildEffect(BakedSheetGlyph.EffectInstance effect, float offset, float z, int color, VertexConsumer buffer, int packedLightCoords, Matrix4f pose) voidBakedSheetGlyph.EffectInstance.render(Matrix4f pose, VertexConsumer buffer, int packedLightCoords, boolean flat) voidBakedSheetGlyph.GlyphInstance.render(Matrix4f pose, VertexConsumer buffer, int packedLightCoords, boolean flat) private voidBakedSheetGlyph.render(boolean italic, float x, float y, float z, Matrix4f pose, VertexConsumer builder, int color, boolean bold, int packedLightCoords) private voidBakedSheetGlyph.renderChar(BakedSheetGlyph.GlyphInstance glyphInstance, Matrix4f pose, VertexConsumer buffer, int packedLightCoords, boolean flat) private voidBakedSheetGlyph.renderEffect(BakedSheetGlyph.EffectInstance effect, Matrix4f pose, VertexConsumer buffer, int packedLightCoords, boolean flat) -
Uses of VertexConsumer in net.minecraft.client.gui.render.state
Methods in net.minecraft.client.gui.render.state with parameters of type VertexConsumerModifier and TypeMethodDescriptionvoidBlitRenderState.buildVertices(VertexConsumer vertexConsumer) voidColoredRectangleRenderState.buildVertices(VertexConsumer vertexConsumer) voidGlyphRenderState.buildVertices(VertexConsumer vertexConsumer) voidGuiElementRenderState.buildVertices(VertexConsumer vertexConsumer) voidTiledBlitRenderState.buildVertices(VertexConsumer vertexConsumer) -
Uses of VertexConsumer in net.minecraft.client.model
Methods in net.minecraft.client.model with parameters of type VertexConsumerModifier and TypeMethodDescriptionfinal voidModel.renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords) final voidModel.renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords, int color) -
Uses of VertexConsumer in net.minecraft.client.model.geom
Methods in net.minecraft.client.model.geom with parameters of type VertexConsumerModifier and TypeMethodDescriptionprivate voidModelPart.compile(PoseStack.Pose pose, VertexConsumer builder, int lightCoords, int overlayCoords, int color) voidModelPart.Cube.compile(PoseStack.Pose pose, VertexConsumer builder, int lightCoords, int overlayCoords, int color) voidModelPart.render(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords) voidModelPart.render(PoseStack poseStack, VertexConsumer buffer, int lightCoords, int overlayCoords, int color) -
Uses of VertexConsumer in net.minecraft.client.renderer
Classes in net.minecraft.client.renderer that implement VertexConsumerModifier and TypeClassDescriptionprivate static final recordclassFields in net.minecraft.client.renderer declared as VertexConsumerModifier and TypeFieldDescriptionprivate final VertexConsumerOutlineBufferSource.EntityOutlineGenerator.delegateThe field for thedelegaterecord component.private final VertexConsumerSpriteCoordinateExpander.delegateMethods in net.minecraft.client.renderer that return VertexConsumerModifier and TypeMethodDescriptionOutlineBufferSource.EntityOutlineGenerator.addVertex(float x, float y, float z) SpriteCoordinateExpander.addVertex(float x, float y, float z) OutlineBufferSource.EntityOutlineGenerator.delegate()Returns the value of thedelegaterecord component.MultiBufferSource.BufferSource.getBuffer(RenderType renderType) MultiBufferSource.getBuffer(RenderType renderType) OutlineBufferSource.getBuffer(RenderType renderType) OutlineBufferSource.EntityOutlineGenerator.setColor(int color) OutlineBufferSource.EntityOutlineGenerator.setColor(int r, int g, int b, int a) SpriteCoordinateExpander.setColor(int color) SpriteCoordinateExpander.setColor(int r, int g, int b, int a) OutlineBufferSource.EntityOutlineGenerator.setLineWidth(float width) SpriteCoordinateExpander.setLineWidth(float width) OutlineBufferSource.EntityOutlineGenerator.setNormal(float x, float y, float z) SpriteCoordinateExpander.setNormal(float x, float y, float z) OutlineBufferSource.EntityOutlineGenerator.setUv(float u, float v) SpriteCoordinateExpander.setUv(float u, float v) OutlineBufferSource.EntityOutlineGenerator.setUv1(int u, int v) SpriteCoordinateExpander.setUv1(int u, int v) OutlineBufferSource.EntityOutlineGenerator.setUv2(int u, int v) SpriteCoordinateExpander.setUv2(int u, int v) Methods in net.minecraft.client.renderer with parameters of type VertexConsumerModifier and TypeMethodDescriptionprivate voidSkyRenderer.buildSkyDisc(VertexConsumer builder, float yy) voidSubmitNodeCollector.CustomGeometryRenderer.render(PoseStack.Pose pose, VertexConsumer buffer) private voidLevelRenderer.renderHitOutline(PoseStack poseStack, VertexConsumer builder, double camX, double camY, double camZ, BlockOutlineRenderState state, int color, float width) private voidWeatherEffectRenderer.renderInstances(VertexConsumer builder, List<WeatherEffectRenderer.ColumnInstance> columns, Vec3 cameraPos, float maxAlpha, int radius, float intensity) static voidShapeRenderer.renderShape(PoseStack poseStack, VertexConsumer builder, VoxelShape shape, double x, double y, double z, int color, float width) Constructors in net.minecraft.client.renderer with parameters of type VertexConsumerModifierConstructorDescriptionprivateEntityOutlineGenerator(VertexConsumer delegate, int color) Creates an instance of aEntityOutlineGeneratorrecord class.SpriteCoordinateExpander(VertexConsumer delegate, TextureAtlasSprite sprite) -
Uses of VertexConsumer in net.minecraft.client.renderer.block
Methods in net.minecraft.client.renderer.block with parameters of type VertexConsumerModifier and TypeMethodDescriptionvoidBlockRenderDispatcher.renderLiquid(BlockPos pos, BlockAndTintGetter level, VertexConsumer builder, BlockState blockState, FluidState fluidState) voidLiquidBlockRenderer.tesselate(BlockAndTintGetter level, BlockPos pos, VertexConsumer builder, BlockState blockState, FluidState fluidState) private voidLiquidBlockRenderer.vertex(VertexConsumer builder, float x, float y, float z, float red, float green, float blue, float alpha, float u, float v, int light) private voidLiquidBlockRenderer.vertex(VertexConsumer builder, float x, float y, float z, int color, float u, float v, int lightCoords) -
Uses of VertexConsumer in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type VertexConsumerModifier and TypeMethodDescriptionprivate static voidBeaconRenderer.addVertex(PoseStack.Pose pose, VertexConsumer builder, int color, int y, float x, float z, float u, float v) private voidAbstractEndPortalRenderer.renderCube(Set<Direction> facesToShow, Matrix4f pose, VertexConsumer builder) private static voidAbstractEndPortalRenderer.renderFace(Set<Direction> facesToShow, Matrix4f pose, VertexConsumer builder, float x1, float x2, float y1, float y2, float z1, float z2, float z3, float z4, Direction face) private static voidBeaconRenderer.renderPart(PoseStack.Pose pose, VertexConsumer builder, int color, int beamStart, int beamEnd, float wnx, float wnz, float enx, float enz, float wsx, float wsz, float esx, float esz, float uu1, float uu2, float vv1, float vv2) private static voidBeaconRenderer.renderQuad(PoseStack.Pose pose, VertexConsumer builder, int color, int beamStart, int beamEnd, float wnx, float wnz, float enx, float enz, float uu1, float uu2, float vv1, float vv2) -
Uses of VertexConsumer in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity that return VertexConsumerModifier and TypeMethodDescriptionstatic VertexConsumerItemRenderer.getFoilBuffer(MultiBufferSource bufferSource, RenderType renderType, boolean sheeted, boolean hasFoil) private static VertexConsumerItemRenderer.getFoilBuffer(MultiBufferSource bufferSource, RenderType renderType, @Nullable PoseStack.Pose foilDecalPose) Methods in net.minecraft.client.renderer.entity with parameters of type VertexConsumerModifier and TypeMethodDescriptionprivate static voidLightningBoltRenderer.quad(Matrix4f pose, VertexConsumer buffer, float xo0, float zo0, int h, float xo1, float zo1, float boltRed, float boltGreen, float boltBlue, float rr1, float rr2, boolean px1, boolean pz1, boolean px2, boolean pz2) private static voidFishingHookRenderer.stringVertex(float xa, float ya, float za, VertexConsumer stringBuffer, PoseStack.Pose stringPose, float aa, float nexta, float width) private static voidDragonFireballRenderer.vertex(VertexConsumer builder, PoseStack.Pose pose, int lightCoords, float x, int y, int u, int v) private static voidExperienceOrbRenderer.vertex(VertexConsumer buffer, PoseStack.Pose pose, float x, float y, int r, int g, int b, float u, float v, int lightCoords) private static voidFishingHookRenderer.vertex(VertexConsumer builder, PoseStack.Pose pose, int lightCoords, float x, int y, int u, int v) private static voidGuardianRenderer.vertex(VertexConsumer builder, PoseStack.Pose pose, float x, float y, float z, int red, int green, int blue, float u, float v) private voidPaintingRenderer.vertex(PoseStack.Pose pose, VertexConsumer buffer, float x, float y, float u, float v, float z, int nx, int ny, int nz, int lightCoords) -
Uses of VertexConsumer in net.minecraft.client.renderer.feature
Methods in net.minecraft.client.renderer.feature with parameters of type VertexConsumerModifier and TypeMethodDescriptionprivate static voidLeashFeatureRenderer.addVertexPair(VertexConsumer builder, Matrix4f pose, float dx, float dy, float dz, float fudge, float dxOff, float dzOff, int k, boolean backwards, EntityRenderState.LeashState state) private static voidFlameFeatureRenderer.fireVertex(PoseStack.Pose pose, VertexConsumer buffer, float x, float y, float z, float u, float v, int lightCoords) private <S> voidModelFeatureRenderer.renderModel(SubmitNodeStorage.ModelSubmit<S> submit, RenderType renderType, VertexConsumer buffer, OutlineBufferSource outlineBufferSource, MultiBufferSource.BufferSource crumblingBufferSource) private static voidShadowFeatureRenderer.shadowVertex(Matrix4f pose, VertexConsumer buffer, int color, float x, float y, float z, float u, float v) -
Uses of VertexConsumer in net.minecraft.client.renderer.state
Methods in net.minecraft.client.renderer.state with parameters of type VertexConsumerModifier and TypeMethodDescriptionprotected voidQuadParticleRenderState.renderRotatedQuad(VertexConsumer builder, float x, float y, float z, float xRot, float yRot, float zRot, float wRot, float scale, float u0, float u1, float v0, float v1, int color, int lightCoords) private voidQuadParticleRenderState.renderVertex(VertexConsumer builder, Quaternionf rotation, float x, float y, float z, float nx, float ny, float scale, float u, float v, int color, int lightCoords) -
Uses of VertexConsumer in net.minecraft.client.renderer.texture
Methods in net.minecraft.client.renderer.texture that return VertexConsumerMethods in net.minecraft.client.renderer.texture with parameters of type VertexConsumer -
Uses of VertexConsumer in net.minecraft.client.resources.model
Methods in net.minecraft.client.resources.model that return VertexConsumerModifier and TypeMethodDescriptionSpriteId.buffer(SpriteGetter sprites, MultiBufferSource bufferSource, Function<Identifier, RenderType> renderType) SpriteId.buffer(SpriteGetter sprites, MultiBufferSource bufferSource, Function<Identifier, RenderType> renderType, boolean sheeted, boolean hasFoil) -
Uses of VertexConsumer in net.neoforged.neoforge.client
Method parameters in net.neoforged.neoforge.client with type arguments of type VertexConsumerModifier and TypeMethodDescriptionstatic voidClientHooks.addAdditionalGeometry(List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers, Function<ChunkSectionLayer, VertexConsumer> getOrCreateBuilder, RenderSectionRegion region, PoseStack transformation) -
Uses of VertexConsumer in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type VertexConsumerModifier and TypeFieldDescriptionprivate final Function<ChunkSectionLayer, VertexConsumer> AddSectionGeometryEvent.SectionRenderingContext.getOrCreateLayerMethods in net.neoforged.neoforge.client.event that return VertexConsumerModifier and TypeMethodDescriptionAddSectionGeometryEvent.SectionRenderingContext.getOrCreateChunkBuffer(ChunkSectionLayer layer) Returns the builder for the givenChunkSectionLayerin the chunk section.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type VertexConsumerModifierConstructorDescriptionSectionRenderingContext(Function<ChunkSectionLayer, VertexConsumer> getOrCreateLayer, BlockAndTintGetter region, PoseStack poseStack) -
Uses of VertexConsumer in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return VertexConsumerModifier and TypeMethodDescriptiondefault VertexConsumerIVertexConsumerExtension.misc(VertexFormatElement element, int... rawData) Consumes an unknownVertexFormatElementas a raw int data array.private VertexConsumerIVertexConsumerExtension.self() -
Uses of VertexConsumer in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type VertexConsumerModifier and TypeMethodDescriptiondefault booleanIClientFluidTypeExtensions.renderFluid(FluidState fluidState, BlockAndTintGetter getter, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState) Called to allow rendering custom quads for a fluid during chunk meshing. -
Uses of VertexConsumer in net.neoforged.neoforge.client.model.pipeline
Classes in net.neoforged.neoforge.client.model.pipeline that implement VertexConsumerModifier and TypeClassDescriptionclassVertex consumer that outputs baked quads.classVertex pipeline element that remaps incoming data to another format.classVertex pipeline element that applies a transformation to incoming geometry.classWrapper forVertexConsumerwhich delegates all operations to its parent.Fields in net.neoforged.neoforge.client.model.pipeline declared as VertexConsumerModifier and TypeFieldDescriptionprivate final VertexConsumerRemappingVertexPipeline.parentprotected final VertexConsumerVertexConsumerWrapper.parentMethods in net.neoforged.neoforge.client.model.pipeline that return VertexConsumerModifier and TypeMethodDescriptionQuadBakingVertexConsumer.addVertex(float x, float y, float z) RemappingVertexPipeline.addVertex(float x, float y, float z) TransformingVertexPipeline.addVertex(float x, float y, float z) VertexConsumerWrapper.addVertex(float x, float y, float z) QuadBakingVertexConsumer.misc(VertexFormatElement element, int... rawData) RemappingVertexPipeline.misc(VertexFormatElement element, int... values) VertexConsumerWrapper.misc(VertexFormatElement element, int... values) QuadBakingVertexConsumer.setColor(int packedColor) QuadBakingVertexConsumer.setColor(int r, int g, int b, int a) RemappingVertexPipeline.setColor(int packedColor) RemappingVertexPipeline.setColor(int r, int g, int b, int a) VertexConsumerWrapper.setColor(int packedColor) VertexConsumerWrapper.setColor(int r, int g, int b, int a) QuadBakingVertexConsumer.setLineWidth(float lineWidth) RemappingVertexPipeline.setLineWidth(float lineWidth) VertexConsumerWrapper.setLineWidth(float lineWidth) QuadBakingVertexConsumer.setNormal(float x, float y, float z) RemappingVertexPipeline.setNormal(float x, float y, float z) TransformingVertexPipeline.setNormal(float x, float y, float z) VertexConsumerWrapper.setNormal(float x, float y, float z) QuadBakingVertexConsumer.setUv(float u, float v) RemappingVertexPipeline.setUv(float u, float v) VertexConsumerWrapper.setUv(float u, float v) QuadBakingVertexConsumer.setUv1(int u, int v) RemappingVertexPipeline.setUv1(int u, int v) VertexConsumerWrapper.setUv1(int u, int v) QuadBakingVertexConsumer.setUv2(int u, int v) RemappingVertexPipeline.setUv2(int u, int v) VertexConsumerWrapper.setUv2(int u, int v) Constructors in net.neoforged.neoforge.client.model.pipeline with parameters of type VertexConsumerModifierConstructorDescriptionRemappingVertexPipeline(VertexConsumer parent, VertexFormat targetFormat) TransformingVertexPipeline(VertexConsumer parent, Transformation transformation) VertexConsumerWrapper(VertexConsumer parent)