Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on chunk generate:
- event-world is "Elytra"
- chance of 100%:
- loop all blocks of event-chunk:
- chance of 1%:
- loop-block's y-coord is more than 15
- set block at location x-coord of loop-block, y-coord of loop-block+60, z-coord of loop-block to bedrock
- set block at location x-coord of loop-block, y-coord of loop-block+61, z-coord of loop-block to chest
- broadcast "%location x-coord of loop-block, y-coord of loop-block+61, z-coord of loop-block%"
- 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
- stop
- on click on chest:
- player is in world "Elytra"
- block below clicked block is bedrock
- set {_location} to "%x-coord of event-block%,%y-coord of event-block%,%z-coord of event-block%"
- if {Wunderchest::*} contains {_location}:
- stop
- else:
- spawn 1 zombie at block behind event-block
- spawn 1 wither skeleton at block south of event-block
- chance of 50%:
- spawn 1 skeleton at block behind player
- chance of 50%:
- spawn 1 zombies at block north of event-block
- chance of 10%:
- spawn 1 witch at block north of event-block
- add {_location} to {Wunderchest::*}
Advertisement
Add Comment
Please, Sign In to add comment