개인 자료란 (JE)

  서버 커뮤니티

Profile gurem0 대표칭호 없음
Profile

질문하기 스크립트

target 질문

2024.04.03 조회 수 15 추천 수 0
이해도 입문자 
게임버전 (JE) 관련없음 
게임버전 (BE) 1.20.x 
스크립트 버전 2.7.0 

on rightclick:

@if player's tool is netherite hoe:

@@if player's tool's name contains "MAG-K":

@@@cancel event

@@@ if {0.%player%} is not set:

@@@@ set {0.%player%} to true

@@@@ if the distance between player and targeted entity is smaller than 30:

@@@@@ make player damage target entity by 5

@@@@ execute console command "minecraft:execute as %player% at %player% run tp %player% ~ ~ ~ ~ ~-7"

@@@@execute console command "execute at %player% run particle minecraft:cloud ^ ^1.2 ^1.2 0 0 0 .05 3"

@@@@execute console command "execute as %player% at %player% run playsound minecraft:entity.firework_rocket.blast master @a[distance=..35] ~ ~ ~ 1 0"

@@@@ wait 0.2 seconds

@@@@delete {0.%player%}


여기서 플레이어와 엔티티 사이에 벽이 있을때 데미지가 안 들어가게 할 수 있을까요..

Warning
댓글이 없습니다.

새로운 댓글을 등록해 주세요!

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

1