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