public class ItemModelMesherForge extends ItemModelMesher
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Map<IRegistryDelegate<Item>,it.unimi.dsi.fastutil.ints.Int2ObjectMap<ModelResourceLocation>> |
locations |
(package private) java.util.Map<IRegistryDelegate<Item>,it.unimi.dsi.fastutil.ints.Int2ObjectMap<IBakedModel>> |
models |
shapers| Constructor and Description |
|---|
ItemModelMesherForge(ModelManager manager) |
| Modifier and Type | Method and Description |
|---|---|
protected IBakedModel |
getItemModel(Item item,
int meta) |
ModelResourceLocation |
getLocation(ItemStack stack) |
void |
rebuildCache() |
void |
register(Item item,
int meta,
ModelResourceLocation location) |
getItemModel, getMetadata, getModelManager, getParticleIcon, getParticleIcon, registerfinal java.util.Map<IRegistryDelegate<Item>,it.unimi.dsi.fastutil.ints.Int2ObjectMap<ModelResourceLocation>> locations
final java.util.Map<IRegistryDelegate<Item>,it.unimi.dsi.fastutil.ints.Int2ObjectMap<IBakedModel>> models
public ItemModelMesherForge(ModelManager manager)
@Nullable protected IBakedModel getItemModel(Item item, int meta)
getItemModel in class ItemModelMesherpublic void register(Item item, int meta, ModelResourceLocation location)
register in class ItemModelMesherpublic void rebuildCache()
rebuildCache in class ItemModelMesherpublic ModelResourceLocation getLocation(@Nonnull ItemStack stack)