Package net.minecraftforge.client
Class ItemModelMesherForge
java.lang.Object
net.minecraft.client.renderer.ItemModelShaper
net.minecraftforge.client.ItemModelMesherForge
Wrapper around ItemModeMesher that cleans up the internal maps to respect ID remapping.
-
Field Summary
Modifier and TypeFieldDescription(package private) Map<IRegistryDelegate<Item>,ModelResourceLocation>
(package private) Map<IRegistryDelegate<Item>,BakedModel>
Fields inherited from class net.minecraft.client.renderer.ItemModelShaper
shapes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetItemModel(Item item)
getLocation(ItemStack stack)
void
void
register(Item item, ModelResourceLocation location)
Methods inherited from class net.minecraft.client.renderer.ItemModelShaper
getItemModel, getModelManager, getParticleIcon, getParticleIcon
-
Field Details
-
locations
-
models
-
-
Constructor Details
-
ItemModelMesherForge
-
-
Method Details
-
getItemModel
- Overrides:
getItemModel
in classItemModelShaper
-
register
- Overrides:
register
in classItemModelShaper
-
rebuildCache
public void rebuildCache()- Overrides:
rebuildCache
in classItemModelShaper
-
getLocation
-