Skip to content

Commit

Permalink
こっちを見てよっ!
Browse files Browse the repository at this point in the history
  • Loading branch information
CKenJa committed Jan 30, 2022
1 parent b6feb35 commit 57feb35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion data/ckenja.ghook/functions/pig/_.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ data modify storage ckenja.ghook.__temp__: pig.data set from entity @s
#bobberあったら移動
execute if score #bobber_hooked ckenja.ghook matches 1.. run function ckenja.ghook:pig/hooked
#なくてもキー検知を現在のmotionを減衰して足してmotion代入
execute unless score #bobber_hooked ckenja.ghook matches 1.. run function ckenja.ghook:pig/not_hooked
execute unless score #bobber_hooked ckenja.ghook matches 1.. run function ckenja.ghook:pig/not_hooked
data modify entity @s Rotation set from storage ckenja.ghook.__temp__: player.Rotation
3 changes: 0 additions & 3 deletions data/ckenja.ghook/functions/pig/hooked.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ execute unless score #hooking ckenja.ghook matches 1 run function ckenja.ghook:p
scoreboard players operation $ghook.y ckenja.ghook = @s ckenja.ghook.y
scoreboard players operation $ghook.z ckenja.ghook = @s ckenja.ghook.z


data modify entity @s Rotation set from storage ckenja.ghook.__temp__: player.Rotation

#終了用処理
tag @s add ckenja.ghook.pig.hookednow
#particle dust_color_transition 1.000 0.200 0.039 2 0.078 0.600 1.000 ~ ~ ~ 0 0 0 1 2 force
Expand Down

0 comments on commit 57feb35

Please sign in to comment.