MostFunGuy

Untitled

Jan 24th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. on break of coal ore:
  2. player's gamemode is creative:
  3. stop
  4. cancel event
  5. player's inventory cannot hold 1 coal:
  6. message "{@prebad}Your inventory is full!" to player
  7. stop
  8.  
  9. add 1 coal to the player's inventory
  10. set the block to cobblestone
  11. set {mining.timeslot::%block's location%} to now
  12. set {mining.location::%block's location%} to the block's location
  13. set {mining.blocktype::%block's location%} to coal ore
Advertisement
Add Comment
Please, Sign In to add comment