Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Action for hooked leash knot
# @s = leash knot
# at bobber in @s
# run from hooked_entity/select_type

tag @s add gm4_reeling_rods.leash_knot

# distance=..12 is leash distance
execute at @s as @e[type=#gm4_reeling_rods:leashable,distance=..12] \
if function gm4_reeling_rods:hooked_entity/leash_knot/leaded_by_knot \
run function gm4_reeling_rods:hooked_entity/leash_knot/change_leader

kill @s

execute at @p[tag=gm4_reeling_rods.player] run playsound minecraft:entity.leash_knot.place neutral @a[distance=..16] ~ ~ ~
6 changes: 6 additions & 0 deletions gm4_reeling_rods/beet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ version: 1.0.X
data_pack:
load: .
overlays:
- formats:
min_inclusive: 1
max_inclusive: 71
min_format: 1
max_format: 71
directory: backport_71
- formats:
min_inclusive: 1
max_inclusive: 88
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ execute at @s as @e[type=#gm4_reeling_rods:leashable,distance=..12] \

kill @s

execute at @p[tag=gm4_reeling_rods.player] run playsound minecraft:entity.leash_knot.place neutral @a[distance=..16] ~ ~ ~
execute at @p[tag=gm4_reeling_rods.player] run playsound minecraft:item.lead.tied neutral @a[distance=..16] ~ ~ ~
Loading