[ci-skip] Improve getPotentialBedLocation deprecation (#12857)

This commit is contained in:
Tamion
2025-07-17 17:59:36 +02:00
committed by GitHub
parent d8cb3f5852
commit 1f93f56670

View File

@@ -469,9 +469,9 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
* is still valid.
*
* @return Bed Location if has slept in one, otherwise null.
* @see #getPotentialRespawnLocation()
* @deprecated Misleading name. This method also returns the location of
* respawn anchors.
* respawn anchors, use {@link Player#getRespawnLocation(boolean)} with
* loadLocationAndValidate = false instead
*/
@Nullable
@Deprecated(since = "1.21.4")