개인 자료란 (JE)

  서버 커뮤니티

Profile 밴하루 대표칭호 없음
Profile

이해도 초보자 
게임버전 (JE) 1.19.4 
게임버전 (BE) 관련없음 
스크립트 버전 Skript-2.7.0-beta2 
스크립트 애드온 없음 [추가 가능합니다] 

every 1 tick:

@loop all players:

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^1 minecraft:repeating_command_block run title @s actionbar {nbt:Command,block:^ ^ ^1}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^4 minecraft:chain_command_block run title @s actionbar {nbt:Command,block:^ ^ ^4}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^4 minecraft:repeating_command_block run title @s actionbar {nbt:Command,block:^ ^ ^4}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^3 minecraft:command_block run title @s actionbar {nbt:Command,block:^ ^ ^3}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^3 minecraft:chain_command_block run title @s actionbar {nbt:Command,block:^ ^ ^3}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^3 minecraft:repeating_command_block run title @s actionbar {nbt:Command,block:^ ^ ^3}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^2 minecraft:command_block run title @s actionbar {nbt:Command,block:^ ^ ^2}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^2 minecraft:chain_command_block run title @s actionbar {nbt:Command,block:^ ^ ^2}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^2 minecraft:repeating_command_block run title @s actionbar {nbt:Command,block:^ ^ ^2}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^1 minecraft:command_block run title @s actionbar {nbt:Command,block:^ ^ ^1}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^1 minecraft:chain_command_block run title @s actionbar {nbt:Command,block:^ ^ ^1}"

@@execute console command "execute as @a[nbt={SelectedItem:{id:minecraft:diamond_sword}},gamemode=creative] at @s anchored eyes if block ^ ^ ^1 minecraft:repeating_command_block run title @s actionbar {nbt:Command,block:^ ^ ^1}"

계속 서버에서 반복되게 하고싶어요!

2개의 댓글

후순
2023.04.23

대충봐도 @a 랑 @s가 문제네요

스크립트는 플레이어 지정을 글케 안합니당 "구글에 검색해보세용"

그리고 뭘 원하시고 만드신진건지 모르겠지만 서버에 매우 무리가 가신다면 상관없지만

every 구문 말고 다른거 찾아보세용  서버에 부담이 엄청갑니당

밴하루
2023.04.23
@후순

제가 원하는건 커맨드블록을 바라봤을때 액션바에 커멘드 구문이 써지는 걸 바랍니다

예를 들어 커맨드에 "kill "라고 적었을때 그 커맨드 블록을 바라보면 액션바에 "kill "같은 똑같이 나오는 걸 원합니다.
그걸 반복하는 거구요