在MC里放屁

Emm先看成果(版本1.11~1.12.2)

图片

建立计分板

  1. /scoreboard objectives add fart stat.crouchOneCm

用来检测放屁(按住shift移动)

高频执行

  1. effect @a[score_fart_min=1] 11 3 255 true

给放屁的玩家3秒无敌,为了防止被自己的屁熏(zha)死

  1. tp @a[score_fart_min=1] ~ ~2 ~

将放屁的玩家网上tp两格,不然没有足够的空间爆炸

  1. execute @a[score_fart_min=1] ~ ~ ~ /summon Creeper ~ ~-1 ~ {Fuse:0}

在放屁的玩家脚下生成一只爆炸的爬行者(这屁威力真大)

注: {Fuse:0}为距离爆炸:0,即立刻爆炸

  1. scoreboard players reset @a[score_fart_min=1] fart

重置放过屁的玩家的fart分数,不然你会一直放屁

然后你就可以在MC里愉快地放屁了

OOC

/summon falling_block ~ ~1.5 ~ {Time:1,Block:minecraft:redstone_block,Motion:[0d,-1d,0d],Passengers:[{id:falling_block,Time:1,Block:minecraft:activator_rail,Passengers:[{id:commandblock_minecart,Command:blockdata ~ ~-2 ~ {auto:0b,Command:""}},{id:commandblock_minecart,Command:setblock ~2 ~1 ~0 chain_command_block 1 replace {Command:"scoreboard players reset @a[score_fart_min=1] fart",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~0 ~0 chain_command_block 1 replace {Command:"execute @a[score_fart_min=1] ~ ~ ~ /summon Creeper ~ ~-1 ~ {Fuse:0}",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~-1 ~0 chain_command_block 1 replace {Command:"tp @a[score_fart_min=1] ~ ~2 ~",auto:1b}},{id:commandblock_minecart,Command:setblock ~2 ~-2 ~0 repeating_command_block 1 replace {Command:"effect @a[score_fart_min=1] 11 3 255 true",auto:1b}},{id:commandblock_minecart,Command:setblock ~ ~1 ~ command_block 0 replace {auto:1b,Command:fill ~ ~ ~ ~ ~-2 ~ air}},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}
  • what_name2018-04-12

                        
    • what_name2018-04-21

      这是一条回复