public class SkullBlockEntity extends BaseBlockEntity implements Skull
closed, id, ID_ALLOCATOR, lastUpdate, movable, server, timing| Constructor and Description |
|---|
SkullBlockEntity(BlockEntityType<?> type,
Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMouthTickCount() |
float |
getRotation() |
int |
getSkullType() |
boolean |
isMouthMoving() |
boolean |
isSpawnable() |
boolean |
isValid() |
void |
loadAdditionalData(com.nukkitx.nbt.NbtMap tag) |
void |
saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag) |
void |
setMouthMoving(boolean mouthMoving) |
void |
setMouthTickCount(int mouthTickCount) |
void |
setRotation(float rotation) |
void |
setSkullType(int skullType) |
close, getBlock, getBlockState, getChunk, getChunkTag, getClientTag, getCustomName, getId, getItemTag, getLevel, getPosition, getServerTag, 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, waitclose, getBlock, getBlockState, getChunkTag, getClientTag, getCustomName, getItemTag, getLevel, getPosition, getServerTag, getType, hasCustomName, isClosed, isMovable, onBreak, onUpdate, scheduleUpdate, setCustomName, setDirty, setMovable, spawnTo, spawnToAll, updateFromClientpublic SkullBlockEntity(BlockEntityType<?> type, Chunk chunk, com.nukkitx.math.vector.Vector3i position)
public void loadAdditionalData(com.nukkitx.nbt.NbtMap tag)
loadAdditionalData in interface BlockEntityloadAdditionalData in class BaseBlockEntitypublic void saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag)
saveAdditionalData in interface BlockEntitysaveAdditionalData in class BaseBlockEntitypublic boolean isValid()
isValid in interface BlockEntityisValid in class BaseBlockEntitypublic float getRotation()
getRotation in interface Skullpublic void setRotation(float rotation)
setRotation in interface Skullpublic int getMouthTickCount()
public void setMouthTickCount(int mouthTickCount)
public boolean isMouthMoving()
public void setMouthMoving(boolean mouthMoving)
public int getSkullType()
getSkullType in interface Skullpublic void setSkullType(int skullType)
setSkullType in interface Skullpublic boolean isSpawnable()
isSpawnable in interface BlockEntityisSpawnable in class BaseBlockEntityCopyright © 2020. All rights reserved.