Class SkullTileEntity

All Implemented Interfaces:
ITickableTileEntity, ICapabilityProvider, ICapabilitySerializable<CompoundNBT>, IForgeTileEntity, INBTSerializable<CompoundNBT>

public class SkullTileEntity extends TileEntity implements ITickableTileEntity
  • Field Details

    • profileCache

      @Nullable private static PlayerProfileCache 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

      public static void setProfileCache(PlayerProfileCache p_184293_0_)
    • setSessionService

      public static void setSessionService(com.mojang.authlib.minecraft.MinecraftSessionService p_184294_0_)
    • save

      public CompoundNBT save(CompoundNBT p_189515_1_)
      Overrides:
      save in class TileEntity
    • load

      public void load(BlockState p_230337_1_, CompoundNBT p_230337_2_)
      Overrides:
      load in class TileEntity
    • tick

      public void tick()
      Specified by:
      tick in interface ITickableTileEntity
    • getMouthAnimation

      public float getMouthAnimation(float p_184295_1_)
    • getOwnerProfile

      @Nullable public com.mojang.authlib.GameProfile getOwnerProfile()
    • getUpdatePacket

      @Nullable public SUpdateTileEntityPacket getUpdatePacket()
      Overrides:
      getUpdatePacket in class TileEntity
    • getUpdateTag

      public CompoundNBT getUpdateTag()
      Overrides:
      getUpdateTag in class TileEntity
    • 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_)