Skocz do zawartości
  • 0

Problem z format slot


FireCobble
 Udostępnij

Pytanie

Cytat
command /craftingi [<text>]:
	trigger:
		close player's inventory
		open chest with 4 rows named "&8&lMENU CRAFTINGOW..." to player        
		set slot 9 of player's current inventory to ender chest named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &a&lENDERCHEST" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 10 of player's current inventory to end stone named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &6&lSTONIARKA" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 11 of player's current inventory to end stone named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &e&lSZYBKA STONIARKA" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 12 of player's current inventory to tnt named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &c&lRzucane TnT" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 13 of player's current inventory to Cyan stained Clay named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &7&lKopacz Fosy" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 14 of player's current inventory to Yellow stained Clay named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &e&lSand Farmer" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 15 of player's current inventory to Purple stained Clay named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &9&lBoy Farmer" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 16 of player's current inventory to Mossy CobbleStone of unbreaking 10 named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &f&lCobble&c&lX" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 17 of player's current inventory to oak log of unbreaking 10 named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &e&lGenerator Drewna" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 18 of player's current inventory to golden shovel named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &6&lMAGICZNA LOPATA" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 19 of player's current inventory to golden boots named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &c&lANTY-NOGI" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 20 of player's current inventory to golden apple named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &6&lREFILKA" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"
		set slot 21 of player's current inventory to enchanted golden apple named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &6&lKOXA" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-"


on inventory click:
    if inventory name of current inventory of player is "&8&lMENU CRAFTINGOW...":
        cancel event	
        if clicked slot is ender chest named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &a&lENDERCHEST" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-": 
            open chest with 6 rows named "&8ENDER CHEST..." to player    
            set slot 10 of player's current inventory to obsidian named "&8» &7Przedmiot potrzebny do craftowania ender chest"
            set slot 11 of player's current inventory to obsidian named "&8» &7Przedmiot potrzebny do craftowania ender chest"
            set slot 12 of player's current inventory to obsidian named "&8» &7Przedmiot potrzebny do craftowania ender chest"
            set slot 19 of player's current inventory to obsidian named "&8» &7Przedmiot potrzebny do craftowania ender chest"
            set slot 29 of player's current inventory to obsidian named "&8» &7Przedmiot potrzebny do craftowania ender chest"
            set slot 30 of player's current inventory to obsidian named "&8» &7Przedmiot potrzebny do craftowania ender chest"
            set slot 28 of player's current inventory to obsidian named "&8» &7Przedmiot potrzebny do craftowania ender chest"
            set slot 21 of player's current inventory to obsidian named "&8» &7Przedmiot potrzebny do craftowania ender chest"
            set slot 14 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 15 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 16 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 23 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 24 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 25 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 33 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 34 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 32 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            format slot 51 of player with crafting table named "       &a»&a&lAUTOMATYCZNY CRAFTING«" with lore "" and "&7     Jesli posiadasz wystarczajaca ilosc" and "&7    Przedmiotow &f&nnacisij tutaj,&7 aby" and "&7    Stworzyc automatycznie  przedmiot!" and "&7            &fLub uzyj komendy:" and "&7            &a/craftuj-enderchest"  to close then run [execute player command "craftuj"]
            set slot 20 of player's current inventory to Ender pearl named "&8» &7Przedmiot potrzebny do craftowania ender chest"
            set slot 24 of player's current inventory to Ender chest named "&8» &a Ten przedmiot otrzymasz!"
        if clicked slot is end stone named "&f&lX" with lore "&8&m-[----------------------------]-" and "&3&lRecpetura tworzenia &8- &6&lSTONIARKA" and "&bNacisnij, aby sprawdzic jak stworzyc" and "&bTen przedmiot w craftingu!" and "&8&m-[----------------------------]-": 
            open chest with 6 rows named "&8Zwykla STONIARKA" to player    
            set slot 10 of player's current inventory to diamond named "&8» &7Przedmiot potrzebny do craftowania Stoniarki"
            set slot 11 of player's current inventory to diamond named "&8» &7Przedmiot potrzebny do craftowania Stoniarki"
            set slot 12 of player's current inventory to diamond named "&8» &7Przedmiot potrzebny do craftowania Stoniarki"
            set slot 19 of player's current inventory to diamond named "&8» &7Przedmiot potrzebny do craftowania Stoniarki"
            set slot 29 of player's current inventory to diamond named "&8» &7Przedmiot potrzebny do craftowania Stoniarki"
            set slot 30 of player's current inventory to diamond named "&8» &7Przedmiot potrzebny do craftowania Stoniarki"
            set slot 28 of player's current inventory to diamond named "&8» &7Przedmiot potrzebny do craftowania Stoniarki"
            set slot 21 of player's current inventory to diamond named "&8» &7Przedmiot potrzebny do craftowania Stoniarki"
            set slot 14 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 15 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 16 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 23 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 24 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 25 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 33 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 34 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 32 of player's current inventory to Light gray stained glass pane named "&8» &8&m--|--" with lore "&8» &cWybierz inna pozycje!"
            set slot 47 of player's current inventory to Yellow stained glass pane named "&8» &8 &6POWROT DO MENU"
            format slot 51 of player with crafting table named "     &a»&a&lAUTOMATYCZNY CRAFTING«" with lore "" and "&7     Jesli posiadasz wystarczajaca ilosc" and "&7    Przedmiotow &f&nnacisij tutaj,&7 aby" and "&7    Stworzyc automatycznie  przedmiot!" and "&7            &fLub uzyj komendy:" and "&7            &a/craftuj-stoniarka" to close then run [execute player command "craftuj-enderchest"]
            set slot 20 of player's current inventory to Diamond pickaxe named "&8» &7Przedmiot potrzebny do craftowania Stoniarki"
            set slot 24 of player's current inventory to End stone named "&8» &a Ten przedmiot otrzymasz!"


on inventory click:
    if inventory name of current inventory of player is "&8ENDER CHEST...":
        cancel event
on inventory click:
    if inventory name of current inventory of player is "&8Zwykla STONIARKA":
        cancel event

 

Co jest źle? nie wykonuje mi komendy z format slot

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

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.

 Udostępnij

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

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