Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on explode:
- if entity is TNT or EXPLOSIVE MINECART:
- if {tnt.explode} is false:
- loop blocks in radius 30:
- cancel event
- if entity is TNT or EXPLOSIVE MINECART:
- if {tnt.explode} is true:
- loop blocks in radius 2 of event-location:
- loop-blocks is water or stationary water or lava or 8:
- chance of 50%:
- set loop-blocks to cobblestone
- wait 20 tick
- loop blocks in radius 2 of event-location:
- loop-blocks is obsidian or stone or sand:
- if chance of 15%:
- set loop-blocks to air
- wait a tick
- loop blocks in radius 2 of event-location:
- loop-blocks is cobblestone:
- chance of 100%:
- set loop-blocks to air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement