Guest User

Untitled

a guest
Jan 24th, 2019
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. on chunk generate:
  2. event-world is "Elytra"
  3. chance of 100%:
  4. loop all blocks of event-chunk:
  5. chance of 1%:
  6. loop-block's y-coord is more than 15
  7. set block at location x-coord of loop-block, y-coord of loop-block+60, z-coord of loop-block to bedrock
  8. set block at location x-coord of loop-block, y-coord of loop-block+61, z-coord of loop-block to chest
  9. broadcast "%location x-coord of loop-block, y-coord of loop-block+61, z-coord of loop-block%"
  10. add 5 slimeballs and 2 acacia saplings to the inventory of block at location x-coord of loop-block, y-coord of loop-block+61, z-coord of loop-block
  11. stop
  12.  
  13. on click on chest:
  14. player is in world "Elytra"
  15. block below clicked block is bedrock
  16. set {_location} to "%x-coord of event-block%,%y-coord of event-block%,%z-coord of event-block%"
  17. if {Wunderchest::*} contains {_location}:
  18. stop
  19. else:
  20. spawn 1 zombie at block behind event-block
  21. spawn 1 wither skeleton at block south of event-block
  22. chance of 50%:
  23. spawn 1 skeleton at block behind player
  24. chance of 50%:
  25. spawn 1 zombies at block north of event-block
  26. chance of 10%:
  27. spawn 1 witch at block north of event-block
  28. add {_location} to {Wunderchest::*}
Advertisement
Add Comment
Please, Sign In to add comment