개인 자료란 (JE)

  서버 커뮤니티

Profile 방대 일반인
Profile

질문하기 스크립트

신상관련

24 일 전 조회 수 21 추천 수 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%"]
이렇게하면 안되네여 ㅠ

2개의 댓글

방대
24 일 전

참고로 넣어야되는 애드온은 넣었습니다

 

방대
24 일 전

은 삭제했습니다

뉴스 및 창작물
/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

0

/files/thumbnails/268/789/003/262x150.crop.jpg?20240515192032

레드스톤

벌레먹은 돌 빠르게 제거하는 법

GlassesFilm

2024-05-15

0

/files/thumbnails/797/788/003/262x150.crop.jpg?20240515090924

건축

마인크래프트로 구현한 카르카손 보드게임

Warak

2024-05-15

2