public interface ItemRegistry
Modifier and Type | Method and Description |
---|---|
BaseItem |
createFromId(int id)
Create a new item using its legacy numeric ID.
|
BaseItem |
createFromId(java.lang.String id)
Create a new item using its ID.
|
@Nullable BaseItem createFromId(java.lang.String id)
id
- the id@Nullable BaseItem createFromId(int id)
id
- the id