Advertisement
ChaoticRedstone

How To Make Custom Tnt In Minecraft!

Sep 23rd, 2016
2,238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.09 KB | None | 0 0
  1. // Watch my youtube video for help:
  2. // One command format at very bottom!
  3.  
  4. //spawn egg
  5. > /give @a minecraft:spawn_egg 1 92 {CustomName:"Lava Tnt",CustomNameVisible:1,display:{Name:"Lava Tnt"},ench:[{id:99,lvl:0}],EntityTag:{id:"Cow",CustomName:lava}}
  6.  
  7. //scoreboard
  8. > /scoreboard objectives add timer dummy
  9.  
  10. //placing tnt block at every cow named lava
  11. //set this command block to repeat and always active!
  12. > /execute @e[type=Cow,name=lava] ~ ~ ~ /setblock ~ ~ ~ tnt
  13.  
  14. //summon armorstand at cow named lava
  15. //set this command block to chain and always active!
  16. > /execute @e[type=Cow,name=lava] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:"lavatnt",Small:1,Invisible:1}
  17.  
  18. //change primed tnt name to Lava
  19. //set this command block to chain and always active!
  20. > /execute @e[type=ArmorStand,name=lavatnt] ~ ~ ~ /entitydata @e[type=PrimedTnt,r=1] {CustomName:"Lava"}
  21.  
  22. //add primed tnt to timer
  23. //set this command block to chain and always active!
  24. > /scoreboard players add @e[type=PrimedTnt,name=Lava] timer 1
  25.  
  26. //particle effects
  27. //set this command block to chain and always active!
  28. > /execute @e[score_timer_min=1,score_timer=80] ~ ~ ~ /particle lava ~ ~ ~ 0.5 0.5 0.5 0.1 10
  29.  
  30. //summon fireball
  31. //set this command block to chain and always active!
  32. > /execute @e[score_timer_min=79,score_timer=79] ~ ~ ~ /summon Fireball ~ ~ ~ {direction:[0.0,-1.0,0.0],ExplosionPower:5}
  33.  
  34. //kill cow and armorstand
  35. //set this command block to chain and always active!
  36. > /kill @e[type=Cow,name=lava]
  37. > /execute @e[score_timer_min=80] ~ ~ ~ /kill @e[type=ArmorStand,name=lavatnt]
  38.  
  39. //check if tnt block is destroyed, if so, give back the spawn egg
  40. //set this command block to chain and always active!
  41. > /execute @e[type=ArmorStand,name=lavatnt] ~ ~ ~ detect ~ ~ ~ air 0 /summon Item ~ ~1 ~ {CustomName:"Lava Tnt",Motion:[0.0,0.1,0.0],Item:{id:spawn_egg,Damage:92,Count:1,tag:{display:{Name:"Lava Tnt"},ench:[{id:99,lvl:0}],EntityTag:{id:"Cow",CustomName:lava}}}}
  42.  
  43. //kill the armorstand if tnt block is destroyed
  44. //set this command block to chain and always active!
  45. > /execute @e[type=ArmorStand,name=lavatnt] ~ ~ ~ detect ~ ~ ~ air 0 /kill @e[type=ArmorStand,name=lavatnt,r=0]
  46.  
  47. //one command format
  48. > summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-1 ~8 ~-1 ~2 stained_hardened_clay 8 hollow},{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-1 ~8 ~-2 ~2 stained_glass 1 0 stained_hardened_clay},{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"Custom TNT In One Command By ChaoticRedstone\",\"color\":\"dark_red\"}]"},{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"[\",\"color\":\"red\"},{\"text\":\"TERMS OF USE\",\"color\":\"gold\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"Credit me and put a link to my channel in the video/project!\"}]}}},{\"text\":\"]\",\"color\":\"red\"}]"},{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"Click Here to Visit My YouTube Channel!\",\"color\":\"gold\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/channel/UC-ZmwjbZQ9JZlgD0I28O7Qw\"}}]"},{id:MinecartCommandBlock,Command:/scoreboard objectives add timer dummy},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"\\\"}",Text2:"{\\\"text\\\":\\\"Destroy\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-1 ~7 ~1 ~2 air\\\"}}"}},{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~ ~7 ~-2 ~1 chain_command_block 5},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 3},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~1 ~4 ~-2 ~1 chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 3},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~1 {auto:1,Command:/execute @e[type=ArmorStand,name=lavatnt] ~ ~ ~ detect ~ ~ ~ air 0 /kill @e[type=ArmorStand,name=lavatnt,r=0]}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~1 {auto:1,Command:"/execute @e[type=ArmorStand,name=lavatnt] ~ ~ ~ detect ~ ~ ~ air 0 /summon Item ~ ~1 ~ {CustomName:\\\"Lava Tnt\\\",Motion:[0.0,0.1,0.0],Item:{id:spawn_egg,Damage:92,Count:1,tag:{display:{Name:\\\"Lava Tnt\\\"},ench:[{id:99,lvl:0}],EntityTag:{id:\\\"Cow\\\",CustomName:lava}}}}"}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~1 {auto:1,Command:/execute @e[score_timer_min=80] ~ ~ ~ /kill @e[type=ArmorStand,name=lavatnt]}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~1 {auto:1,Command:/kill @e[type=Cow,name=lava]}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~1 {auto:1,Command:/execute @e[score_timer_min=79,score_timer=79] ~ ~ ~ /summon Fireball ~ ~ ~ {direction:[0.0,-1.0,0.0],ExplosionPower:5}}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~ {auto:1,Command:/execute @e[score_timer_min=1,score_timer=80] ~ ~ ~ /particle lava ~ ~ ~ 0.5 0.5 0.5 0.1 10}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~ {auto:1,Command:/scoreboard players add @e[type=PrimedTnt,name=Lava] timer 1}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~ {auto:1,Command:"/execute @e[type=ArmorStand,name=lavatnt] ~ ~ ~ /entitydata @e[type=PrimedTnt,r=1] {CustomName:\\\"Lava\\\"}"}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~ {auto:1,Command:"/execute @e[type=Cow,name=lava] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:\\\"lavatnt\\\",Small:1,Invisible:1}"}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~ {auto:1,Command:/execute @e[type=Cow,name=lava] ~ ~ ~ /setblock ~ ~ ~ tnt}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement