接口 IModelBuilder<T extends IModelBuilder<T>>
- 所有已知实现类:
IModelBuilder.Collecting
,IModelBuilder.Simple
public interface IModelBuilder<T extends IModelBuilder<T>>
Base interface for any object that collects culled and unculled faces and bakes them into a model.
Provides a generic base implementation via
and a quad-collecting alternative via 引用无效
#of(boolean, boolean, boolean, ItemTransforms, ItemOverrides, TextureAtlasSprite)
collecting(List)
.
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明addCulledFace
(Direction facing, BakedQuad quad) addUnculledFace
(BakedQuad quad) build()
static IModelBuilder
<?> collecting
(List<BakedQuad> quads) Creates a new model builder that collects quads to the provided list, returning an empty model if you callbuild()
.static IModelBuilder
<?> of
(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle) Creates a new model builder that uses the provided attributes in the final baked model.static IModelBuilder
<?> of
(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes) static IModelBuilder
<?> of
(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes, RenderTypeGroup renderTypesFast)
-
方法详细资料
-
of
static IModelBuilder<?> of(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle) Creates a new model builder that uses the provided attributes in the final baked model. -
of
static IModelBuilder<?> of(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes) -
of
static IModelBuilder<?> of(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes, RenderTypeGroup renderTypesFast) -
collecting
Creates a new model builder that collects quads to the provided list, returning an empty model if you callbuild()
. -
addCulledFace
-
addUnculledFace
-
build
BakedModel build()
-