public class TileEntitySkull extends TileEntity implements ITickable
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world
Constructor and Description |
---|
TileEntitySkull() |
Modifier and Type | Method and Description |
---|---|
float |
getAnimationProgress(float p_184295_1_) |
GameProfile |
getPlayerProfile() |
int |
getSkullRotation() |
int |
getSkullType() |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
void |
mirror(Mirror mirrorIn) |
void |
readFromNBT(NBTTagCompound compound) |
void |
rotate(Rotation rotationIn) |
void |
setPlayerProfile(GameProfile playerProfile) |
static void |
setProfileCache(PlayerProfileCache profileCacheIn) |
static void |
setSessionService(MinecraftSessionService sessionServiceIn) |
void |
setSkullRotation(int rotation) |
void |
setType(int type) |
void |
update()
Like the old updateEntity(), except more generic.
|
static GameProfile |
updateGameprofile(GameProfile input) |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public static void setProfileCache(PlayerProfileCache profileCacheIn)
public static void setSessionService(MinecraftSessionService sessionServiceIn)
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public void update()
public float getAnimationProgress(float p_184295_1_)
public GameProfile getPlayerProfile()
public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket
in class TileEntity
public NBTTagCompound getUpdateTag()
getUpdateTag
in class TileEntity
public void setType(int type)
public void setPlayerProfile(GameProfile playerProfile)
public static GameProfile updateGameprofile(GameProfile input)
public int getSkullType()
public int getSkullRotation()
public void setSkullRotation(int rotation)
public void mirror(Mirror mirrorIn)
mirror
in class TileEntity
public void rotate(Rotation rotationIn)
rotate
in class TileEntity