public class TileEntitySkull extends TileEntity implements ITickable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
dragonAnimated |
private int |
dragonAnimatedTicks |
private com.mojang.authlib.GameProfile |
playerProfile |
private static PlayerProfileCache |
profileCache |
private static com.mojang.authlib.minecraft.MinecraftSessionService |
sessionService |
private int |
skullRotation |
private int |
skullType |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world| Constructor and Description |
|---|
TileEntitySkull() |
| Modifier and Type | Method and Description |
|---|---|
float |
getAnimationProgress(float p_184295_1_) |
com.mojang.authlib.GameProfile |
getPlayerProfile() |
int |
getSkullRotation() |
int |
getSkullType() |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
void |
mirror(Mirror mirrorIn) |
void |
readFromNBT(NBTTagCompound compound) |
void |
rotate(Rotation rotationIn) |
void |
setPlayerProfile(com.mojang.authlib.GameProfile playerProfile) |
static void |
setProfileCache(PlayerProfileCache profileCacheIn) |
static void |
setSessionService(com.mojang.authlib.minecraft.MinecraftSessionService sessionServiceIn) |
void |
setSkullRotation(int rotation) |
void |
setType(int type) |
void |
update() |
static com.mojang.authlib.GameProfile |
updateGameprofile(com.mojang.authlib.GameProfile input) |
private void |
updatePlayerProfile() |
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, register, restrictNBTCopy, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateprivate int skullType
private int skullRotation
private com.mojang.authlib.GameProfile playerProfile
private int dragonAnimatedTicks
private boolean dragonAnimated
private static PlayerProfileCache profileCache
private static com.mojang.authlib.minecraft.MinecraftSessionService sessionService
public static void setProfileCache(PlayerProfileCache profileCacheIn)
public static void setSessionService(com.mojang.authlib.minecraft.MinecraftSessionService sessionServiceIn)
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntitypublic void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntitypublic float getAnimationProgress(float p_184295_1_)
@Nullable public com.mojang.authlib.GameProfile getPlayerProfile()
@Nullable public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket in class TileEntitypublic NBTTagCompound getUpdateTag()
getUpdateTag in class TileEntitypublic void setType(int type)
public void setPlayerProfile(@Nullable
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)
public void mirror(Mirror mirrorIn)
mirror in class TileEntitypublic void rotate(Rotation rotationIn)
rotate in class TileEntity