public class ItemModelMesherForge extends ItemModelMesher
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Map<IRegistryDelegate<Item>,ModelResourceLocation> |
locations |
(package private) java.util.Map<IRegistryDelegate<Item>,IBakedModel> |
models |
modelLocations| Constructor and Description |
|---|
ItemModelMesherForge(ModelManager manager) |
| Modifier and Type | Method and Description |
|---|---|
IBakedModel |
getItemModel(Item item) |
ModelResourceLocation |
getLocation(ItemStack stack) |
void |
rebuildCache() |
void |
register(Item item,
ModelResourceLocation location) |
getItemModel, getModelManager, getParticleIcon, getParticleIconfinal java.util.Map<IRegistryDelegate<Item>,ModelResourceLocation> locations
final java.util.Map<IRegistryDelegate<Item>,IBakedModel> models
public ItemModelMesherForge(ModelManager manager)
@Nullable public IBakedModel getItemModel(Item item)
getItemModel in class ItemModelMesherpublic void register(Item item, ModelResourceLocation location)
register in class ItemModelMesherpublic void rebuildCache()
rebuildCache in class ItemModelMesherpublic ModelResourceLocation getLocation(@Nonnull ItemStack stack)