玩家文件中的标签
| 标签 | 类型 | 含义 |
|---|---|---|
Pos | Double 列表 | X、Y、Z;用于修复卡在墙内或基岩下方的玩家。 |
Rotation | Float 列表 | 偏航角和俯仰角。 |
Dimension | String / Int | 玩家登录时所在的维度。 |
Inventory | Compound 列表 | 每组物品一个项目:id、Count、Slot、components 或 tag。 |
EnderItems | Compound 列表 | 末影箱内容,结构相同。 |
Health, foodLevel, XpLevel, XpTotal | Float / Int | 生存状态和经验。 |
playerGameType | Int | 玩家个人游戏模式。 |
abilities | Compound | 飞行、无敌、行走和飞行速度。 |
Attributes | Compound 列表 | 最大生命值、移动速度和其他修饰符。 |
SpawnX/SpawnY/SpawnZ 或 respawn | Int / Compound | 个人重生点,具体形式取决于版本。 |
UUID | Int[4] | 现代版本中以四个 int 保存的玩家 UUID。 |
1.20.5 中物品组结构发生变化:自定义数据从单个 tag 复合标签移到独立的 components。两种结构都能在此打开;请编辑当前版本实际写入的形式。