Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Safe(ish) Respawn

Safe(ish) Respawn

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

3,013
14
Mobs
Optimization
Utility
AboutChangelogVersions

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/>.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x

Platforms

Fabric
Quilt

Supported environments

Server-side

Links

Report issues View source Join Discord server

Creators

fennifith
fennifith Owner

Details

Licensed LGPL-3.0-only
Published last year
Updated 2 months ago

Modrinth is open source.

main@9fd0f68

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.