血月的指令教程

建議配合視頻食用或者自己理解
前置
一個計(jì)分板
盔甲架命名 血月
指令
1.scoreboard players random @e[name=血月] xy 1 5
檢測隨機(jī)數(shù)是否=5
/testfor @e[scores={xy=5}]
如果是給予怪物Buff
effect @e[family=monster] resitance 2 2 ture
effect @e[family=monster] strength 2 1 ture
effect @a night_vision 20 1 true
提示
title @a title §l§4血月升起!
fog @a push minecraft:fog_crimson_forest xy
動作
playanimation @e[family=monster] animaton.casting default 10
刪除迷霧
fog @a temove xy
/scoreboard players @e xy
標(biāo)簽: