Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Watch the YouTube video for help:https://www.youtube.com/watch?v=jbQzSRvnirg&feature=youtu.be
- To change the block you want to explode when interacted, change the scoreboard stat. to one the following:
- - brewingstandInteraction
- - cauldronUsed
- - enderchestOpened
- You can find more on the official Minecraft Website: http://minecraft.gamepedia.com/Scoreboard
- To change the block you want to explode when mined, change the BLOCKNAME in stat.mineBlock.BLOCKNAME to one the block you want
- Ex. stat.mineBlock.redstone_block
- //exploding chests, crafting tables, furnaces and beacons
- 1. Add the scoreboards
- > /scoreboard objectives add craft stat.craftingTableInteraction
- > /scoreboard objectives add furnace stat.furnaceInteraction
- > /scoreboard objectives add chest stat.chestOpened
- > /scoreboard objectives add beacon stat.beaconInteraction
- 2. Checking for block interacted, then spawning tnt
- > /execute @a[score_craft_min=1] ~ ~ ~ /summon PrimedTnt ~ ~1 ~
- > /execute @a[score_furnace_min=1] ~ ~ ~ /summon PrimedTnt ~ ~1 ~
- > /execute @a[score_chest_min=1] ~ ~ ~ /summon PrimedTnt ~ ~1 ~
- > /execute @a[score_beacon_min=1] ~ ~ ~ /summon PrimedTnt ~ ~1 ~
- 3. Reset scoreboards
- > /scoreboard players set @a craft 0
- > /scoreboard players set @a furnace 0
- > /scoreboard players set @a chest 0
- > /scoreboard players set @a beacon 0
- //exploding diamond ore, log and stone
- 1. Add the scoreboards
- > /scoreboard objectives add dia stat.mineBlock.minecraft.diamond_ore
- > /scoreboard objectives add log stat.mineBlock.minecraft.log
- > /scoreboard objectives add stone stat.mineBlock.minecraft.stone
- 2. Checking for mined block, then spawning tnt
- > /execute @a[score_dia_min=1] ~ ~ ~ /summon PrimedTnt ~ ~1 ~
- > /execute @a[score_log_min=1] ~ ~ ~ /summon PrimedTnt ~ ~1 ~
- > /execute @a[score_stone_min=1] ~ ~ ~ /summon PrimedTnt ~ ~1 ~
- 3. Reset scoreboards
- > /scoreboard players set @a dia 0
- > /scoreboard players set @a log 0
- > /scoreboard players set @a stone 0
Advertisement
Add Comment
Please, Sign In to add comment