Interface ISimpleModelGeometry<T extends ISimpleModelGeometry<T>>
- All Superinterfaces:
IModelGeometry<T>
- All Known Subinterfaces:
IMultipartModelGeometry<T>
- All Known Implementing Classes:
CompositeModel.Geometry
,ModelLoaderRegistry.VanillaProxy
,NewModelLoaderTest.TestModel
,OBJModel
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) default IBakedModel
bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) 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.IModelGeometry
getPart, getParts
-
Method Details
-
bake
default IBakedModel bake(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) - Specified by:
bake
in interfaceIModelGeometry<T extends ISimpleModelGeometry<T>>
-
addQuads
void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) -
getTextures
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 ISimpleModelGeometry<T>>
-