Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/estecka/mc-stretchy-leash
Leashes break less easily, and gives them some audio feedback.
https://github.com/estecka/mc-stretchy-leash
fabricmc minecraft minecraft-mod
Last synced: 16 days ago
JSON representation
Leashes break less easily, and gives them some audio feedback.
- Host: GitHub
- URL: https://github.com/estecka/mc-stretchy-leash
- Owner: Estecka
- License: mit
- Created: 2024-06-05T18:01:47.000Z (5 months ago)
- Default Branch: 1.21.0
- Last Pushed: 2024-08-08T18:45:57.000Z (3 months ago)
- Last Synced: 2024-10-16T12:16:55.764Z (about 1 month ago)
- Topics: fabricmc, minecraft, minecraft-mod
- Language: Java
- Homepage: https://modrinth.com/mod/stretchy-leash
- Size: 801 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# Stretchy Leash
Makes leash breakage less likely when they can be avoided, and easier to detect when they do happen.## Changes
With the default configuration:
- Leashes can stretch past their maximum length, **they will break only if they remain over-stretched for too long.** This small grace period gives mobs a chance to be pulled back within range.
- **Audio cues will play at the leader's position** when a leash starts to over-stretch, when it breaks, or is manually removed.
- **Leashed mobs have their step height increased to 1**, making them less likely to get stuck when climbing slopes.
- Leashed mobs are pulled in more strongly, so they can get back within range faster.## 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: 0Controls how long a leash can remain over-stretched without breaking.
#### `maxLength` (Double)
Default: 10 blocks
Vanilla: 10 blocksControls 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: 1Controls how fast leashed mobs are pulled toward the leader. This helps them keep-up when being pulled at high speeds.
#### `stepHeight` (Float)
Default: 1
Vanilla: 0Increases the step-height of leashed mob. This reduces the risks of mobs falling behind while climbing slopes.
## 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.