Witam, posiadam problem z rzucanym tnt, które zamiast być skończone jest nieskończone
on load:
set {_tnt} to "Rzucane TnT"
new Recipe {_tnt};
{_tnt}.Recipe.setIngredient{1, 64 tnt};
{_tnt}.Recipe.setIngredient{2, 64 tnt};
{_tnt}.Recipe.setIngredient{3, 64 tnt};
{_tnt}.Recipe.setIngredient{4, 64 tnt};
{_tnt}.Recipe.setIngredient{5, 64 tnt};
{_tnt}.Recipe.setIngredient{6, 64 tnt};
{_tnt}.Recipe.setIngredient{7, 64 tnt};
{_tnt}.Recipe.setIngredient{8, 64 tnt};
{_tnt}.Recipe.setIngredient{9, 64 tnt};
{_tnt}.Recipe.setResult{tnt of unbreaking 10 named "&4Rzucane TnT"};
{_tnt}.Recipe.register{};
on right click with tnt block:
if name of player's tool is "&4Rzucane TnT":
shoot a tnt from player with speed 0.2
remove 1 tnt named "&4Rzucane TnT" from player
stop
on place tnt block:
if name of player's tool is "&&lRzucane Tnt":
cancel event
shoot a tnt from player with speed 0.2
remove 1 tnt named "&4Rzucane TnT" from player
stop
Pytanie
serdelek69 1
Witam, posiadam problem z rzucanym tnt, które zamiast być skończone jest nieskończone
on load:
set {_tnt} to "Rzucane TnT"
new Recipe {_tnt};
{_tnt}.Recipe.setIngredient{1, 64 tnt};
{_tnt}.Recipe.setIngredient{2, 64 tnt};
{_tnt}.Recipe.setIngredient{3, 64 tnt};
{_tnt}.Recipe.setIngredient{4, 64 tnt};
{_tnt}.Recipe.setIngredient{5, 64 tnt};
{_tnt}.Recipe.setIngredient{6, 64 tnt};
{_tnt}.Recipe.setIngredient{7, 64 tnt};
{_tnt}.Recipe.setIngredient{8, 64 tnt};
{_tnt}.Recipe.setIngredient{9, 64 tnt};
{_tnt}.Recipe.setResult{tnt of unbreaking 10 named "&4Rzucane TnT"};
{_tnt}.Recipe.register{};
on right click with tnt block:
if name of player's tool is "&4Rzucane TnT":
shoot a tnt from player with speed 0.2
remove 1 tnt named "&4Rzucane TnT" from player
stop
on place tnt block:
if name of player's tool is "&&lRzucane Tnt":
cancel event
shoot a tnt from player with speed 0.2
remove 1 tnt named "&4Rzucane TnT" from player
stop
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.