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, getParticleIcon
final 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 ItemModelMesher
public void register(Item item, ModelResourceLocation location)
register
in class ItemModelMesher
public void rebuildCache()
rebuildCache
in class ItemModelMesher
public ModelResourceLocation getLocation(@Nonnull ItemStack stack)