Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. on explode:
  2. if entity is TNT or EXPLOSIVE MINECART:
  3. if {tnt.explode} is false:
  4. loop blocks in radius 30:
  5. cancel event
  6. if entity is TNT or EXPLOSIVE MINECART:
  7. if {tnt.explode} is true:
  8. loop blocks in radius 2 of event-location:
  9. loop-blocks is water or stationary water or lava or 8:
  10. chance of 50%:
  11. set loop-blocks to cobblestone
  12. wait 20 tick
  13. loop blocks in radius 2 of event-location:
  14. loop-blocks is obsidian or stone or sand:
  15. if chance of 15%:
  16. set loop-blocks to air
  17. wait a tick
  18. loop blocks in radius 2 of event-location:
  19. loop-blocks is cobblestone:
  20. chance of 100%:
  21. set loop-blocks to air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement