Jamnior 2 Opublikowano 2 maja 2020 Udostępnij Opublikowano 2 maja 2020 Jak wypełnić każdą pustą kratkę czarnym szkłem w gui? bez uzywania format slot itd. Cytuj Odnośnik do komentarza https://skript.pl/temat/38814-gui-szk%C5%82o/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 EltusieK 6 Opublikowano 2 maja 2020 Udostępnij Opublikowano 2 maja 2020 pewnie w pętli się da albo we własnej funkcji, ale po prostu formatem to nie jest chyba jakiś problem ctrl+c ctrl+v zrobić kilka razy i zmienić numerek Cytuj Odnośnik do komentarza https://skript.pl/temat/38814-gui-szk%C5%82o/#findComment-244466 Udostępnij na innych stronach Więcej opcji udostępniania...
0 NeQ34 14 Opublikowano 2 maja 2020 Udostępnij Opublikowano 2 maja 2020 Możesz zrobić coś takiego: set {_o::*} to 0 and 4 and 5 and 6 and 7 and 8 and 9 and 13 and 15 and 17 and 18 and 22 and 23 and 24 and 25 and 26 loop {_o::*}: set player's current inventory's slot loop-value to red stained glass pane Ustawiasz jakąś zmienną np {_o::*} to ... i tutaj dajesz sloty które chcesz wypełnić, potem musisz je zapętlić i po tym ustawiasz jaki przedmiot chcesz na tym slocie Cytuj Odnośnik do komentarza https://skript.pl/temat/38814-gui-szk%C5%82o/#findComment-244472 Udostępnij na innych stronach Więcej opcji udostępniania...
0 nwse 131 Opublikowano 2 maja 2020 Udostępnij Opublikowano 2 maja 2020 loop X(o 1 większa niż ilość slotów w ekwipunku) times: set {_slot} to (loop-value)-1 set slot ({_slot} parsed as integer) of player to Y Coś takiego chyba, dawno nie pisałem skryptów i zapomniałem kompletnie składni, ale raczej to powinno działać Cytuj Odnośnik do komentarza https://skript.pl/temat/38814-gui-szk%C5%82o/#findComment-244473 Udostępnij na innych stronach Więcej opcji udostępniania...
0 TheEvil1337 0 Opublikowano 2 maja 2020 Udostępnij Opublikowano 2 maja 2020 (edytowane) loop 54 times: set player's current inventory's slot loop-number -1 to black glass pane named "&8&l" Tam gdzie 54 to liczba calkowitej ilosc miejsc w gui jak masz open chest with 5 rows to maz 45 miejsc itd Edytowane 2 maja 2020 przez TheEvil1337 Cytuj Odnośnik do komentarza https://skript.pl/temat/38814-gui-szk%C5%82o/#findComment-244482 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Jamnior 2 Opublikowano 2 maja 2020 Autor Udostępnij Opublikowano 2 maja 2020 command /craftingi: trigger: open chest with 6 row named "&9&lCrafting przemiotow" to player wait 2 tick loop 54 times: set player's current inventory's slot loop-number -1 to black glass pane named "&8&l" format slot 48 of player with 1 of ender portal frame named "&9&lBOYFARMER" to run [execute player command "/c1"] format slot 47 of player with 1 of Sandstone named "&9&lSANDFARMER" to run [execute player command "/c2"] format slot 50 of player with 1 of Enchantment Table named "&9&lKOPACZ FOSY" to run [execute player command "/c3"] format slot 51 of player with 1 of ender chest named "&9&lENDERCHEST" to run [execute player command "/c4"] format slot 46 of player with 1 of end stone named "&6&lSTONIARKA" to run [execute player command "/c5"] format slot 52 of player with 1 of tnt named "&4&lRzucane TNT" to run [execute player command "/c6"] format slot 10 of player with 1 of redstone to be unstealable format slot 11 of player with 1 of iron ingot to be unstealable format slot 12 of player with 1 of redstone to be unstealable format slot 19 of player with 1 of iron ingot to be unstealable format slot 20 of player with 1 of stone to be unstealable format slot 21 of player with 1 of iron ingot to be unstealable format slot 28 of player with 1 of redstone to be unstealable format slot 29 of player with 1 of piston to be unstealable format slot 30 of player with 1 of redstone to be unstealable format slot 23 of player with 1 of Nether Star to be unstealable format slot 25 of player with 1 of end stone named "&6&lSTONIARKA" to be unstealable format slot 0 of player with 1 of to be unstealable Nie działa :((((( Cytuj Odnośnik do komentarza https://skript.pl/temat/38814-gui-szk%C5%82o/#findComment-244490 Udostępnij na innych stronach Więcej opcji udostępniania...
1 NikoShow 4 Opublikowano 2 maja 2020 Udostępnij Opublikowano 2 maja 2020 Z tego co wiem format slot jest trochę zbugowane. Sprawdź tutaj: Cytuj Odnośnik do komentarza https://skript.pl/temat/38814-gui-szk%C5%82o/#findComment-244505 Udostępnij na innych stronach Więcej opcji udostępniania...
0 xAxee 1968 Opublikowano 2 maja 2020 Udostępnij Opublikowano 2 maja 2020 command /craftingi [<text>]: trigger: open chest with 6 row named "&9&lCrafting przemiotow" to player loop 6*9 times: set player's current inventory's slot (loop-number - 1) to black glass pane named "&8&l_" set player's current inventory's slot 0 to set player's current inventory's slot 48 to ender portal frame named "&9&lBOYFARMER" set player's current inventory's slot 47 to Sandstone named "&9&lSANDFARMER" set player's current inventory's slot 50 to Enchantment Table named "&9&lKOPACZ FOSY" set player's current inventory's slot 51 to ender chest named "&9&lENDERCHEST" set player's current inventory's slot 46 to end stone named "&6&lSTONIARKA" set player's current inventory's slot 52 to tnt named "&4&lRzucane TNT" set player's current inventory's slot 10 to redstone set player's current inventory's slot 11 to iron ingot set player's current inventory's slot 12 to redstone set player's current inventory's slot 19 to iron ingot set player's current inventory's slot 20 to stone set player's current inventory's slot 21 to iron ingot set player's current inventory's slot 28 to redstone set player's current inventory's slot 29 to piston set player's current inventory's slot 30 to redstone set player's current inventory's slot 23 to Nether Star set player's current inventory's slot 25 to end stone named "&6&lSTONIARKA" on inventory click: if inventory name of current inventory of player is "&9&lCrafting przemiotow": cancel event if clicked slot is 48: execute player command "c1" if clicked slot is 47: execute player command "c2" if clicked slot is 50: execute player command "c3" if clicked slot is 51: execute player command "c4" if clicked slot is 46: execute player command "c5" if clicked slot is 52: execute player command "c6" Cytuj Odnośnik do komentarza https://skript.pl/temat/38814-gui-szk%C5%82o/#findComment-244530 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Jamnior 2
Jak wypełnić każdą pustą kratkę czarnym szkłem w gui?
bez uzywania format slot itd.
Odnośnik do komentarza
https://skript.pl/temat/38814-gui-szk%C5%82o/Udostępnij na innych stronach
7 odpowiedzi 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ą.