개인 자료란 (JE)

  서버 커뮤니티

Profile 방대 일반인
Profile

질문하기 스크립트

신상 오류

2024.05.12 조회 수 18 추천 수 0
이해도 초보자 
게임버전 (JE) 1.20.1 
게임버전 (BE) 관련없음 

Command /신상생성:

    trigger:

set {statue.%arg-1%} to true

set {statue.%arg-1%.hp} to 100 # 기본 HP를 100으로 설정

send "&a%arg-1% 신상이 생성되었습니다."


Command /신상삭제:

    trigger:

delete {statue.%arg-1%}

send "&c%arg-1% 신상이 제거되었습니다."


Command /신상hp설정 <name> <number>:

    trigger:

set {statue.%arg-1%.hp} to arg-2

send "&a%arg-1%의 HP가 %arg-2%로 설정되었습니다."

if {statue.%arg-1%.hp} <= 0:

send "&c%arg-1% 신상이 파괴되었습니다!"

Command /신상리스트:

    trigger:

open chest with 3 rows named "&b신상 리스트" to player

loop {statue::*}:

format slot (loop-index) of player with white concrete named "&f%loop-value%의 신상" to close then run [execute player command "/신상 상세 %loop-value%"]
했는데 명령어는됩니다. 하지만 밑에 구문에 오류가있는지 /신상 생성을 하면 구문대로안됩니다

1개의 댓글

슈퍼레몬
2024.05.13

상황을 보여주셔야죠... 영상이나 사진이나...
그리고 텝은 복붙하면서 깨진거겠죠?

뉴스 및 창작물
/files/thumbnails/932/812/003/262x150.crop.jpg?20240616121638

업데이트

마인크래프트 1.21 정식 업데이트

학교가기싫다

2024-06-14

1

/files/thumbnails/308/805/003/262x150.crop.jpg?20240605201646

레드스톤

[노트블럭 커버] 팬서비스/mona 【 HoneyWorks 】

노트블럭전문가

2024-06-05

0

/files/thumbnails/288/791/003/262x150.crop.jpg?20240602150002

아티클

《까다로운 시련》 업데이트 날짜 공개 및 정보

학교가기싫다

2024-06-02

0

/files/thumbnails/841/773/003/262x150.crop.jpg?20240526120908

레드스톤

마인크래프트 노트블록버전 『 봄을 고하다 (春を告げる) 』 [더블옥타브 버전]

노트블럭전문가

2024-05-26

0

/files/thumbnails/712/796/003/262x150.crop.jpg?20240525085438

레드스톤

마인크래프트 노트블록으로 만든 『 봄을 고하다 (春を告げる) 』 1

Sonttukk

2024-05-25

1