public interface RegistryEntryAPI<V> extends Wrapped<V>
| Modifier and Type | Field and Description |
|---|---|
static boolean |
FORGE |
static boolean |
FORGE_OR_NEOFORGE |
static boolean |
NAMED_ENV |
static boolean |
SRG_ENV |
| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
getName() |
default java.lang.String |
getName(WorldAPI<?> world) |
default RegistryAPI<?> |
getRegistry() |
default ResourceLocationAPI<?> |
getRegistryName() |
default ResourceLocationAPI<?> |
getRegistryName(WorldAPI<?> world) |
void |
setRegistryName(ResourceLocationAPI<?> registryName) |
getWrapped, getWrappedClass, unwrapstatic final boolean FORGE
static final boolean FORGE_OR_NEOFORGE
static final boolean NAMED_ENV
static final boolean SRG_ENV
default java.lang.String getName()
default java.lang.String getName(WorldAPI<?> world)
default RegistryAPI<?> getRegistry()
default ResourceLocationAPI<?> getRegistryName()
default ResourceLocationAPI<?> getRegistryName(WorldAPI<?> world)
void setRegistryName(ResourceLocationAPI<?> registryName)