版本是网易版,开了启用命令方块,命令方块设置如下,延迟为20,保持开启,命令如下:
execute @a[lbk]hasitem={item=lodestone_compass,data=1,location=slot.weapon.mainhand}[rbk] ~~~ titleraw @s actionbar {"rawtext":[lbk]{"text":"§l§e☼当前时间☼ §b"},{"score":{"name":"小鸟游星野","objective":"小时"}},{"text":" ∶ "},{"score":{"name":"小鸟游星野","objective":"分钟"}},{"text":"
§e☼青辉石☼§b "},{"score":{"selector":"@s","objective":"青辉石"}}[rbk]}
(“小鸟游星野”是个虚拟计分项是名字)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=741cc536c194a4c20a23e7233ef51bac/8e3cf854564e9258739da2d7da82d158ccbf4e79.jpg?tbpicau=2024-06-30-05_3f8af1238e3e631b03dfa20de80310fd)
execute @a[lbk]hasitem={item=lodestone_compass,data=1,location=slot.weapon.mainhand}[rbk] ~~~ titleraw @s actionbar {"rawtext":[lbk]{"text":"§l§e☼当前时间☼ §b"},{"score":{"name":"小鸟游星野","objective":"小时"}},{"text":" ∶ "},{"score":{"name":"小鸟游星野","objective":"分钟"}},{"text":"
§e☼青辉石☼§b "},{"score":{"selector":"@s","objective":"青辉石"}}[rbk]}
(“小鸟游星野”是个虚拟计分项是名字)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=741cc536c194a4c20a23e7233ef51bac/8e3cf854564e9258739da2d7da82d158ccbf4e79.jpg?tbpicau=2024-06-30-05_3f8af1238e3e631b03dfa20de80310fd)