Package net.minecraftforge.client
Class ItemModelMesherForge
java.lang.Object
net.minecraft.client.renderer.ItemModelMesher
net.minecraftforge.client.ItemModelMesherForge
Wrapper around ItemModeMesher that cleans up the internal maps to respect ID remapping.
-
Field Summary
Modifier and TypeFieldDescription(package private) final Map<IRegistryDelegate<Item>,
ModelResourceLocation> (package private) final Map<IRegistryDelegate<Item>,
IBakedModel> Fields inherited from class net.minecraft.client.renderer.ItemModelMesher
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.ItemModelMesher
getItemModel, getModelManager, getParticleIcon, getParticleIcon
-
Field Details
-
locations
-
models
-
-
Constructor Details
-
ItemModelMesherForge
-
-
Method Details
-
getItemModel
- Overrides:
getItemModel
in classItemModelMesher
-
register
- Overrides:
register
in classItemModelMesher
-
rebuildCache
public void rebuildCache()- Overrides:
rebuildCache
in classItemModelMesher
-
getLocation
-