public abstract class NukkitNameableBlockEntity extends NukkitBlockEntity implements NameableBlockEntity
| Constructor and Description |
|---|
NukkitNameableBlockEntity(BlockEntityType type) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getCustomName() |
Optional<String> |
getLock() |
getLevelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCustomName, setLockgetLevelpublic NukkitNameableBlockEntity(BlockEntityType type)
public Optional<String> getCustomName()
getCustomName in interface NameableBlockEntitypublic Optional<String> getLock()
getLock in interface NameableBlockEntityCopyright © 2017–2019 NukkitX. All rights reserved.