public interface IForgeBakedModel
Modifier and Type | Method and Description |
---|---|
default boolean |
doesHandlePerspectives()
Override to tell the new model loader that it shouldn't wrap this model
|
default IBakedModel |
getBakedModel() |
default IModelData |
getModelData(ILightReader world,
BlockPos pos,
BlockState state,
IModelData tileData) |
default TextureAtlasSprite |
getParticleTexture(IModelData data) |
default java.util.List<BakedQuad> |
getQuads(BlockState state,
Direction side,
java.util.Random rand,
IModelData extraData) |
default IBakedModel |
handlePerspective(ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
default boolean |
isAmbientOcclusion(BlockState state) |
default IBakedModel getBakedModel()
@Nonnull default java.util.List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, @Nonnull java.util.Random rand, @Nonnull IModelData extraData)
default boolean isAmbientOcclusion(BlockState state)
default boolean doesHandlePerspectives()
default IBakedModel handlePerspective(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat)
@Nonnull default IModelData getModelData(@Nonnull ILightReader world, @Nonnull BlockPos pos, @Nonnull BlockState state, @Nonnull IModelData tileData)
default TextureAtlasSprite getParticleTexture(@Nonnull IModelData data)