knugi

Untitled

Apr 27th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. on place of ender portal:
  2. if name of player's tool is "&9&lBoyFarmer":
  3. if y-location of event-block is 5.5:
  4. set {_loc} to location of event-block
  5. set event-block to obsidian
  6. wait 1 tick
  7. loop 62 times:
  8. if y-location of {_loc} is 65.5:
  9. stop
  10. set block above {_loc} to obsidian
  11. set {_loc} to location above {_loc}
  12. wait 1 second
  13. stop
  14. cancel event
  15. send "&cBoyFarmera musisz postawic na 5 poziomie!"
  16. stop
  17. on place of sponge:
  18. if name of player's tool is "&6Automatyczny generator &ePiasku":
  19. if y-location of event-block is 5.5:
  20. set event-block to sand
  21. set {_loc} to location of event-block
  22. wait 1 tick
  23. loop 62 times:
  24. if y-location of {_loc} is 65.5:
  25. stop
  26. set block above {_loc} to sand
  27. set {_loc} to location above {_loc}
  28. wait 1 second
  29. stop
  30. cancel event
  31. send "&cGenerator musisz postawić na 5 poziomie!"
  32. stop
  33. on load:
  34. register new shaped recipe for ender portal named "&9&lBoyFarmer" using golden apple, obsidian, golden apple, obsidian, redstone block, obsidian, golden apple, obsidian, golden apple
  35. register new shaped recipe for sponge named "&6Automatyczny generator &ePiasku" using sand, sand, sand, sand, enchanted golden apple, sand, sand, sand, sand
Advertisement
Add Comment
Please, Sign In to add comment