Package net.minecraftforge.client.model
Class CompositeModel.Submodel
java.lang.Object
net.minecraftforge.client.model.CompositeModel.Submodel
- All Implemented Interfaces:
IModelGeometryPart
- Enclosing class:
- CompositeModel
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
Submodel(String name, BlockModel model, ModelState modelTransform)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
bakeModel(ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
name()
-
Field Details
-
name
-
model
-
modelTransform
-
-
Constructor Details
-
Submodel
-
-
Method Details
-
name
- Specified by:
name
in interfaceIModelGeometryPart
-
addQuads
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)- Specified by:
addQuads
in interfaceIModelGeometryPart
-
bakeModel
public BakedModel bakeModel(ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) -
getTextures
public Collection<Material> getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)- Specified by:
getTextures
in interfaceIModelGeometryPart
-