Uses of Class
net.minecraft.client.renderer.block.model.BakedQuad
Package
Description
Extension interfaces for
client
-only classes.-
Uses of BakedQuad in com.mojang.blaze3d.vertex
Modifier and TypeMethodDescriptiondefault void
VertexConsumer.putBulkData
(PoseStack.Pose p_85988_, BakedQuad p_85989_, float[] p_331397_, float p_85990_, float p_85991_, float p_85992_, float p_331416_, int[] p_331378_, int p_85993_, boolean p_331268_) default void
VertexConsumer.putBulkData
(PoseStack.Pose p_85996_, BakedQuad p_85997_, float p_85999_, float p_86000_, float p_86001_, float p_331520_, int p_86003_, int p_331548_) -
Uses of BakedQuad in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionprivate void
ModelBlockRenderer.putQuadData
(BlockAndTintGetter p_111024_, BlockState p_111025_, BlockPos p_111026_, VertexConsumer p_111027_, PoseStack.Pose p_111028_, BakedQuad p_111029_, float p_111030_, float p_111031_, float p_111032_, float p_111033_, int p_111034_, int p_111035_, int p_111036_, int p_111037_, int p_111038_) Modifier and TypeMethodDescriptionprivate void
ModelBlockRenderer.renderModelFaceAO
(BlockAndTintGetter p_111013_, BlockState p_111014_, BlockPos p_111015_, PoseStack p_111016_, VertexConsumer p_111017_, List<BakedQuad> p_111018_, float[] p_111019_, BitSet p_111020_, ModelBlockRenderer.AmbientOcclusionFace p_111021_, int p_111022_) private void
ModelBlockRenderer.renderModelFaceFlat
(BlockAndTintGetter p_111002_, BlockState p_111003_, BlockPos p_111004_, int p_111005_, int p_111006_, boolean p_111007_, PoseStack p_111008_, VertexConsumer p_111009_, List<BakedQuad> p_111010_, BitSet p_111011_) private static void
ModelBlockRenderer.renderQuadList
(PoseStack.Pose p_111059_, VertexConsumer p_111060_, float p_111061_, float p_111062_, float p_111063_, List<BakedQuad> p_111064_, int p_111065_, int p_111066_) -
Uses of BakedQuad in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionstatic BakedQuad
BlockModel.bakeFace
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) FaceBakery.bakeQuad
(org.joml.Vector3f p_253895_, org.joml.Vector3f p_253976_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, ResourceLocation p_111609_) -
Uses of BakedQuad in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionvoid
ItemRenderer.renderQuadList
(PoseStack p_115163_, VertexConsumer p_115164_, List<BakedQuad> p_115165_, ItemStack p_115166_, int p_115167_, int p_115168_) -
Uses of BakedQuad in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionSimpleBakedModel.Builder.culledFaces
SimpleBakedModel.culledFaces
SimpleBakedModel.Builder.unculledFaces
SimpleBakedModel.unculledFaces
Modifier and TypeMethodDescriptionBakedModel.getQuads
(BlockState p_235039_, Direction p_235040_, RandomSource p_235041_) Deprecated.BuiltInModel.getQuads
(BlockState p_235043_, Direction p_235044_, RandomSource p_235045_) MultiPartBakedModel.getQuads
(BlockState p_235050_, Direction p_235051_, RandomSource p_235052_, ModelData modelData, RenderType renderType) SimpleBakedModel.getQuads
(BlockState p_235054_, Direction p_235055_, RandomSource p_235056_) WeightedBakedModel.getQuads
(BlockState p_235058_, Direction p_235059_, RandomSource p_235060_, ModelData modelData, RenderType renderType) Modifier and TypeMethodDescriptionSimpleBakedModel.Builder.addCulledFace
(Direction p_119531_, BakedQuad p_119532_) SimpleBakedModel.Builder.addUnculledFace
(BakedQuad p_119527_) ModifierConstructorDescriptionSimpleBakedModel
(List<BakedQuad> p_119489_, Map<Direction, List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, ItemOverrides p_119496_) Deprecated.Forge: Use variant with RenderTypeGroupSimpleBakedModel
(List<BakedQuad> p_119489_, Map<Direction, List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, ItemOverrides p_119496_) Deprecated.Forge: Use variant with RenderTypeGroupSimpleBakedModel
(List<BakedQuad> p_119489_, Map<Direction, List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, ItemOverrides p_119496_, RenderTypeGroup renderTypes) SimpleBakedModel
(List<BakedQuad> p_119489_, Map<Direction, List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, ItemOverrides p_119496_, RenderTypeGroup renderTypes) -
Uses of BakedQuad in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionstatic boolean
ClientHooks.calculateFaceWithoutAO
(BlockAndTintGetter getter, BlockState state, BlockPos pos, BakedQuad quad, boolean isFaceCubic, float[] brightness, int[] lightmap) -
Uses of BakedQuad in net.neoforged.neoforge.client.extensions
Modifier and TypeMethodDescriptionIBakedModelExtension.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) A nullRenderType
is used for the breaking overlay as well as non-standard rendering, so models should return all their quads.Modifier and TypeMethodDescriptiondefault void
IVertexConsumerExtension.putBulkData
(PoseStack.Pose pose, BakedQuad bakedQuad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay, boolean readExistingColor) Variant with no per-vertex shading. -
Uses of BakedQuad in net.neoforged.neoforge.client.model
Modifier and TypeFieldDescriptionCompositeModel.Baked.Builder.quads
IModelBuilder.Collecting.quads
Modifier and TypeMethodDescriptionBakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) CompositeModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) SeparateTransformsModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) EmptyModel.Baked.makeEmptyCulledFaces()
Modifier and TypeMethodDescriptionIModelBuilder.addCulledFace
(Direction facing, BakedQuad quad) IModelBuilder.Collecting.addCulledFace
(Direction facing, BakedQuad quad) IModelBuilder.Simple.addCulledFace
(Direction facing, BakedQuad quad) CompositeModel.Baked.Builder.addQuads
(RenderTypeGroup renderTypes, BakedQuad... quadsToAdd) IModelBuilder.addUnculledFace
(BakedQuad quad) IModelBuilder.Collecting.addUnculledFace
(BakedQuad quad) IModelBuilder.Simple.addUnculledFace
(BakedQuad quad) private static BakedQuad
default BakedQuad
void
IQuadTransformer.processInPlace
(BakedQuad quad) Modifier and TypeMethodDescriptionprivate void
CompositeModel.Baked.Builder.addLayer
(RenderTypeGroup renderTypes, List<BakedQuad> quads) CompositeModel.Baked.Builder.addQuads
(RenderTypeGroup renderTypes, Collection<BakedQuad> quadsToAdd) static IModelBuilder
<?> IModelBuilder.collecting
(List<BakedQuad> quads) Creates a new model builder that collects quads to the provided list, returning an empty model if you callIModelBuilder.build()
.default void
IQuadTransformer.processInPlace
(List<BakedQuad> quads) -
Uses of BakedQuad in net.neoforged.neoforge.client.model.geometry
Modifier and TypeMethodDescriptionstatic BakedQuad
UnbakedGeometryHelper.bakeElementFace
(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState state, ResourceLocation modelLocation) Turns a singleBlockElementFace
into aBakedQuad
.Modifier and TypeMethodDescriptionUnbakedGeometryHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Bakes a list of block elements and returns the list of baked quads. -
Uses of BakedQuad in net.neoforged.neoforge.client.model.lighting
Modifier and TypeMethodDescriptionfinal void
QuadLighter.computeLightingForQuad
(BakedQuad quad) Compute the brightness and lightmap values for each vertex of this quad.final void
QuadLighter.process
(VertexConsumer consumer, PoseStack.Pose pose, BakedQuad quad, int overlay) -
Uses of BakedQuad in net.neoforged.neoforge.client.model.obj
Modifier and TypeMethodDescriptionObjModel.makeQuad
(int[][] indices, int tintIndex, org.joml.Vector4f colorTint, org.joml.Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of BakedQuad in net.neoforged.neoforge.client.model.pipeline
Modifier and TypeFieldDescriptionprivate final BakedQuad[]
QuadBakingVertexConsumer.Buffered.output
-
Uses of BakedQuad in net.neoforged.neoforge.client.model.renderable
Modifier and TypeMethodDescriptionCompositeRenderable.PartBuilder.addMesh
(ResourceLocation texture, List<BakedQuad> quads) -
Uses of BakedQuad in net.neoforged.neoforge.oldtest.block
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModel.getPlantQuads
(Block plant, @Nullable Direction face, RandomSource rand, @Nullable RenderType renderType) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) -
Uses of BakedQuad in net.neoforged.neoforge.oldtest.client.model
Modifier and TypeMethodDescriptionMegaModelTest.TransformingModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) TRSRTransformerTest.MyBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType)
IBakedModelExtension.getQuads(BlockState, Direction, RandomSource, net.neoforged.neoforge.client.model.data.ModelData, net.minecraft.client.renderer.RenderType)