Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on break of coal ore:
- player's gamemode is creative:
- stop
- cancel event
- player's inventory cannot hold 1 coal:
- message "{@prebad}Your inventory is full!" to player
- stop
- add 1 coal to the player's inventory
- set the block to cobblestone
- set {mining.timeslot::%block's location%} to now
- set {mining.location::%block's location%} to the block's location
- set {mining.blocktype::%block's location%} to coal ore
Advertisement
Add Comment
Please, Sign In to add comment