스크립트 & 커멘드

[1.13+] Step 핵 감지

4 너티 1 3,527 2018.07.30 20:47

적용 가능 minecraft 버전 :: 1.13+
기능 & 설명 :: Step 핵을 감지합니다.
출처 설명 또는 링크 :: 너티


scoreboard objectives add posY dummy

scoreboard objectives add befPosY dummy

scoreboard objectives add step_y dummy

scoreboard objectives add epearlUse minecraft.used:minecraft.ender_pearl

scoreboard objectives add chorusUse minecraft.used:minecraft.chorus_fruit

execute as @a run scoreboard players operation @s befMotionY = @s motionY

execute as @a run scoreboard players operation @s befPosY = @s posY

execute as @a store result score @s posY run data get entity @s Pos[1] 10

execute as @a run scoreboard players operation @s step_y = @s posY

execute as @a run scoreboard players operation @s step_y -= @s befPosY

execute as @a if score @s step_y matches 10.. run tag @s add move_step

execute as @e[type=boat] at @s as @a[distance=..2] run tag @s remove move_step

execute as @e[type=minecart] at @s as @a[distance=..2] run tag @s remove move_step

execute as @e[type=horse] at @s as @a[distance=..2] run tag @s remove move_step

execute as @e[type=pig] at @s as @a[distance=..2] run tag @s remove move_step

tag @a[tag=move_step,scores={epearlUse=1..}] add epearlDel

tag @a[tag=move_step,scores={epearlUse=1..}] remove move_step

scoreboard players set @a[tag=epearlDel] epearlUse 0

tag @a[tag=move_step,scores={chorusUse=1..}] add chorusDel

tag @a[tag=move_step,scores={chorusUse=1..}] remove move_step

scoreboard players set @a[tag=chorusDel] chorusUse 0

tag @a[tag=epearlDel] remove epearlDel

tag @a[tag=epearlDel] remove chorusDel

execute as @a[tag=move_step] run tellraw @a[tag=vac_listen] ["\u00a7b\u00a7l[VAC] ",{"selector":"@s","color":"green"},": Step | ",{"text":"가능성: ","color":"white"},{"text":"확실함"color":"dark_red"}]



NoFall, Fly 핵 감지: https://konggal.co.kr/bbs/board.php?bo_table=pds_script&wr_id=251


Comments

할 말을 잃게 만든다
Category
Point Rank
게시글 Rank
댓글 Rank
  • 자료가 없습니다.
State
  • 현재 접속자 22 명
  • 오늘 방문자 7,743 명
  • 어제 방문자 8,210 명
  • 최대 방문자 8,210 명
  • 전체 방문자 2,378,644 명
  • 전체 게시물 47,326 개
  • 전체 댓글수 31,797 개
  • 전체 회원수 16,003 명
Facebook Twitter GooglePlus KakaoStory NaverBand