Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. on load:
  2. set {_tnt} to "&4rzucane tnt"
  3. new Recipe {_tnt};
  4. {_tnt}.Recipe.setIngredient{1, 1 tnt};
  5. {_tnt}.Recipe.setIngredient{2, 1 tnt};
  6. {_tnt}.Recipe.setIngredient{3, 1 tnt};
  7. {_tnt}.Recipe.setIngredient{4, 1 tnt};
  8. {_tnt}.Recipe.setIngredient{5, 1 tnt};
  9. {_tnt}.Recipe.setIngredient{6, 1 tnt};
  10. {_tnt}.Recipe.setIngredient{7, 1 tnt};
  11. {_tnt}.Recipe.setIngredient{8, 1 tnt};
  12. {_tnt}.Recipe.setIngredient{9, 1 tnt};
  13. {_tnt}.Recipe.setResult{tnt of unbreaking 10 named "&4rzucane tnt"};
  14. {_tnt}.Recipe.register{};
  15.  
  16. on right click with tnt:
  17. if name of player's tool is "&4rzucane tnt":
  18. if player has permission "Rzucanetnt":
  19. if player's gamemode is creative:
  20. shoot tnt with speed 1
  21. else:
  22. remove 1 tnt named "&4rzucane tnt" from player
  23. shoot tnt with speed 1
  24. on place tnt:
  25. if name of player's tool is "&4rzucane tnt":
  26. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement