PlayerHeadCacheManager

Functions

Link copied to clipboard

期限切れキャッシュをクリーンアップ

Link copied to clipboard

全てのキャッシュをクリア

Link copied to clipboard

現在のキャッシュサイズを取得

Link copied to clipboard
fun getOrCreatePlayerHead(playerId: UUID): ItemStack

プレイヤーの頭を取得(キャッシュまたは新規作成)

fun getOrCreatePlayerHead(player: OfflinePlayer): ItemStack

プレイヤーの頭を取得(OfflinePlayer 版)

Link copied to clipboard
fun invalidateCache(playerId: UUID)

特定プレイヤーのキャッシュを削除