이해도 | 초보자 |
---|---|
게임버전 (JE) | 1.19.3 |
게임버전 (BE) | 1.19.x |
스크립트 버전 | 2.6.4 |
안녕하세요!
제가 궁금한게 있어서 '질문' 합니다
*스크립트 요류가 계속해서 뜨는데 구문확인좀 해주세용ㅜㅜ
코드
command /custom.head:
@trigger:
@@set {_inv} to chest inventory with 1 rows named "&8Custom.Head"
@@set {_Diamond.Id} to "I;147869528,917521697,-1321516694,-333957486"
@@set {_Diamond.Value} to "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGJmYzdmYTRlNzRiNmU0MDFhZTA2NDE0OGFlNWU3NjhiODkzZjFkOTI5N2Y4NzQ3NTEwMWY3MjI1YTJhNWE2YSJ9fX0="
@@set {_Diamond.nbt} to "{display:{name:""Diamond""},SkullOwner:{Id:[%{_Diamond.Id}%],Properties:{textures:[{value:""%{_diamond.Value}%""}]}}}"
@@set slot 4 of {_inv} to player's head with nbt {_Diamond.nbt} named "Head"
@@open {_inv} to player
이런식으로 적으면
[a slot can't be set to 'player's head with nbt {_Diamond.nbt} named "Head"' because the latter is neither an item type nor an item stack]
이런오류가 뜨네요;;?
그리고 {_Diamond.Id},{_Diamond.Value},{_Diamond.nbt} 는 커스텀 머리 지정해논거예요!
코드 빨강색 줄에서 오류가 생기네요;;
검색은 해보고 있는데 도저히 못찾겠어서 질문합니다!
**참고유튜브:https://www.youtube.com/watch?v=Ym7YHK9k5Hw 1분 37초
크러저
2023.01.28player's head 대신 skull 로 해보세요.
아니면 named "Head"를 with nbt 앞으로 옮겨보세요.
3boatSk
2023.01.28이렇게 적었는데도.. 안되네요;;
command /custom.head:
trigger:
set {_inv} to chest inventory with 1 rows named "&8Custom.Head"
set {_Diamond.Id} to "I;147869528,917521697,-1321516694,-333957486"
set {_Diamond.Value} to "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGJmYzdmYTRlNzRiNmU0MDFhZTA2NDE0OGFlNWU3NjhiODkzZjFkOTI5N2Y4NzQ3NTEwMWY3MjI1YTJhNWE2YSJ9fX0="
set {_Diamond.nbt} to "{display:{name:""Diamond""},SkullOwner:{Id:[%{_Diamond.Id}%],Properties:{textures:[{value:""%{_diamond.Value}%""}]}}}"
set slot 4 of {_inv} to skull named "Head" with nbt {_Diamond.nbt}
open {_inv} to player
qsef1256
2023.01.28SkBee는 까신거죠
3boatSk
2023.01.28깔았습니다