public abstract class ItemAPI<I> extends AbstractWrapped<I> implements RegistryEntryAPI<I>
| Modifier and Type | Field and Description |
|---|---|
protected ResourceLocationAPI<?> |
registryName |
wrappedFORGE, FORGE_OR_NEOFORGE, NAMED_ENV, SRG_ENV| Modifier and Type | Method and Description |
|---|---|
abstract ItemStackAPI<?> |
defaultStack() |
ResourceLocationAPI<?> |
getRegistryName() |
protected void |
setLocalRegistryName(ResourceLocationAPI<?> registryName) |
equals, getWrapped, getWrappedClass, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getName, getRegistry, getRegistryName, setRegistryNamegetWrapped, getWrappedClass, unwrapprotected ResourceLocationAPI<?> registryName
protected ItemAPI(I item)
public abstract ItemStackAPI<?> defaultStack()
public ResourceLocationAPI<?> getRegistryName()
getRegistryName in interface RegistryEntryAPI<I>protected void setLocalRegistryName(ResourceLocationAPI<?> registryName)