COWMODSКаталог модов

Safe(ish) Respawn

Prevents players from getting stuck in a death loop by de-spawning hostile mobs when you die.

Автор: fennifith5,3 тыс.15обновлён 26 апр. 2025 г.
МобыОптимизацияУтилиты

Описание

Safe Respawn

Available on GitLab Available on Modrinth

Normally, hostile Minecraft mobs will only despawn when the player is very far away. This can cause problems if the player encounters a horde of mobs near their spawnpoint, which can trap them in an endless death loop with the same mobs.

This mod changes the entity logic to allow mobs to despawn if there is no living player nearby. This way, when a player dies, they will respawn without any hostile mobs around them (provided there are no other players in the area).

This is similar to behavior that occurs on PaperMC servers, possibly due to their "delay-chunk-unloads-by" implementation.

This change could break some obscure types of mob farms which make use of nether or end portals, but I've tried to make sure that isn't the case! Please report an issue if you find any unintended consequences.

License

    Copyright (C) 2023 James Fenn

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Последние версии

Все версии →
release

Safe Respawn 1.0.3

1.0.3
26 апр. 2025 г.2 тыс.Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric, quilt
Скачать
Что нового
- Use `@WrapOperation` instead of `@Redirect` to fix incompatibility with [vmp](https://modrinth.com/mod/vmp-fabric)
release

Safe Respawn 1.0.2

1.0.2
18 дек. 2023 г.2,9 тыс.Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, quilt
Скачать
Что нового
- Rewritten closest player check to slightly improve performance (it's *really* slight - but that does add up in worlds with a lot of entities)
release

Safe Respawn 1.0.1

1.0.1
18 дек. 2023 г.138Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric, quilt
Скачать
Что нового
- Small fix to avoid de-spawning in dimensions with no players in them (which could break some types of mob farms)
release

Safe Respawn 1.0.0

1.0.0
17 дек. 2023 г.130Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric, quilt
Скачать
Что нового
- First release!