개인 자료란 (JE)

  서버 커뮤니티

Profile 김춘달 대표칭호 없음
Profile

질문하기 스크립트

무기 휘두르는 모션을 취하게하는 스크립트 구문

2025.04.08 조회 수 63 추천 수 0
이해도 입문자 
게임버전 (JE) 관련없음 
게임버전 (BE) 관련없음 

on right click:

    if player's tool is sword:

        if {무적쿨타임::%uuid of player%} is set:

            stop


        set invulnerable state of player to true

        

        swing main hand


        play sound "item.shield.block" with volume 1 and pitch 1 to player


        wait 10 ticks

        set invulnerable state of player to false


        set {무적쿨타임::%uuid of player%} to true


        loop 3 times:

            set {_sec} to 3 - loop-number

            send action bar "&7[방어] &7쿨타임: %{_sec}%초" to player

            wait 1 second


        delete {무적쿨타임::%uuid of player%}

        send action bar "&7[방어] &a사용 가능!" to player



여기서      swing main hand 를 swing main hand of player  나 make player attack  를 다 써봐도

휘두르는 모션이 안나가네요... 아까 아침에 출근전에 잠시 손봤을땐 됐었는데

다른거 수정하다가 삭제시켜버려서 어떤걸로 됐었는지 기억이 안나네요 ㅠㅠ 알려주실분 계실까요




1개의 댓글

김춘달
2025.04.08

make player swing main hand 로 해결 ㅠㅠ

뉴스 및 창작물
/files/thumbnails/255/028/004/262x150.crop.jpg?20250507010930

업데이트

마인크래프트 자바 스냅숏 25w16a 한국어 번역본 (Minecraft Snapshot 25w16a)

updater

2025-04-16

0

/files/thumbnails/036/025/004/262x150.crop.jpg?20250411144649

업데이트

마인크래프트 자바 스냅숏 25w15a 한국어 번역본 (Minecraft Snapshot 25w15a)

updater

2025-04-09

1

/files/thumbnails/159/021/004/262x150.crop.jpg?20250402093702

업데이트

광산제작 업데이트 (The Craftmine 업데이트): 한국어 번역본

updater

2025-04-02

0

/files/thumbnails/729/017/004/262x150.crop.jpg?20250326233109

업데이트

마인크래프트 자바 1.21.5 출시 (Minecraft Java 1.21.5 Released): 한국어 번역본

updater

2025-03-26

0

/files/thumbnails/202/016/004/262x150.crop.jpg?20250323230938

소식

Minecraft LIVE - 2025 March 내용 요약

노을넴

2025-03-23

2