Interface IDynamicBakedModel
- All Superinterfaces:
BakedModel
,IBakedModelExtension
- All Known Implementing Classes:
CompositeModel.Baked
,MultiPartBakedModel
,SeparateTransformsModel.Baked
,TRSRTransformerTest.MyBakedModel
,WeightedBakedModel
Convenience interface with default implementation of
IBakedModelExtension.getQuads(BlockState, Direction, RandomSource, ModelData, RenderType)
.-
Method Summary
Modifier and TypeMethodDescriptiongetQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) A nullRenderType
is used for the breaking overlay as well as non-standard rendering, so models should return all their quads.Methods inherited from interface net.minecraft.client.resources.model.BakedModel
getOverrides, getParticleIcon, getTransforms, isCustomRenderer, isGui3d, useAmbientOcclusion, usesBlockLight
Methods inherited from interface net.neoforged.neoforge.client.extensions.IBakedModelExtension
applyTransform, getModelData, getParticleIcon, getRenderPasses, getRenderTypes, getRenderTypes, useAmbientOcclusion
-
Method Details
-
getQuads
default List<BakedQuad> getQuads(@Nullable @Nullable BlockState state, @Nullable @Nullable Direction side, RandomSource rand) - Specified by:
getQuads
in interfaceBakedModel
-
getQuads
List<BakedQuad> getQuads(@Nullable @Nullable BlockState state, @Nullable @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable @Nullable RenderType renderType) Description copied from interface:IBakedModelExtension
A nullRenderType
is used for the breaking overlay as well as non-standard rendering, so models should return all their quads.- Specified by:
getQuads
in interfaceIBakedModelExtension
-