on script load: register new shaped recipe for enchanted golden apple named "&5&lKox" using gold block, gold block, gold block, gold block, apple, gold block, gold block, gold block, gold block register new shaped recipe for shulker box named "&b&lShulker" using gold block, gold block, gold block, gold block, ender chest, gold block, gold block, gold block, gold block register new shaped recipe for totem of undying named "&a&lTotem Odrodzenia" using emerald, air, emerald, gold ingot, gold ingot, gold ingot, air, chorus flower, air command /craftingi []: trigger: set {_p} to player if arg-1 is set: set {_p} to arg-1 open chest with 1 rows named "&6&lCraftingi" to {_p} wait 1 tick format slot 0 of {_p} with 1 of enchanted golden apple named "&5&lKox" to run "koxcraft %{_p}%" format slot 1 of {_p} with 1 of shulker box named "&b&lShulker" to run "shulkercraft %{_p}%" format slot 2 of {_p} with 1 of totem of undying named "&a&lTotem Odrodzenia" to run "totemcraft %{_p}%" command /koxcraft : trigger: open chest with 4 rows named "&5&lKox" to arg-1 wait 1 tick format slot 3 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 4 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 5 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 12 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 13 of arg-1 with 1 apple named "&4Jabłko" to be unstealable format slot 14 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 16 of arg-1 with 1 enchanted golden apple named "&5&lKox" to be unstealable format slot 21 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 22 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 23 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 31 of arg-1 with 1 red stained glass pane named "&4&lWróć" to run "craftingi %arg-1%" command /shulkercraft []: trigger: open chest with 4 rows named "&b&lShulker" to arg-1 wait 1 tick format slot 3 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 4 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 5 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 12 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 13 of arg-1 with 1 ender chest named "&5&lEnderchest" to be unstealable format slot 14 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 16 of arg-1 with 1 shulker box named "&b&lShulker" to be unstealable format slot 21 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 22 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 23 of arg-1 with 1 gold block named "&6&lZłoty blok" to be unstealable format slot 31 of arg-1 with 1 red stained glass pane named "&4&lWróć" to run "craftingi %arg-1%" command /totemcraft []: trigger: open chest with 4 rows named "&a&lTotem Odrodzenia" to arg-1 wait 1 tick format slot 3 of arg-1 with 1 emerald named "&a&lEmerald" to be unstealable format slot 5 of arg-1 with 1 emerald named "&a&lEmerald" to be unstealable format slot 12 of arg-1 with 1 gold ingot named "&6&lZłoto" to be unstealable format slot 13 of arg-1 with 1 gold ingot named "&6&lZłoto" to be unstealable format slot 14 of arg-1 with 1 gold ingot named "&6&lZłoto" to be unstealable format slot 16 of arg-1 with 1 totem of undying named "&a&lTotem Odrodzenia" to be unstealable format slot 22 of arg-1 with 1 chorus flower named "&5&lKwiat chorusu" to be unstealable format slot 31 of arg-1 with 1 red stained glass pane named "&4&lWróć" to run "craftingi %arg-1%"