안녕하세요 행매입니다 오늘 강좌는 청룡일섬 말그대로 ㅇㅇ하는 겁니다(결과물이 궁금하다면 마지막 링크로)
커맨드 획득 명령어
/give 닉네임 command_block
1.청룡일섬 커맨드
반응 커맨드
tag @p add som
연쇄 커맨드
scoreboard objectives add time dummy
한번만 실행
반복 커맨드
execute as @a[tag=som,nbt={Inventory:[{id:"minecraft:아이템 코드",Slot:-106b}]}] at @s run item replace entity @s weapon.offhand with air (예시:execute as @a[tag=som,nbt={Inventory:[{id:"minecraft:netherite_sword",Slot:-106b}]}] at @s run item replace entity @s weapon.offhand with air)
연쇄 커맨드 조건적
execute as @e[tag=som] at @s run tp @s ~ ~ ~ ~ 0
연쇄 커맨드 조건적
execute as @e[tag=som] at @s run summon minecraft:armor_stand ^ ^ ^ {Tags:["at"],NoGravity:1,Invisible:1}
연쇄 커맨드 조건적
execute as @e[tag=som] at @s run summon minecraft:armor_stand ^ ^ ^2 {Tags:["at"],NoGravity:1,Invisible:1}
연쇄 커맨드 조건적
execute as @e[tag=som] at @s run summon minecraft:armor_stand ^ ^ ^4 {Tags:["at"],NoGravity:1,Invisible:1}
연쇄 커맨드 조건적
execute as @e[tag=som] at @s run summon minecraft:armor_stand ^ ^ ^6 {Tags:["at"],NoGravity:1,Invisible:1}
연쇄 커맨드 조건적
execute as @e[tag=som] at @s run summon minecraft:armor_stand ^ ^ ^8 {Tags:["at"],NoGravity:1,Invisible:1}
연쇄 커맨드 조건적
execute as @e[tag=som] at @s run summon minecraft:armor_stand ^ ^ ^10 {Tags:["at"],NoGravity:1,Invisible:1}
연쇄 커맨드 조건적
execute as @e[tag=som] at @s run tp @s ^ ^ ^20
연쇄 커맨드 조건적
execute as @e[tag=som] at @s run particle minecraft:sweep_attack ^ ^1.2 ^1 0 0 0 1 1 force
2번 째 줄
반복 커맨드
execute as @e[tag=at] at @s as @e[tag=!som,distance=..10] run data merge entity @s {Tags:["hit"],NoAI:1b}
3번 째 줄
반복 커맨드
execute as @e[tag=hit] at @s run scoreboard players add @s time 1
연쇄 커맨드 조건적
execute as @e[tag=hit,scores={time=20..}] at @s run particle dust 0 1 1 1 ~ ~1 ~ 0 .8 0 1 150 force
연쇄 커맨드 조건적
execute as @e[tag=hit,scores={time=20..}] at @s run particle dust 0 0 1 1 ~ ~1 ~ 0 .8 0 1 100 force
연쇄 커맨드 조건적
execute as @e[tag=hit,scores={time=100..}] run kill @e[tag=hit]
연쇄 커맨드 조건적
give @a[tag=som] minecraft:1번 째 줄 처음 커맨드에 적었던 아이템 코드 1
사진처럼 해주시면 됩니다.
다음에 청룡 커맨드 강좌2로 다시 올리겠습니다.
결과 링크→https://www.youtube.com/shorts/szgplK3iLak
댓글