第4页:建造过程-胜利模块
展开胜利模块
进行胜利宣言:
title @a title {text:"YOU WIN!",color:"red",bold:"true"}
停止游戏中的高频:
setblock -3 6 -15 redstone_block
你懂得,就是显示游戏胜利戴墨镜的那张脸:
entitydata @e[name=face] {Item:{id:"minecraft:filled_map",Count:1b,Damage:102s}}
比较此次成绩与最好纪录:
/scoreboard players operation @a timeall -= @a best
testfor @a[score_timeall=0]
一旦此次成绩更好,则设置此次成绩为最好成绩,同时开启英雄榜:
setblock 27 18 41 redstone_block
/scoreboard players operation @a timeall += @a best
/scoreboard players operation @a best = @a timeall
重置时间:
scoreboard players set @a time2 0
scoreboard players set @a time1 0
scoreboard players set @a time 0
更多相关内容请关注:我的世界专区
责任编辑:Shy夏夏