public class TileEntitySkull extends TileEntity
| Modifier and Type | Field and Description |
|---|---|
private com.mojang.authlib.GameProfile |
playerProfile |
private int |
skullRotation |
private int |
skullType |
blockType, pos, tileEntityInvalid, worldObj| Constructor and Description |
|---|
TileEntitySkull() |
| Modifier and Type | Method and Description |
|---|---|
Packet |
getDescriptionPacket()
Allows for a specialized description packet to be created.
|
com.mojang.authlib.GameProfile |
getPlayerProfile() |
int |
getSkullRotation() |
int |
getSkullType() |
void |
readFromNBT(NBTTagCompound compound) |
void |
setPlayerProfile(com.mojang.authlib.GameProfile playerProfile) |
void |
setSkullRotation(int rotation) |
void |
setType(int type) |
static com.mojang.authlib.GameProfile |
updateGameprofile(com.mojang.authlib.GameProfile input) |
private void |
updatePlayerProfile() |
void |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, createAndLoadEntity, func_183000_F, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, receiveClientEvent, setPos, setWorldObj, updateContainingBlockInfo, validateprivate int skullType
private int skullRotation
private com.mojang.authlib.GameProfile playerProfile
public void writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntitypublic void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntitypublic com.mojang.authlib.GameProfile getPlayerProfile()
public Packet getDescriptionPacket()
getDescriptionPacket in class TileEntitypublic void setType(int type)
public void setPlayerProfile(com.mojang.authlib.GameProfile playerProfile)
private void updatePlayerProfile()
public static com.mojang.authlib.GameProfile updateGameprofile(com.mojang.authlib.GameProfile input)
public int getSkullType()
public int getSkullRotation()
public void setSkullRotation(int rotation)