Stretchy Leash
Leashes are less likely to break from normal usage, and make noise when they do break.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Stretchy Leash
Stretchy Leash
Makes leash breakages less likely when they can be avoided, and easier to detect when they do happen.
Changes
With the default configuration: - Audio cues will play at the leader's position they will break only if they remain over-stretched for too long. This delay helps avoid breakage caused by tick lag or ping lag, where the player appears to teleport forward from the game's perspective. - Audio cues will play at the leader's position so they can get back within range faster when over-stretching. Also reduces the risk of breakage when travelling at high speed. - Audio cues will play at the leader's position, making them less likely to get stuck when travelling on uneven terrains. - Audio cues will play at the leader's position, whenever a leash starts to over-stretch, breaks, or is manually removed.
Config
The config for clients can be edited using Mod-Menu + Cloth-Config. On servers, use the `/stretchy-leash config` command (admin-only).
`gracePeriod` (Integer)
Default: 35 ticks (1.75s) Vanilla: 0
Controls how long a leash can remain over-stretched without breaking.
`maxLength` (Double)
Default: 10 blocks Vanilla: 10 blocks
Controls how far a leash can reach before starting to over-stretch.
This does not affect the distance at wich mobs start being pulled in (6 blocks).
`pullStrength` (Double)
Default: 2 Vanilla: 1
Controls how fast leashed mobs are pulled toward the leader.
`stepHeight` (Float)
Default: 1 Vanilla: 0
Increases the step-height of leashed mob to at least this value.
Caveats
In order to be fully server-side, the sound `item.crossbow.load_middle` is reused as the over-stretching cue. This sound event lacks a subtitle in vanilla, and would show an erroneous subtitle if it had one.