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<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
Optional<? extends IModelGeometryPart>
Collection<? extends IModelGeometryPart>
getParts()
default Collection<Material>
getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> 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<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)- Specified by:
addQuads
in interfaceISimpleModelGeometry<T extends IMultipartModelGeometry<T>>
-
getTextures
default Collection<Material> getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> 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>>
-