Skocz do zawartości
  • 0

TuSKe


xketrab

Pytanie

Witam. Stworzyłem enchant wg. poradnika xAxee'a (z przed 2 lat ale TuSKe na 1.15.2 działa) na customowy enchant. I mam problem zeby go nałozyc na jakis przedmiot. Wiecie jak to zrobic?
Kod:
 

on load:
	register a new custom enchantment with id name "AutoSmelt"
	set {_e} to "AutoSmelt" parsed as custom enchantment
	set accepted items for {_e} to "Pickaxes"
command /kilof:
	trigger:
		give diamond pickaxe of {_e} to player
		send "11"
		stop
		
on mine of gold ore:
	if player's tool has custom enchantment AutoSmelt:
		send "correct enchant"

Błąd:
https://imgur.com/a/mwfVCIJ

 

Edytowane przez xketrab
Odnośnik do komentarza
https://skript.pl/temat/38871-tuske/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on load:
	register a new custom enchantment with id name "AutoSmelt"
	set {_e} to "AutoSmelt" parsed as custom enchantment
	set accepted items for {_e} to "Pickaxes"
command /kilof:
	trigger:
		set {_e} to "AutoSmelt" parsed as custom enchantment
		give diamond pickaxe of {_e} to player
		send "11"
		stop
		
on mine of gold ore:
	if player's tool has custom enchantment AutoSmelt:
		send "correct enchant"

 

Odnośnik do komentarza
https://skript.pl/temat/38871-tuske/#findComment-244721
Udostępnij na innych stronach

  • 0
14 godzin temu, xAxee napisał:

on load:
	register a new custom enchantment with id name "AutoSmelt"
	set {_e} to "AutoSmelt" parsed as custom enchantment
	set accepted items for {_e} to "Pickaxes"
command /kilof:
	trigger:
		set {_e} to "AutoSmelt" parsed as custom enchantment
		give diamond pickaxe of {_e} to player
		send "11"
		stop
		
on mine of gold ore:
	if player's tool has custom enchantment AutoSmelt:
		send "correct enchant"

 

 

Nie działa :(   
Ten sam błąd się pojawia

Odnośnik do komentarza
https://skript.pl/temat/38871-tuske/#findComment-244759
Udostępnij na innych stronach

  • 0

Może ilość i wartość trzeba podać

command /kilof:
	trigger:
		set {_e} to "AutoSmelt 1" parsed as custom enchantment
		give 1 of diamond pickaxe of {_e} to inventory of player
		send "11"
		stop

 

Odnośnik do komentarza
https://skript.pl/temat/38871-tuske/#findComment-244761
Udostępnij na innych stronach

  • 0
3 minuty temu, PanMaruda napisał:

Może ilość i wartość trzeba podać


command /kilof:
	trigger:
		set {_e} to "AutoSmelt 1" parsed as custom enchantment
		give 1 of diamond pickaxe of {_e} to inventory of player
		send "11"
		stop

 


Nie idzie
Nadal ten sam błąd

Odnośnik do komentarza
https://skript.pl/temat/38871-tuske/#findComment-244763
Udostępnij na innych stronach

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ą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...