Перейти к содержимому
Mineforgian

Bed Spawn Backport

Backports 1.15's instant spawn-point setting without sleeping, and fixes bed range asymmetry to match 1.13+.

Загрузки
30K
Подписчики
1
Обновлён
7 августа 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 19 августа 2025 г.

Description

In Minecraft 1.12.2, players must sleep through the entire night to set a spawn point.This is very inconvenient.

This mod backports the bed mechanics from 1.15 to 1.12.2:

attempting to sleep during daytime now updates your spawn location!

Key Features

  • Right-click a bed at any time to directly set your spawn point—no waiting for nighttime!
  • After successfully changing the spawn point, the message "Respawn point set" will appear in chat.
  • If the bed is obstructed by blocks that cause suffocation above it, you will see an error message "This bed is obstructed" and the spawn point will not be set.

New features in 1.1.0:

Have you noticed that the usable distance of beds is not symmetrical?

This is because in 1.12.2, the vanilla bedInRange method calculates distances using the block's integer coordinates (its northwest bottom corner) rather than the block's center. As a result, the effective range is skewed toward the northwest.

Before

This mod fixes the issue using Mixin!

The distance check is now based on the geometric center of the block, making the bed's usable range fully consistent with 1.13+ versions. Now, no matter which direction you approach the bed from, the required range is the same.

After

Ченджлог

1.1.0Релиз1.12.2 · 7 августа 2026 г.

New Features:

Fixed the asymmetric usable distance of beds in 1.12.2.

Adjusted the distance check to use the block's geometric center, making the bed's usable range fully consistent with 1.13+ versions. 

Requires MixinBooter.

1.0.2Релиз1.12.2 · 25 августа 2025 г.

Fixes:

  1. Fixed a bug where the spawn point could still be set when the message "You may not rest now, the bed is too far away" was displayed.
  2. Improved mod compatibility.

Additions:

  1. Ported the error message "You may not rest now, the bed is obstructed" which appears when attempting to sleep with suffocating blocks above the bed.
1.0.1Релиз1.12.2 · 19 августа 2025 г.

Fixed an issue where the respawn point would persist after destroying the bed.

Комментарии

Загружаем…