Download Bed Killer — Minecraft Mods — MetaMods

Bed Killer

Active

Downloads

0

Last update

3 months ago
Client
Utils

Bed Killer – Sleep First, Respawn Later

In Survival mode, players often use the bed as an exploit: place it and immediately right-click to instantly save the respawn point before dying. Bed Killer blocks this loophole. Now the respawn point is updated only after you actually sleep through the entire night.

How It Works

  • Daytime clicks on beds are blocked If you try to click on a bed during the day, the action will be canceled, and you will receive a warning message.

  • Real sleep = new respawn point When you wake up after a full night's sleep, your respawn point is automatically set to that bed.

  • Multiplayer sleep logic remains unchanged All rules and mods for skipping the night remain functional. Bed Killer only affects the moment the respawn point is saved.

Why It's Useful

  • Removes the "place-click-die" tactic that disrupts balance.
  • Makes survival more challenging and strategic: now you need a safe area to sleep, not just a bed in your pocket.

Configuration

  • The on-screen message and the "day/night" time window are hardcoded but easily editable in the source code (onRightClickBed method).
  • You can add dimension checks if you want the rule to apply (or not) in the Nether, End, or other dimensions.

Compatibility

  • Forge 1.20.1.
  • Lightweight and server-friendly: uses only two events (RightClickBlock on beds and PlayerWakeUpEvent).
  • Compatible with mods like Comforts (sleeping bags do not set respawn points anyway).

Installation

  1. Place the .jar file in the mods/ folder.
  2. Launch the game or server.
Project members
Vivideru

Vivideru

Created: 27 Jul 2025

ID: 259096