options: n_tnt: &c&lRzucane TNT # System Craftingu on load: set {rtnt} to "RzucaneTNT" new Recipe {rtnt}; {rtnt}.Recipe.setIngredient{1, 1 tnt}; {rtnt}.Recipe.setIngredient{2, 1 tnt}; {rtnt}.Recipe.setIngredient{3, 1 tnt}; {rtnt}.Recipe.setIngredient{4, 1 tnt}; {rtnt}.Recipe.setIngredient{5, 1 emerald block}; {rtnt}.Recipe.setIngredient{6, 1 tnt}; {rtnt}.Recipe.setIngredient{7, 1 tnt}; {rtnt}.Recipe.setIngredient{8, 1 tnt}; {rtnt}.Recipe.setIngredient{9, 1 tnt}; {rtnt}.Recipe.setResult{1 tnt of fortune 10 named "{@n_tnt}"}; {rtnt}.Recipe.register{}; # Aktywacja Rzucanego TNT on rightclick with tnt block: name of player's tool is "{@n_tnt}": shoot a tnt from player with speed 1.0 remove 1 tnt named "{@n_tnt}" from player's inventory stop on place tnt block: name of player's tool is "{@n_tnt}": cancel event shoot a tnt from player with speed 1.0 remove 1 tnt named "{@n_tnt}" from player's inventory stop # Komenda dla Admina command /rtnt []: permission: admin.tnt trigger: add 64 tnt of fortune 10 named "{@n_tnt}" to player's inventory stop