개인 자료란 (JE)

  서버 커뮤니티

Profile sunul54 대표칭호 없음

sunul54 45e942304de84f06af0080e77142ea0b

Profile

질문하기 스크립트

마인크래프트 스크립트

2023.02.26 조회 수 66 추천 수 0
이해도 입문자 
게임버전 (JE) 관련없음, 1.19.3 
게임버전 (BE) 관련없음 
스크립트 버전 2.6.4 
스크립트 애드온 SkQuery-4.1.8 

스크립트로 아래처럼 메뉴를 만들고 아이템을 클릭하면 플레이어가 이동하게 만들었는데 쉬프트+클릭으로 아이템을 가져오면 이동이 되면서 아이템도 가져와지는데 막을 방법이 있을까요?


4개의 댓글

환타비
2023.02.26

구문을 보여주실수 있나요?? 이것만으로는 알려드리기가 어렵네용..

sunul54
2023.02.26
@환타비

on rightclick on entity:

if entity's name is "&6이동":

open chest with 3 rows named "&6이동" to player

set slot 11 of current inventory of player to grass block named "&1스폰" with lore "&2클릭시" and "&2스폰으로 이동합니다"

play sound "entity.arrow.hit_player" with volume 1 and pitch 1 at player

on inventory click:

if name of top inventory of player is "&6이동":

cancel event

if "%index of clicked slot%" is "11":

execute player command "/spawn"

play sound "entity.enderman.teleport" with volume 1 and pitch 1 at player

send title "&2스폰" to player for 0.2 seconds

이 구문으로 만들어 놨어요

환타비
2023.02.26
@sunul54

크리 상태에서 말고 서바이벌에서도 저렇게 되나용?

sunul54
2023.02.26
@환타비

네...

뉴스 및 창작물
/files/thumbnails/487/784/003/262x150.crop.jpg?20240508233607

모드

Windows Borderless 모드에서 악성코드 발견

학교가기싫다

2024-05-08

1

/files/thumbnails/384/778/003/262x150.crop.jpg?20240512002324

업데이트

마인크래프트 자바 에디션 스냅샷 24w18a

학교가기싫다

2024-05-06

0

/files/thumbnails/855/781/003/262x150.crop.jpg?20240505141129

레드스톤

레이저 클리너

GlassesFilm

2024-05-05

1

/files/thumbnails/576/775/003/262x150.crop.jpg?20240426232553

아티클

이달의 블록: 단단한 진흙

학교가기싫다

2024-04-26

0

/files/thumbnails/115/774/003/262x150.crop.jpg?20240428135129

업데이트

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

학교가기싫다

2024-04-24

0