你没有听错,TNT能开礼包,我今天给大家带来的是TNT礼包
使用教程:
(获得命令方块,输入指令)
效果图:
(丢4个钻石在TNT上即可)
箱子里面有什么?:
使用时只需要将4个钻石丢到TNT上,就可以获得礼包啦!快来使用吧!
ooc(礼包里面的附魔书好像没有用,可以自己改pwp):
/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:"scoreboard objectives add cs dummy"},{id:commandblock_minecart,Command:"scoreboard objectives add tnt dummy"},{id:commandblock_minecart,Command:"gamerule commandBlockOutput false"},{id:commandblock_minecart,Command:"setblock ~3 ~0 ~1 chain_command_block 9 replace {Command:"kill @e[score_tnt_min=78]",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~1 chain_command_block 9 replace {Command:"execute @e[score_tnt_min=78] ~ ~ ~ /summon minecraft:item ~ ~ ~ {Item:{id:\\"minecraft:chest\\",Count:1b,Damage:0s,tag:{BlockEntityTag:{id:\\"Chest\\",Items:[{Slot:10b,id:\\"minecraft:enchanted_book\\",Count:1b,Damage:0s,tag:{ench:[{id:70s,lvl:1s}]}},{Slot:12b,id:\\"minecraft:emerald\\",Count:1b,Damage:0s},{Slot:14b,id:\\"minecraft:obsidian\\",Count:1b,Damage:0s},{Slot:16b,id:\\"minecraft:enchanted_book\\",Count:1b,Damage:0s,tag:{ench:[{id:35s,lvl:3s}]}}],CustomName:\\"礼包\\"}}}}",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~1 repeating_command_block 1 replace {Command:"execute @e[score_tnt_min=78] ~ ~ ~ /playsound minecraft:ui.toast.challenge_complete ambient @p",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~0 repeating_command_block 1 replace {Command:"execute @e[score_tnt_min=77] ~ ~ ~ /particle totem ~ ~ ~ 0 0 0 0.7 300",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~0 repeating_command_block 1 replace {Command:"execute @e[score_tnt_min=77] ~ ~ ~ /setblock ~ ~ ~ minecraft:standing_banner 0 replace {Base:4,Patterns:[{Pattern:\\"tr\\",Color:9},{Pattern:\\"bri\\",Color:6},{Pattern:\\"mr\\",Color:6},{Pattern:\\"mc\\",Color:4}]}",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~0 ~1 repeating_command_block 1 replace {Command:"scoreboard players add @e[tag=222] tnt 1",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~-1 ~1 repeating_command_block 1 replace {Command:"scoreboard players set @e[type=Item] cs 1 {Item:{id:\\"minecraft:diamond\\",Count:4b,Damage:0s}}",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~-2 ~1 repeating_command_block 1 replace {Command:"execute @e[tag=222] ~ ~ ~ /particle fireworksSpark ~ ~ ~ 0 0 0 0.08 20",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~0 ~0 chain_command_block 9 replace {Command:"kill @e[score_cs=1,score_cs_min=1]",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~-1 ~0 chain_command_block 9 replace {Command:"execute @e[score_cs_min=1,score_cs=1] ~ ~-1 ~ detect ~ ~ ~ minecraft:tnt 0 /setblock ~ ~ ~ air",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~-2 ~0 repeating_command_block 1 replace {Command:"execute @e[score_cs_min=1,score_cs=1] ~ ~-1 ~ detect ~ ~ ~ minecraft:tnt 0 /summon minecraft:tnt ~ ~1 ~ {Tags:[\\"222\\"],Motion:[0.0,1.0,0.0],Fuse:80}",auto:1b}"},{id:commandblock_minecart,Command:"/tellraw @a {"text":"","extra":[{"text":"生成完毕!!","color":"gold","bold":true},{"text":""},{"text":"\\n作者论坛名称:\\n LQH我的世界","color":"green","bold":true},{"text":"\\n作者邮箱:\\n 18178515152@163.com\\n sb188@qq.com","color":"blue","bold":true},{"text":"\\n使用方法:\\n 丢4个钻石在TNT上即可","color":"red","bold":true},{"text":""},{"text":""}]}"},{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]"}]}]}
(版本1.12,其他可以自己试)
本文来源:我的世界官方论坛,作者:LQH我的世界