Interface IMultipartModelGeometry<T extends IMultipartModelGeometry<T>>
- All Superinterfaces:
IModelGeometry<T>
,ISimpleModelGeometry<T>
- All Known Implementing Classes:
CompositeModel.Geometry
,OBJModel
public interface IMultipartModelGeometry<T extends IMultipartModelGeometry<T>>
extends ISimpleModelGeometry<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) Optional<? extends IModelGeometryPart>
Collection<? extends IModelGeometryPart>
getParts()
default Collection<RenderMaterial>
getTextures
(IModelConfiguration owner, Function<ResourceLocation, IUnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Methods inherited from interface net.minecraftforge.client.model.geometry.ISimpleModelGeometry
bake
-
Method Details
-
getParts
Collection<? extends IModelGeometryPart> getParts()- Specified by:
getParts
in interfaceIModelGeometry<T extends IMultipartModelGeometry<T>>
-
getPart
- Specified by:
getPart
in interfaceIModelGeometry<T extends IMultipartModelGeometry<T>>
-
addQuads
default void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) - Specified by:
addQuads
in interfaceISimpleModelGeometry<T extends IMultipartModelGeometry<T>>
-
getTextures
default Collection<RenderMaterial> getTextures(IModelConfiguration owner, Function<ResourceLocation, IUnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Specified by:
getTextures
in interfaceIModelGeometry<T extends IMultipartModelGeometry<T>>
- Specified by:
getTextures
in interfaceISimpleModelGeometry<T extends IMultipartModelGeometry<T>>
-