安全重生

安全重生

通过在你死亡时移除敌对生物,防止玩家陷入死亡循环。

Safe Respawn

在 GitLab 上可用 在 Modrinth 上可用

通常情况下,Minecraft 中的敌对生物只有在玩家距离非常远时才会消失。如果玩家在出生点附近遇到一群生物,这可能会导致问题,使他们陷入与同一群生物无休止的死亡循环中。

此模组更改了实体逻辑,使得当附近没有存活的玩家时,生物可以消失。这样,当玩家死亡后重生时,周围不会有任何敌对生物(前提是该区域没有其他玩家)。

这类似于 PaperMC 服务器上的行为,可能是由于他们的“delay-chunk-unloads-by”实现。

此更改可能会破坏某些利用下界或末地传送门的冷门生物农场,但我已尽力确保不会出现这种情况!如果你发现任何意外后果,请报告问题。

许可证

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