public class ModelLoader extends ModelBakery
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelLoader.UVLock |
bakedRegistry, blockModelShapes, LOCATIONS_BUILTIN_TEXTURES, MODEL_CLOCK, MODEL_COMPASS, MODEL_ENTITY, MODEL_GENERATED, MODEL_MISSING, resourceManager, sprites, textureMap| Constructor and Description |
|---|
ModelLoader(IResourceManager manager,
TextureMap map,
BlockModelShapes shapes) |
| Modifier and Type | Method and Description |
|---|---|
IModel |
getMissingModel() |
IModel |
getModel(ResourceLocation location) |
protected ResourceLocation |
getModelLocation(ResourceLocation model) |
protected void |
registerVariant(ModelBlockDefinition definition,
ModelResourceLocation location) |
IRegistry |
setupModelRegistry() |
addVariantName, bakeModel, getItemLocation, getTextureLocations, getVariantNames, hasItemModel, isCustomRenderer, loadModel, loadVariants, makeItemModel, registerVariantNamespublic ModelLoader(IResourceManager manager, TextureMap map, BlockModelShapes shapes)
public IRegistry setupModelRegistry()
setupModelRegistry in class ModelBakeryprotected void registerVariant(ModelBlockDefinition definition, ModelResourceLocation location)
registerVariant in class ModelBakerypublic IModel getModel(ResourceLocation location)
protected ResourceLocation getModelLocation(ResourceLocation model)
getModelLocation in class ModelBakerypublic IModel getMissingModel()