이해도 | 입문자 |
---|---|
게임버전 (JE) | 1.16.5 |
게임버전 (BE) | 관련없음 |
스크립트 버전 | 최신 |
command /메뉴:
trigger:
open chest with 3 rows named "&8상점메뉴" to player
set slot 9 of current inventory of player to diamond named "&e&l광물상점"
set slot 11 of current inventory of player to diamond sword named "&e&l무기상점"
set slot 13 of current inventory of player to carrot named "&e&l식료품상점"
set slot 15 of current inventory of player to golden apple named "&e&l열매상점"
set slot 17 of current inventory of player to diamond chestplate named "&e&l옷상점"
set slot 3 of current inventory of player to barrier named "&e&l과일삭제"
set slot 5 of current inventory of player to netherite ingot named "&e&l블랙마켓"
on inventory click:
if inventory name is "&8상점메뉴":
cancel event
if clicked slot is 9:
excute player command "상점 열기 광물상점"
스크립트 작성했는데 excute player command "상점 열기 광물상점" 구문이 잘못 됐다고 하네요 왜 그런가요?
세찐찐
2023.12.14execute player command 로 바꿔주세요
excute -> execute