Package net.minecraft.tileentity
Class SkullTileEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<TileEntity>
net.minecraft.tileentity.TileEntity
net.minecraft.tileentity.SkullTileEntity
- All Implemented Interfaces:
ITickableTileEntity,ICapabilityProvider,ICapabilitySerializable<CompoundNBT>,IForgeTileEntity,INBTSerializable<CompoundNBT>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate com.mojang.authlib.GameProfileprivate static PlayerProfileCacheprivate static com.mojang.authlib.minecraft.MinecraftSessionServiceFields inherited from class net.minecraft.tileentity.TileEntity
level, remove, worldPositionFields inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
INFINITE_EXTENT_AABB -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetMouthAnimation(float p_184295_1_) com.mojang.authlib.GameProfilevoidload(BlockState p_230337_1_, CompoundNBT p_230337_2_) save(CompoundNBT p_189515_1_) voidsetOwner(com.mojang.authlib.GameProfile p_195485_1_) static voidsetProfileCache(PlayerProfileCache p_184293_0_) static voidsetSessionService(com.mojang.authlib.minecraft.MinecraftSessionService p_184294_0_) voidtick()static com.mojang.authlib.GameProfileupdateGameprofile(com.mojang.authlib.GameProfile p_174884_0_) private voidMethods inherited from class net.minecraft.tileentity.TileEntity
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEventMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
deserializeNBT, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
Field Details
-
profileCache
-
sessionService
@Nullable private static com.mojang.authlib.minecraft.MinecraftSessionService sessionService -
owner
@Nullable private com.mojang.authlib.GameProfile owner -
mouthTickCount
private int mouthTickCount -
isMovingMouth
private boolean isMovingMouth
-
-
Constructor Details
-
SkullTileEntity
public SkullTileEntity()
-
-
Method Details
-
setProfileCache
-
setSessionService
public static void setSessionService(com.mojang.authlib.minecraft.MinecraftSessionService p_184294_0_) -
save
- Overrides:
savein classTileEntity
-
load
- Overrides:
loadin classTileEntity
-
tick
public void tick()- Specified by:
tickin interfaceITickableTileEntity
-
getMouthAnimation
public float getMouthAnimation(float p_184295_1_) -
getOwnerProfile
@Nullable public com.mojang.authlib.GameProfile getOwnerProfile() -
getUpdatePacket
- Overrides:
getUpdatePacketin classTileEntity
-
getUpdateTag
- Overrides:
getUpdateTagin classTileEntity
-
setOwner
public void setOwner(@Nullable com.mojang.authlib.GameProfile p_195485_1_) -
updateOwnerProfile
private void updateOwnerProfile() -
updateGameprofile
@Nullable public static com.mojang.authlib.GameProfile updateGameprofile(@Nullable com.mojang.authlib.GameProfile p_174884_0_)
-