Package-level declarations
Types
布局引用的头像模板 ID 和可选目标覆盖。 / A layout's head template ID and optional target override.
Build tinted bitmap glyphs; neither the target skin nor its colors enter the resource pack.
皮肤的 8×8 面部和帽子层快照,与显示尺寸无关;构造时复制像素,调用者不能修改缓存。 An immutable 8×8 face/hat snapshot, independent of display size. Constructor arrays are copied.
头像目标:当前观看者、固定玩家、布局变量,或返回 Player/UUID/玩家名/null 的 Kether。 Head target: viewer, fixed player, layout variable, or Kether returning a Player/UUID/name/null.
每个玩家、布局实例和元素独立缓存 Kether 头像目标;读取从不等待脚本。 Caches Kether head targets per viewer/layout instance/element without waiting for a script.
可复用的玩家头像外观;布局元素可以覆盖默认目标。 Reusable player-face style; layout elements can override its default target.
Resource-pack glyphs are shared by every player's skin; only rendered colors vary.
规范化的 64×64 ARGB 皮肤快照;构造时复制,像素读取和图片导出均不泄漏可变缓存。 An immutable normalized 64×64 ARGB skin. Constructor input is copied; exported images own their pixels. Use fromSkin to normalize a decoded 64×32 or 64×64 skin without modifying its source image.
可供客户端使用的不可变皮肤档案。textureUrl 是完整皮肤而非面部,null 表示没有自定义纹理;slim 表示 Alex 模型。 Immutable client skin metadata. A null URL means no custom texture; slim selects the Alex model, otherwise Steve/classic. HeadSkins validates supplied URLs and normalizes trusted textures.minecraft.net addresses to HTTPS.