Skocz do zawartości
  • 0

xKubeQ
 Udostępnij

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Spoiler

command /crafting:
    trigger:
        execute console command "craft %player% 1"
command /craftingi:
    trigger:
        execute console command "craft %player% 1"

command /craft [<player>] [<integer>]:
    executable by: console
    trigger:
        if arg 2 is 1:
            wait 2 tick
            open chest with 1 rows named "&9<&6*&9> &6Craftingi!" to player-arg
            wait 2 tick
            format slot 0 of player-arg with 1 of end stone named "&eStoniarka" to run "craft %player-arg% 2"
            format slot 1 of player-arg with 1 of ender portal frame named "&6Boy&bFarmer" to run "craft %player-arg% 3"
            format slot 2 of player-arg with 1 of sand named "&eSand&bFarmer" to run "craft %player-arg% 4"
            format slot 3 of player-arg with 1 of dropper named "&aAuto&bFosa" to run "craft %player-arg% 5"
            format slot 4 of player-arg with 1 of steak named "&cNieskonczone Miesko" to run "craft %player-arg% 6"
            format slot 5 of player-arg with 1 of ender chest named "&9Skrzynia Kresu" to run "craft %player-arg% 7"
            format slot 6 of player-arg with 1 of red glass to be unstealable
            format slot 7 of player-arg with 1 of red glass to be unstealable
            format slot 8 of player-arg with 1 of red glass to be unstealable
        if arg 2 is 2:
            wait 2 tick
            open chest with 3 rows named "&9<&6*&9> &eStoniarka" to player-arg
            wait 2 tick
            format slot 3 of player-arg with 1 of red glass to be unstealable
            format slot 4 of player-arg with 1 of red glass to be unstealable
            format slot 5 of player-arg with 1 of red glass to be unstealable
            format slot 6 of player-arg with 1 of red glass to be unstealable
            format slot 7 of player-arg with 1 of red glass to be unstealable
            format slot 8 of player-arg with 1 of red glass to be unstealable
            format slot 13 of player-arg with 1 of red glass to be unstealable
            format slot 14 of player-arg with 1 of red glass to be unstealable
            format slot 15 of player-arg with 1 of red glass to be unstealable
            format slot 16 of player-arg with 1 of red glass to be unstealable
            format slot 17 of player-arg with 1 of red glass to be unstealable
            format slot 21 of player-arg with 1 of red glass to be unstealable
            format slot 22 of player-arg with 1 of red glass to be unstealable
            format slot 23 of player-arg with 1 of red glass to be unstealable
            format slot 24 of player-arg with 1 of red glass to be unstealable
            format slot 0 of player-arg with 1 of stone named "Kamien" to be unstealable
            format slot 1 of player-arg with 1 of stone named "Kamien" to be unstealable
            format slot 2 of player-arg with 1 of stone named "Kamien" to be unstealable
            format slot 9 of player-arg with 1 of stone named "Kamien" to be unstealable
            format slot 10 of player-arg with 1 of diamond named "Diament" to be unstealable
            format slot 11 of player-arg with 1 of stone named "Kamien" to be unstealable
            format slot 12 of player-arg with 1 of end stone named "&eStoniarka" to be unstealable
            format slot 18 of player-arg with 1 of stone named "Kamien" to be unstealable
            format slot 19 of player-arg with 1 of stone named "Kamien" to be unstealable
            format slot 20 of player-arg with 1 of stone named "Kamien" to be unstealable 
            format slot 25 of player-arg with 1 of button named "&aWroc" with lore "Wroc do wyboru Craftingu" to run "craft %player-arg% 1"
            format slot 26 of player-arg with 1 of wooden door item named "&cWyjscie" to close
        if arg 2 is 3:
            wait 2 tick
            open chest with 3 rows named "&9<&6*&9> &6Boy&bFarmer" to player-arg
            wait 2 tick
            format slot 3 of player-arg with 1 of red glass to be unstealable
            format slot 4 of player-arg with 1 of red glass to be unstealable
            format slot 5 of player-arg with 1 of red glass to be unstealable
            format slot 6 of player-arg with 1 of red glass to be unstealable
            format slot 7 of player-arg with 1 of red glass to be unstealable
            format slot 8 of player-arg with 1 of red glass to be unstealable
            format slot 13 of player-arg with 1 of red glass to be unstealable
            format slot 14 of player-arg with 1 of red glass to be unstealable
            format slot 15 of player-arg with 1 of red glass to be unstealable
            format slot 16 of player-arg with 1 of red glass to be unstealable
            format slot 17 of player-arg with 1 of red glass to be unstealable
            format slot 21 of player-arg with 1 of red glass to be unstealable
            format slot 22 of player-arg with 1 of red glass to be unstealable
            format slot 23 of player-arg with 1 of red glass to be unstealable
            format slot 24 of player-arg with 1 of red glass to be unstealable
            format slot 0 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 1 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 2 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 9 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 10 of player-arg with 1 of diamond named "Diament" to be unstealable
            format slot 11 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 12 of player-arg with 1 of ender portal frame named "&6Boy&bFarmer" to be unstealable
            format slot 18 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 19 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 20 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 25 of player-arg with 1 of button named "&aWroc" with lore "Wroc do wyboru Craftingu" to run "craft %player-arg% 1"
            format slot 26 of player-arg with 1 of wooden door item named "&cWyjscie" to close
        if arg 2 is 4:
            wait 2 tick
            open chest with 3 rows named "&9<&6*&9> &eSand&bFarmer" to player-arg
            wait 2 tick
            format slot 3 of player-arg with 1 of red glass to be unstealable
            format slot 4 of player-arg with 1 of red glass to be unstealable
            format slot 5 of player-arg with 1 of red glass to be unstealable
            format slot 6 of player-arg with 1 of red glass to be unstealable
            format slot 7 of player-arg with 1 of red glass to be unstealable
            format slot 8 of player-arg with 1 of red glass to be unstealable
            format slot 13 of player-arg with 1 of red glass to be unstealable
            format slot 14 of player-arg with 1 of red glass to be unstealable
            format slot 15 of player-arg with 1 of red glass to be unstealable
            format slot 16 of player-arg with 1 of red glass to be unstealable
            format slot 17 of player-arg with 1 of red glass to be unstealable
            format slot 21 of player-arg with 1 of red glass to be unstealable
            format slot 22 of player-arg with 1 of red glass to be unstealable
            format slot 23 of player-arg with 1 of red glass to be unstealable
            format slot 24 of player-arg with 1 of red glass to be unstealable
            format slot 0 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 1 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 2 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 9 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 10 of player-arg with 1 of diamond named "Diament" to be unstealable
            format slot 11 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 12 of player-arg with 1 of sand named "&eSand&bFarmer" to be unstealable
            format slot 18 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 19 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 20 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 25 of player-arg with 1 of button named "&aWroc" with lore "Wroc do wyboru Craftingu" to run "craft %player-arg% 1"
            format slot 26 of player-arg with 1 of wooden door item named "&cWyjscie" to close
        if arg 2 is 5:
            wait 2 tick
            open chest with 3 rows named "&9<&6*&9> &aAuto&bFosa" to player-arg
            wait 2 tick
            format slot 3 of player-arg with 1 of red glass to be unstealable
            format slot 4 of player-arg with 1 of red glass to be unstealable
            format slot 5 of player-arg with 1 of red glass to be unstealable
            format slot 6 of player-arg with 1 of red glass to be unstealable
            format slot 7 of player-arg with 1 of red glass to be unstealable
            format slot 8 of player-arg with 1 of red glass to be unstealable
            format slot 13 of player-arg with 1 of red glass to be unstealable
            format slot 14 of player-arg with 1 of red glass to be unstealable
            format slot 15 of player-arg with 1 of red glass to be unstealable
            format slot 16 of player-arg with 1 of red glass to be unstealable
            format slot 17 of player-arg with 1 of red glass to be unstealable
            format slot 21 of player-arg with 1 of red glass to be unstealable
            format slot 22 of player-arg with 1 of red glass to be unstealable
            format slot 23 of player-arg with 1 of red glass to be unstealable
            format slot 24 of player-arg with 1 of red glass to be unstealable
            format slot 0 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 1 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 2 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 9 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 10 of player-arg with 1 of lava bucket named "Wiaderko Lawy" to be unstealable
            format slot 11 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 12 of player-arg with 1 of dropper named "&aAuto&bFosa" to be unstealable
            format slot 18 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 19 of player-arg with 1 of sand named "Piasek" to be unstealable
            format slot 20 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 25 of player-arg with 1 of button named "&aWroc" with lore "Wroc do wyboru Craftingu" to run "craft %player-arg% 1"
            format slot 26 of player-arg with 1 of wooden door item named "&cWyjscie" to close
        if arg 2 is 6:
            wait 2 tick
            open chest with 3 rows named "&9<&6*&9> &cNieskonczone Miesko" to player-arg
            wait 2 tick
            format slot 3 of player-arg with 1 of red glass to be unstealable
            format slot 4 of player-arg with 1 of red glass to be unstealable
            format slot 5 of player-arg with 1 of red glass to be unstealable
            format slot 6 of player-arg with 1 of red glass to be unstealable
            format slot 7 of player-arg with 1 of red glass to be unstealable
            format slot 8 of player-arg with 1 of red glass to be unstealable
            format slot 13 of player-arg with 1 of red glass to be unstealable
            format slot 14 of player-arg with 1 of red glass to be unstealable
            format slot 15 of player-arg with 1 of red glass to be unstealable
            format slot 16 of player-arg with 1 of red glass to be unstealable
            format slot 17 of player-arg with 1 of red glass to be unstealable
            format slot 21 of player-arg with 1 of red glass to be unstealable
            format slot 22 of player-arg with 1 of red glass to be unstealable
            format slot 23 of player-arg with 1 of red glass to be unstealable
            format slot 24 of player-arg with 1 of red glass to be unstealable
            format slot 0 of player-arg with 1 of steak named "Stek" to be unstealable
            format slot 1 of player-arg with 1 of steak named "Stek" to be unstealable
            format slot 2 of player-arg with 1 of steak named "Stek" to be unstealable
            format slot 9 of player-arg with 1 of steak named "Stek" to be unstealable
            format slot 10 of player-arg with 1 of apple named "Jablko" to be unstealable
            format slot 11 of player-arg with 1 of steak named "Stek" to be unstealable
            format slot 12 of player-arg with 1 of steak named "&cNieskonczone Miesko" to be unstealable
            format slot 18 of player-arg with 1 of steak named "Stek" to be unstealable
            format slot 19 of player-arg with 1 of steak named "Stek" to be unstealable
            format slot 20 of player-arg with 1 of steak named "Stek" to be unstealable
            format slot 25 of player-arg with 1 of button named "&aWroc" with lore "Wroc do wyboru Craftingu" to run "craft %player-arg% 1"
            format slot 26 of player-arg with 1 of wooden door item named "&cWyjscie" to close
        if arg 2 is 7:
            wait 2 tick
            open chest with 3 rows named "&9<&6*&9> &9Skrzynia Kresu" to player-arg
            wait 2 tick
            format slot 3 of player-arg with 1 of red glass to be unstealable
            format slot 4 of player-arg with 1 of red glass to be unstealable
            format slot 5 of player-arg with 1 of red glass to be unstealable
            format slot 6 of player-arg with 1 of red glass to be unstealable
            format slot 7 of player-arg with 1 of red glass to be unstealable
            format slot 8 of player-arg with 1 of red glass to be unstealable
            format slot 13 of player-arg with 1 of red glass to be unstealable
            format slot 14 of player-arg with 1 of red glass to be unstealable
            format slot 15 of player-arg with 1 of red glass to be unstealable
            format slot 16 of player-arg with 1 of red glass to be unstealable
            format slot 17 of player-arg with 1 of red glass to be unstealable
            format slot 21 of player-arg with 1 of red glass to be unstealable
            format slot 22 of player-arg with 1 of red glass to be unstealable
            format slot 23 of player-arg with 1 of red glass to be unstealable
            format slot 24 of player-arg with 1 of red glass to be unstealable
            format slot 0 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 1 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 2 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 9 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 10 of player-arg with 1 of eye of ender named "Oko Endermana" to be unstealable
            format slot 11 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 12 of player-arg with 1 of ender chest named "&9Skrzynia Kresu" to be unstealable
            format slot 18 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 19 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 20 of player-arg with 1 of obsidian named "Obsydian" to be unstealable
            format slot 25 of player-arg with 1 of button named "&aWroc" with lore "Wroc do wyboru Craftingu" to run "craft %player-arg% 1"
            format slot 26 of player-arg with 1 of wooden door item named "&cWyjscie" to close

 

Do  prawidłowego działania potrzeba SkQuery

Edytowane przez Zaaxel
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

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

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