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