개인 자료란 (JE)

  서버 커뮤니티

Profile 천칭 대표칭호 없음
Profile

질문하기 스크립트

플레이어 정보기

2024.05.15 조회 수 143 추천 수 0
이해도 초보자 
게임버전 (JE) 관련없음 
게임버전 (BE) 관련없음 
스크립트 버전 2.6.4 

제가 바라보고 있는 플레이어에게 쉬프트 우클릭을 했을 때 플레이어의 정보가 뜨려면 어떻게 해야 하나요?

밑에 스크립트를 작성하니까 바라보고 있는 플레이어가 아니라 제 정보가 뜨네요 ㅠㅠㅠ


on sneak toggle:

@player is not sneaking

@set {shift.%player%} to true


on sneak toggle:

@player is sneaking
@set {shift.%player%} to false


on rightclick on player:

@if {shift.%player%} is true:

@@execute player command "/정보 %player%"


3개의 댓글

슈퍼레몬
2024.05.15
@슈퍼레몬

그리고 코드는 하나로 쓰세요

 

```

on right click:

if player is sneaking:

if targeted entity is player:

~구문

```

천칭
2024.05.15
@슈퍼레몬

target으로 하니까 되네요! 감사합니다!

뉴스 및 창작물
/files/thumbnails/166/043/004/262x150.crop.jpg?20250521002130

업데이트

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

updater

2025-05-14

0

/files/thumbnails/255/028/004/262x150.crop.jpg?20250521002021

업데이트

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

updater

2025-04-16

0

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

업데이트

마인크래프트 자바 스냅숏 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