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) final Map<IRegistryDelegate<Item>,
ModelResourceLocation> (package private) final 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
-
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
-