跳到正文

Safe(ish) Respawn

作者:fennifith

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

常见问题

Safe(ish) Respawn 支持哪些 Minecraft 版本?

Safe(ish) Respawn 支持 Minecraft Java 版 1.19–1.21.8,共 21 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

Safe(ish) Respawn 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

fennifith 的其他作品

查看全部 →