Advertisement
perry206

Untitled

Oct 18th, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. on script load:
  2. register new shaped recipe for planks:4 named "&1Obsydianiarka" using redstone, redstone, redstone, water bucket, dispenser, lava bucket, stone, stone, stone
  3. register new shaped recipe for planks:4 named "&1Obsydianiarka" using redstone, redstone, redstone, lava bucket, dispenser, water bucket, stone, stone, stone
  4.  
  5. On place planks:4:
  6. name of player's tool is "&1Obsydianiarka"
  7. add location of target block to {hardcoreobs::*}
  8.  
  9. on break planks:4:
  10. cancel event
  11. set block to air
  12. drop planks:4 named "&1Obsydianiarka"
  13. loop {hardcoreobs::*}:
  14. if loop-value is location of target block:
  15. remove location of target block from {hardcoreobs::*}
  16. on explode :
  17. loop blocks in radius 3 of event-location:
  18. loop {hardcoreobs::*}:
  19. loop-value is location of loop-block
  20. remove loop-value from {hardcoreobs::*}
  21. every 1 real second:
  22. loop {hardcoreobs::*}:
  23. if block above loop-value is air:
  24. loop blocks in radius 1:
  25. loop-block is chest:
  26. loop items of redstone:
  27. loop-block contains loop-item
  28. remove loop-item from loop-block
  29. set block above loop-value to obsidian
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement