public abstract class PotionAPI<P> extends AbstractWrapped<P> implements RegistryEntryAPI<P>
| Modifier and Type | Field and Description |
|---|---|
protected ResourceLocationAPI<?> |
registryName |
wrappedFORGE, FORGE_OR_NEOFORGE, NAMED_ENV, SRG_ENV| Modifier and Type | Method and Description |
|---|---|
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 PotionAPI(P potion)
public ResourceLocationAPI<?> getRegistryName()
getRegistryName in interface RegistryEntryAPI<P>protected void setLocalRegistryName(ResourceLocationAPI<?> registryName)