public class ShulkerBoxBlockEntity extends BaseBlockEntity implements org.cloudburstmc.api.blockentity.ShulkerBox
closed, id, ID_ALLOCATOR, lastUpdate, movable, server, timing| Constructor and Description |
|---|
ShulkerBoxBlockEntity(org.cloudburstmc.api.blockentity.BlockEntityType<?> type,
org.cloudburstmc.api.level.chunk.Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte |
getFacing() |
CloudShulkerBoxInventory |
getInventory() |
boolean |
isSpawnable() |
boolean |
isValid() |
void |
loadAdditionalData(com.nukkitx.nbt.NbtMap tag) |
void |
saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag) |
void |
setFacing(int facing) |
getBlock, getBlockState, getChunk, getChunkTag, getClientTag, getCustomName, getId, getItemTag, getLevel, getPosition, getServer, getServerTag, getTag, getType, hasCustomName, init, isClosed, isMovable, onBreak, onUpdate, saveClientData, scheduleUpdate, setCustomName, setDirty, setMovable, spawnTo, spawnToAll, updateFromClient, updateNbtMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ShulkerBoxBlockEntity(org.cloudburstmc.api.blockentity.BlockEntityType<?> type,
org.cloudburstmc.api.level.chunk.Chunk chunk,
com.nukkitx.math.vector.Vector3i position)
public void loadAdditionalData(com.nukkitx.nbt.NbtMap tag)
loadAdditionalData in class BaseBlockEntitypublic void saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag)
saveAdditionalData in class BaseBlockEntitypublic byte getFacing()
public void setFacing(int facing)
public void close()
close in interface org.cloudburstmc.api.blockentity.BlockEntityclose in class BaseBlockEntitypublic boolean isValid()
isValid in interface org.cloudburstmc.api.blockentity.BlockEntityisValid in class BaseBlockEntitypublic CloudShulkerBoxInventory getInventory()
getInventory in interface org.cloudburstmc.api.blockentity.ShulkerBoxgetInventory in interface org.cloudburstmc.api.inventory.InventoryHolderpublic boolean isSpawnable()
isSpawnable in interface org.cloudburstmc.api.blockentity.BlockEntityisSpawnable in class BaseBlockEntityCopyright © 2021. All rights reserved.