Package net.minecraftforge.client.model
Interface IDynamicBakedModel
- All Superinterfaces:
BakedModel
,IForgeBakedModel
- All Known Implementing Classes:
CompositeModel.Baked
,MultiPartBakedModel
,SeparateTransformsModel.Baked
,WeightedBakedModel
Convenience interface with default implementation of
IForgeBakedModel.getQuads(BlockState, Direction, RandomSource, ModelData, RenderType)
.-
Method Summary
Modifier and TypeMethodDescriptiongetQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand) getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull 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.minecraftforge.client.extensions.IForgeBakedModel
applyTransform, getModelData, getParticleIcon, getRenderPasses, getRenderTypes, getRenderTypes, useAmbientOcclusion, useAmbientOcclusion
-
Method Details
-
getQuads
@NotNull default @NotNull List<BakedQuad> getQuads(@Nullable @Nullable BlockState state, @Nullable @Nullable Direction side, @NotNull @NotNull RandomSource rand) - Specified by:
getQuads
in interfaceBakedModel
-
getQuads
@NotNull @NotNull List<BakedQuad> getQuads(@Nullable @Nullable BlockState state, @Nullable @Nullable Direction side, @NotNull @NotNull RandomSource rand, @NotNull @NotNull ModelData extraData, @Nullable @Nullable RenderType renderType) Description copied from interface:IForgeBakedModel
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 interfaceIForgeBakedModel
-