Witam, mam problem ze skryptem, który po wywołaniu komendy /crafting przez gracza ma otworzyć skrzynkę"gui" z 3 rzędami, gdzie będą itemy. Po kliknięciu w ten item przeniesie nas do nowego GUI gdzie bedzie pokazany crafting danego przedmiotu, na dole strone w rogach bedzie Wroc do craftingow lub Zamknij. Proszę o pomoc ;v
command /crafting:
trigger:
open chest with 3 rows named "&aCrafting" to player
wait 1 tick
format slot 13 of player with 1 of ender chest named "&5Stoniarka" to run "/crafting1"
format slot 26 of player with 1 of red wool named "&CZamknij" to close
command /crafting1:
trigger:
open chest with 6 rows named "&aCrafting Stoniarki" to player
wait 1 tick
format slot 3 of player with redstone named "&eRedstone" to be unstealable
format slot 4 of player with stone named "&eStone" to be unstealable
format slot 5 of player with redstone named "&eRedstone" to be unstealable
format slot 12 of player with stone named "&eStone" to be unstealable
format slot 13 of player with piston base named "&ePiston" to be unstealable
format slot 14 of player with stone named "&eStone" to be unstealable
format slot 21 of player with redstone named "&eRedstone" to be unstealable
format slot 22 of player with stone named "&eStone" to be unstealable
format slot 23 of player with redstone named "&eRedstone" to be unstealable
format slot 40 of player with end stone named "&cGenerator Stone" to be unstealable