개인 자료란 (JE)

  서버 커뮤니티

Profile dbtoja 대표칭호 없음
Profile

이해도 입문자 
게임버전 (JE) 관련없음 
게임버전 (BE) 관련없음 

버전은 1.20.4 입니다

funtion 명령어는 작동합니다.

근데 당근낚시대를 우클릭 했을때 아머스텐드 날아가고 파티클 다뜨는데 데미지가 나지 않습니다. 이유가 뭘까요??


execute as @a[scores={carrot=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",Count:1b,tag:{CustomModelData:1}}}] run tag @s add assassin_try2


execute as @a[tag=assassin_try2] at @a[tag=assassin_try2] if score @s cool2 matches 0 run summon minecraft:armor_stand ~ ~1 ~ {NoGravity:1b,Invulnerable:1b,Invisible:1b,ShowArms:1b,Tags:["assassin_armor_stand"]}

execute as @a[tag=assassin_try2] at @a[tag=assassin_try2] run tp @e[tag=assassin_armor_stand] @s

execute as @a[tag=assassin_try2] if score @s cool2 matches 0 run scoreboard players set @s cool2 1


execute as @a[tag=assassin_armor_stand] at @s run damage @e[tag=!assassin_armor_stand, tag=!assassin, distance=..2, limit=1] 5 arrow by @a[tag=assassin, limit=1] from @e[tag=assassin_armor_stand, limit=1]

execute as @e[tag=assassin_armor_stand] at @s run particle minecraft:mycelium ~ ~ ~ 1 1 1 0.5 1000

execute as @e[tag=assassin_armor_stand] at @s unless block ~ ~ ~ air run kill @s

execute as @e[tag=assassin_armor_stand] at @s if entity @e[tag=!assassin,tag=!assassin_armor_stand,distance=..0.9] run kill @s

execute as @e[tag=assassin_armor_stand] at @s run tp @s ^ ^ ^1


execute as @a[tag=assassin_try2] run scoreboard players set @s carrot 0

execute as @a[tag=assassin_try2] run tag @s remove assassin_try2



4개의 댓글

yusin12
2024.01.23

굳이 .by와 from을 쓰는 이유가 있을까요?

dbtoja
2024.01.23
@yusin12

딱히 이유는 없습니다만... 빼도 데미지는 안들어가는건 똑같더라구요...

yusin12
2024.01.24
@dbtoja

혹시 지금 만들려고 하는 스킬이 뭔지 알 수 있을까요?

한 번 비슷하게 만들어 보고 답변드리겠습니다.

김형원
2024.01.24

데미지를 넣는 구문에서 @e가 아닌 @a를 써서 그런 것 같네요

뉴스 및 창작물
/files/thumbnails/384/778/003/262x150.crop.jpg?20240506214511

업데이트

마인크래프트 자바 에디션 스냅샷 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

/files/thumbnails/762/770/003/262x150.crop.jpg?20240418073724

레드스톤

T.B.H (고민중독) | 노트블럭 버전 | NoteBlock Cover [한국어 영어 중국어 가사 추가]

노트블럭전문가

2024-04-18

1