Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- set {_tnt} to "&4rzucane tnt"
- new Recipe {_tnt};
- {_tnt}.Recipe.setIngredient{1, 1 tnt};
- {_tnt}.Recipe.setIngredient{2, 1 tnt};
- {_tnt}.Recipe.setIngredient{3, 1 tnt};
- {_tnt}.Recipe.setIngredient{4, 1 tnt};
- {_tnt}.Recipe.setIngredient{5, 1 tnt};
- {_tnt}.Recipe.setIngredient{6, 1 tnt};
- {_tnt}.Recipe.setIngredient{7, 1 tnt};
- {_tnt}.Recipe.setIngredient{8, 1 tnt};
- {_tnt}.Recipe.setIngredient{9, 1 tnt};
- {_tnt}.Recipe.setResult{tnt of unbreaking 10 named "&4rzucane tnt"};
- {_tnt}.Recipe.register{};
- on right click with tnt:
- if name of player's tool is "&4rzucane tnt":
- if player has permission "Rzucanetnt":
- if player's gamemode is creative:
- shoot tnt with speed 1
- else:
- remove 1 tnt named "&4rzucane tnt" from player
- shoot tnt with speed 1
- on place tnt:
- if name of player's tool is "&4rzucane tnt":
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement