Zevn
在玩家睡过的床上生成一个实体,命令格式以最高版本,最好function

SPGoding
#tick
execute as @a[nbt={Sleeping:1b}] at @s unless entity @e[distance=..1,type=sheep] run summon minecraft:sheep

Zevn
SPGoding 发表于 2018-11-17 00:01
#tick
execute as @a[nbt={Sleeping:1b}] at @s unless entity @e[distance=..1,type=sheep] run summon mi ...

另一个帖子被版主用无意义标题删了==  可以在发一次命令吗,十分感谢-(在玩家死亡地点放置方块)

SPGoding
Zevn 发表于 2018-11-17 20:50
另一个帖子被版主用无意义标题删了==可以在发一次命令吗,十分感谢-(在玩家死亡地点放置方块) ...

#load
scoreboard objectives add death deathCount


#tick
execute as @a[scores={death=1..}] at @s run setblock ~ ~ ~ minecraft:stone
execute as @a[scores={death=1..}] run scoreboard players reset @s death