跳到正文

Bed Killer

作者:Vivideru

In Survival, you can’t quick‑set your spawn by placing a bed anymore. With this mod, the spawn is updated only after a full sleep.

收藏

介绍

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

BedKiller – Sleep First, Spawn Later

In Survival, players often throw down a bed and right‑click it to “quick‑save” their spawn right before dying. BedKiller stops that exploit. Your spawn point is updated only after you actually sleep through the night.

How it Works

  • Daytime bed clicks are blocked
    Right‑clicking a bed when it’s not night is cancelled and you get a warning message.

  • Real sleep = new spawn
    When you wake up from a proper night’s sleep, your respawn point is set to that bed automatically.

  • No changes to multiplayer sleep logic
    Whatever rules or mods you use to skip the night stay intact. BedKiller only cares about when the spawn is saved.

Why Use It

  • Removes the “place‑bed‑click‑die” cheese tactic.

  • Makes Survival riskier and more strategic: you need a safe spot to sleep, not just a pocket bed.

Configuration / Customization

  • The on‑screen message and the exact “day/night” time window are hardcoded but very easy to tweak in the source (onRightClickBed method).

  • You can add dimension checks if you want the rule to apply (or not) in Nether/End/custom dimensions.

Compatibility

  • Forge 1.20.1.

  • Lightweight and server‑friendly: it only hooks two events (RightClickBlock on beds and PlayerWakeUpEvent).

  • Plays nicely with mods like Comforts (sleeping bags don’t set spawn anyway).

Installation

  1. Drop the .jar into your mods/ folder.

  2. Launch the game or server.

常见问题

Bed Killer 支持哪些 Minecraft 版本?

Bed Killer 支持 Minecraft Java 版 1.20.1–1.21.1,共 3 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Bed Killer 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Vivideru 的其他作品

查看全部 →