此特性为Java版独有。
“统计”是游戏中一部分功能,统计可以计算玩家完成特定目标的次数。
统计信息共分为四栏:通用、方块、物品以及生物。通用窗口分门别类地显示了大量数据,详细数据如下表所示。方块窗口显示了每一种方块被合成、使用(放置)挖掘、拾起以及掉落的次数。物品窗口显示了不同物品被消耗、合成、使用、拾起以及掉落的次数。生物窗口显示了玩家击杀生物的次数,或者被敌对生物击杀的次数。在方块和物品窗口可以通过单击顶部的按钮进行排序。
统计目前只出现在Java版和主机版里,主机版用排行榜代替了统计,但是统计至今都没出现在携带版里。
统计信息列表
统计项目 | 说明 | 统计ID |
---|---|---|
游戏退出次数 | 通过单击“保存并退回到标题画面”退出的次数。 | minecraft.custom:minecraft.leave_game |
游戏时间(分钟) | 总游戏时间。并不一定会以分钟的形式显示:可能是秒、分钟、小时或者是天,取决于哪一个单位更能描述游戏时间。如果游戏暂停,游戏时间也随之停止。如果游戏时间显示为“5.5h”,它意味着您已经玩了5个小时30分钟(并不是50分钟)。 | minecraft.custom:minecraft.play_one_minute |
自上次死亡 | 玩家自上次死亡之后生存的时间 | minecraft.custom:minecraft.time_since_death |
距上次休息 | 玩家距上次休息之后的时间,这被用来生成幻翼。 | minecraft.custom:minecraft.time_since_rest |
潜行时间 | 玩家按住键盘上的潜行键的时间. | minecraft.custom:minecraft.sneak_time |
行走距离 | 在游戏中行走的总距离。 | minecraft.custom:minecraft.walk_one_cm |
潜行距离 | 在游戏中潜行的总距离。 | minecraft.custom:minecraft.crouch_one_cm |
疾跑距离 | 在游戏中疾跑的总距离。 | minecraft.custom:minecraft.sprint_one_cm |
游泳距离 | 在游戏中游泳的总距离。在水中跋涉游泳距离也会增加。水中跳跃的垂直距离并不包括其中。 | minecraft.custom:minecraft.swim_one_cm |
掉落高度 | 在游戏中除跳跃外掉落的总高度。如果玩家掉落高度超过一方块,则此次掉落将被计算在内。 | minecraft.custom:minecraft.fall_one_cm |
攀爬高度 | 在游戏中攀爬梯子和藤蔓的总高度。 | minecraft.custom:minecraft.climb_one_cm |
飞行距离 | 在游戏中飞行的总距离,离地至少一方块高的飞行才会被计算在内。 | minecraft.custom:minecraft.fly_one_cm |
水面行走距离 | 在游戏中水面移动的总距离。 | minecraft.custom:minecraft.walk_on_water_one_cm |
水下移动距离 | 在游戏中水下移动的总距离。 | minecraft.custom:minecraft.walk_under_water_one_cm |
坐矿车移动距离 | 在游戏中乘坐矿车移动的总距离。 | minecraft.custom:minecraft.minecart_one_cm |
坐船移动距离 | 在游戏中乘船移动的总距离。 | minecraft.custom:minecraft.boat_one_cm |
骑猪移动距离 | 在游戏中通过放置鞍进而骑乘猪移动的总距离。 | minecraft.custom:minecraft.pig_one_cm |
骑马移动距离 | 在游戏中通过放置鞍进而骑乘马移动的总距离。 | minecraft.custom:minecraft.horse_one_cm |
鞘翅飞行距离 | 在游戏中通过鞘翅飞行的总距离。 | minecraft.custom:minecraft.aviate_one_cm |
跳跃次数 | 在游戏中跳跃的总次数。 | minecraft.custom:minecraft.jump |
造成伤害 | 在游戏中玩家造成超过1()近战伤害总和的十倍。 | minecraft.custom:minecraft.damage_dealt |
造成伤害(被吸收) | 在游戏中玩家造成超过1()近战伤害时被吸收伤害总和的十倍。 | minecraft.custom:minecraft.damage_dealt_absorbed |
造成伤害(被抵挡) | 在游戏中玩家造成超过1()近战伤害时被吸收伤害总和的十倍。 | minecraft.custom:minecraft.damage_dealt_resisted |
受到伤害 | 在游戏中玩家所受到所有超过1()伤害的伤害总和的十倍。 | minecraft.custom:minecraft.damage_taken |
吸收的伤害 | 在游戏中玩家所吸收所有超过1()伤害的伤害总和的十倍。 | minecraft.custom:minecraft.damage_absorbed |
抵挡的伤害 | 在游戏中玩家所抵挡所有超过1()伤害的伤害总和的十倍。 | minecraft.custom:minecraft.damage_resisted |
盾牌抵挡的伤害 | 在游戏中玩家通过盾牌所抵挡所有超过1()伤害的伤害总和的十倍。 | minecraft.custom:minecraft.damage_blocked_by_shield |
死亡次数 | 在游戏中玩家死亡的次数。 | minecraft.custom:minecraft.deaths |
生物击杀次数 | 在游戏中玩家击杀生物的次数。 | minecraft.custom:minecraft.mob_kills |
玩家击杀次数 | 在多人游戏(PvP服务器)中击杀玩家的总数,间接杀害不被计算在内。 | minecraft.custom:minecraft.player_kills |
物品掉落次数 | 在游戏中玩家掉落物品的总次数。因死亡而掉落物品不被计算在内。 | minecraft.custom:minecraft.drop |
物品附魔次数 | 在游戏中物品附魔的次数 | minecraft.custom:minecraft.enchant_item |
生物繁殖次数 | 在游戏中让动物繁殖的次数。 | minecraft.custom:minecraft.animals_bred |
捕鱼次数 | 在游戏中捕到鱼的总数。 | minecraft.custom:minecraft.fish_caught |
与村民对话 | 玩家打开村民交易界面的次数。 | minecraft.custom:minecraft.talked_to_villager |
与村民交易 | 玩家与村民交易的次数。 | minecraft.custom:minecraft.traded_with_villager |
吃掉的蛋糕片数 | 玩家吃掉的蛋糕片数。 | minecraft.custom:minecraft.eat_cake_slice |
炼药锅装水次数 | 玩家用水填满炼药锅的次数。 | minecraft.custom:minecraft.fill_cauldron |
从炼药锅取水次数 | 玩家从炼药锅中取水的次数。 | minecraft.custom:minecraft.use_cauldron |
清洗盔甲次数 | 玩家在炼药锅中洗掉盔甲颜色的次数。 | minecraft.custom:minecraft.clean_armor |
清洗旗帜次数 | 玩家在炼药锅中洗掉旗帜颜色的次数。 | minecraft.custom:minecraft.clean_banner |
清洗潜影盒次数 | 玩家在炼药锅中洗掉潜影盒颜色的次数。 | minecraft.custom:minecraft.clean_shulker_box |
与酿造台互动次数 | 玩家与酿造台互动的次数。 | minecraft.custom:minecraft.interact_with_brewingstand |
与信标互动次数 | 玩家与信标互动的次数。 | minecraft.custom:minecraft.interact_with_beacon |
与工作台互动次数 | 玩家与工作台互动的次数。 | minecraft.custom:minecraft.interact_with_crafting_table |
与熔炉互动次数 | 玩家与熔炉互动的次数。 | minecraft.custom:minecraft.interact_with_furnace |
与高炉互动次数 | 玩家与高炉互动的次数。 | minecraft.custom:minecraft.interact_with_blast_furnace |
与营火互动次数 | 玩家与营火互动的次数。 | minecraft.custom:minecraft.interact_with_campfire |
与制图台互动次数 | 玩家与制图台互动的次数。 | minecraft.custom:minecraft.interact_with_cartography_table |
与讲台互动次数 | 玩家与讲台互动的次数。 | minecraft.custom:minecraft.interact_with_lectern |
与织布机互动次数 | 玩家与织布机互动的次数。 | minecraft.custom:minecraft.interact_with_loom |
与烟熏炉互动次数 | 玩家与烟熏炉互动的次数。 | minecraft.custom:minecraft.interact_with_smoker |
与切石机互动次数 | 玩家与切石机互动的次数。 | minecraft.custom:minecraft.interact_with_stonecutter |
搜查发射器次数 | 玩家搜查发射器的次数。 | minecraft.custom:minecraft.inspect_dispenser |
搜查投掷器次数 | 玩家搜查投掷器的次数。 | minecraft.custom:minecraft.inspect_dropper |
搜查漏斗次数 | 玩家搜查漏斗的次数。 | minecraft.custom:minecraft.inspect_hopper |
开箱次数 | 玩家打开箱子的次数。 | minecraft.custom:minecraft.open_chest |
陷阱箱触发次数 | 玩家触发陷阱箱的次数。 | minecraft.custom:minecraft.trigger_trapped_chest |
打开末影箱次数 | 玩家打开末影箱的次数。 | minecraft.custom:minecraft.open_enderchest |
打开潜影盒次数 | 玩家打开潜影盒的次数。 | minecraft.custom:minecraft.open_shulker_box |
打开木桶次数 | 玩家打开木桶的次数。 | minecraft.custom:minecraft.open_barrel |
音符盒播放次数 | 玩家击打音符盒的次数。 | minecraft.custom:minecraft.play_noteblock |
音符盒调音次数 | 玩家与音符盒互动的次数。 | minecraft.custom:minecraft.tune_noteblock |
盆栽种植次数 | 玩家向花盆中放置植物的次数。 | minecraft.custom:minecraft.pot_flower |
播放唱片次数 | 玩家在唱片机中播放唱片的次数。 | minecraft.custom:minecraft.play_record |
躺在床上的次数 | 玩家在床上睡觉的次数。 | minecraft.custom:minecraft.sleep_in_bed |
鸣钟次数 | 玩家鸣钟的次数。 | minecraft.custom:minecraft.bell_ring |
触发袭击次数 | 玩家触发袭击的次数。 | minecraft.custom:minecraft.raid_trigger |
袭击胜利次数 | 玩家获胜袭击的次数。 | minecraft.custom:minecraft.raid_win |
存储
统计信息存储于.minecraft/saves/world name/stats/uuid.json(服务器则为world name/stats/uuid.json)中,并根据玩家的统计信息和成就进行更新。文件结构基于JSON,通常如下所示:
{"stat.xxxxxx":value,"stat.xxxxxx":value,"stat.xxxxxx":value,...}
统计信息通常保存在stats-change段中,如果不需要更新则留空。举例来说,在你跳之前,跳跃次数将没有被记录。距离将以厘米的单位存储、时间将以刻的单位存储(1刻等于0.05秒)。以离开游戏时间为例:
{"stat.leaveGame":4}
历史
Java版Beta | |||||
---|---|---|---|---|---|
2011年3月18日 | Notch在他的博客中谈到统计(以及成就): | ||||
1.5 | 加入了统计。 | ||||
2011年5月24日 | 在线保存统计数据计划在Beta 1.6 加入,但在这一点上被认为太容易出错。 | ||||
Java版 | |||||
1.7.2 | 13w36a | 现在每个世界都会单独储存统计信息,而不是共享一份。 | |||
加入了骑马距离、动物繁殖次数、钓到垃圾次数和钓到宝物次数的统计。 | |||||
移除了游玩时间、创建世界次数、保存/加载世界次数和多人联机次数的统计。 | |||||
1.7.6 | 统计现在有了自己的UUID而不是玩家的名称,现有文件的名称已转换。 | ||||
1.8 | 2014年2月24日 | searge发布了一幅有关于新增的潜行距离和疾跑距离的统计的图片。 | |||
14w10a | 加入了潜行距离、疾跑距离和上次死亡时间的统计。 | ||||
14w30a | 加入了与村民对话和与村民交易的统计。 | ||||
1.8.2 | 1.8.2-pre1 | 加入了以下统计: 吃掉的蛋糕片数,炼药锅装水次数,从炼药锅取水次数,清洗盔甲次数,清洗旗帜次数,与酿造台互动次数,与信标互动次数,搜查投掷器次数,搜查漏斗次数,搜查发射器次数,音符盒播放次数,音符盒调音次数,盆栽种植次数,陷阱箱触发次数,末影箱打开次数,物品附魔次数,播放唱片次数,与熔炉互动次数,与工作台互动次数和开箱次数。 | |||
1.9 | 15w32a | 加入了潜行时间的统计。 | |||
15w33a | 加入了物品的拾起和物品的掉落的统计。 | ||||
15w38a | 加入了躺在床上的次数的统计。 | ||||
15w49a | 加入了鞘翅飞行总距离的统计。 | ||||
1.11.1 | 16w50a | 移除了钓到垃圾次数和钓到宝物次数的统计。 | |||
1.13 | ? | 更改了统计的ID,现在以下划线分割代替驼峰格式命名(如以“time_since_death”代替“timeSinceDeath”)并将前缀由stat. 改为minecraft.custom:minecraft. 。 | |||
17w47a | 移除了方块栏,并将其合并到了物品栏中。Removed Blocks section, merging it into the Items section. | ||||
此时实体栏内没有任何统计信息。 | |||||
17w48a | 重新加入了实体栏,现在跟踪所有实体。 | ||||
18w07a | 加入了距上次休息统计 | ||||
1.13.1 | 18w32a | 加入了以下统计: 造成伤害(被吸收),造成伤害(被抵挡),盾牌抵挡的伤害,吸收的伤害,抵挡的伤害和清洗潜影盒次数。 | |||
1.14 | 18w50a | 加入了打开木桶次数的统计。 | |||
19w02a | 加入了与营火,讲台,高炉,烟熏炉交互次数的统计。 |
漏洞
Template:Issue list
你知道吗
- 统计信息会忽视数据元。也就是说,所有类型的木头、羊毛、树苗和染料将会作为同一样物品进行计算。煤和木炭也会被计为同一种物品。
- 在物品菜单中,并没有墨囊。这是由于墨囊与染料共用同一ID
- “合成次数”包括熔炼,比如通过树木制作木炭。
- 可可果在统计信息中会显示其成熟的样子,包括果实顶部和四周。
- 统计数字不能计算玩家杀死的雪傀儡、铁傀儡或凋灵的数量,或者玩家被这些敌对生物杀死的次数。
画廊
- MineCraftStatistics2.jpg
方块统计屏幕
- MineCraftStatistics3.jpg
物品统计屏幕
參考
版本 | |||||||
---|---|---|---|---|---|---|---|
开发周期 |
| ||||||
技术 |
| ||||||
多人游戏 | |||||||
游戏订制 |