《我的世界》躲猫猫方块命令教程
我的世界躲猫猫方块怎么做?一个能自动对整方块的实体并且可以站上去的,很多玩家都在问固定版躲猫猫方块怎么做,下面小编就为各位玩家带来:躲猫猫方块命令教程
躲猫猫方块命令教程
效果图
图片我分为2张
原理
主要还是要用潜影贝
因为这是唯一 一个能自动对整方块的实体并且可以站上去的
指令
左边命令
1.execute @a[tag=duo] ~ ~ ~ /summon minecraft:falling_block ~ ~ ~ {Block:"minecraft:stone",Data:0,Time:0,NoGravity:1}
2.effect @a[tag=duo] 14 1 1 true
3.scoreboard teams join duo @a
4.scoreboard teams join duo @e[type=shulker]
5.effect @e[type=shulker] 14 1 99 true
6./clear @a minecraft:shulker_shell 0 1000
右边命令
1.execute @a[score_duo_min=1,score_duo=1,tag=duo] ~ ~ ~ /summon minecraft:shulker ~ ~ ~ {Color:7,CustomName:123,Health:1,Fire:1277951,Silent:1,Invulnerable:1,NoAI:1,team:duo}
2.scoreboard players set @a[score_duo_min=1,score_duo=1,tag=duo] duo 2
3./scoreboard players add @a[score_duo_min=2] mao 1
4.execute @a[score_mao=2] ~ ~ ~ /tp @a[score_duo_min=2,tag=duo] @e[type=shulker,c=1,r=1]
5.execute @a[score_duo_min=2] ~ ~ ~ /effect @a[score_duo_min=2,tag=duo] 2 1 20 true
6.execute @a[score_duo_min=2] ~ ~ ~ /teleport @a[score_duo_min=2,tag=duo] ~ ~ ~
7.scoreboard players set @a[score_duo_min=3] mao 0
8.execute @a[score_duo_min=3] ~ ~ ~ /kill @e[type=shulker,c=1,r=1]
9.scoreboard players set @a[score_duo_min=3] duo 0
添加计分板
/scoreboard objectives add duo stat.useItem.minecraft.carrot_on_a_stick
/scoreboard objectives add mao dummy
添加队伍
/scoreboard teams add duo
/scoreboard teams option duo collisionRule pushOwnTeam
然后你只需要改一改你的
/summon minecraft:falling_block ~ ~ ~ {Block:"minecraft:XXX",Data:0,Time:0,NoGravity:1}
输入
/scoreboard players tag @p add duo
再右键钓鱼竿固定再按一下解除固定
解除变身
/scoreboard players tag @p remove duo
具体原理【你如果不想看就不看】
让指定tag玩家右键胡萝卜竿时候生成一直无敌不会动隐身的潜影贝
然后只TP一次到潜影贝给予玩家缓慢效果和/teleport指令
再按一次胡萝卜竿让把潜影贝kill并且把所有躲猫猫的分数清0
BUG:小于潜影贝的方块会出现潜影贝里面的发射者