Guest User

Untitled

a guest
Sep 20th, 2014
1,764
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. on load:
  2. set {_stowniarka} to "z"
  3. new Recipe "%{_stowniarka}%"
  4. {_stowniarka}.Recipe.registerIngredient{1, 1 stone};
  5. {_stowniarka}.Recipe.registerIngredient{2, 1 stone};
  6. {_stowniarka}.Recipe.registerIngredient{3, 1 stone};
  7. {_stowniarka}.Recipe.registerIngredient{4, 1 stone};
  8. {_stowniarka}.Recipe.registerIngredient{5, 1 diamond};
  9. {_stowniarka}.Recipe.registerIngredient{6, 1 stone};
  10. {_stowniarka}.Recipe.registerIngredient{7, 1 stone};
  11. {_stowniarka}.Recipe.registerIngredient{8, 1 stone};
  12. {_stowniarka}.Recipe.registerIngredient{9, 1 stone};
  13. {_stowniarka}.Recipe.registerResult{end stone with name "&2Stoniarka"};
  14. {_stowniarka}.Recipe.register{};
  15.  
  16.  
  17. On place End Stone:
  18. if name of player's tool is "&2Stoniarka":
  19. add location of target block to {stoniarka::*}
  20. send "&aPostawiles Stoniarke"
  21. every 2 second:
  22. loop {stoniarka::*}:
  23. if block above loop-value is air:
  24. set block above loop-value to stone
  25. on break End Stone:
  26. loop {stoniarka::*}:
  27. if loop-value is location of target block:
  28. remove location of target block from {stoniarka::*}
  29. send "&cZniszczyles Stoniarke"
  30. stop
Advertisement
Add Comment
Please, Sign In to add comment