-
Bug
-
Resolution: Invalid
-
None
-
1.15 Pre-release 3
-
Unconfirmed
-
(Unassigned)
Setting up a scoreboard objective to detect when a player interacts with a bed during the night AND day to change spawn point does not work; this has been tested with minecraft.used:minecraft.white_bed (and variant colors) and
minecraft.custom:minecraft.sleep_in_bed, as well as using a custom resetting advancement to test via criteria minecraft:slept_in_bed (makes sense, that advancement criteria trigger defines past tense and we can't sleep during the day anyways).
Expected behavior is that minecraft.custom:minecraft.sleep_in_bed or minecraft.used:minecraft.white_bed (and other variants) would increment when using a bed to reset spawn point during the day.
Observed behavior is nothing happens.
Steps to reproduce:
- Create new world, run the following commands:
/scoreboard objectives add set_spawn minecraft.custom:minecraft.sleep_in_bed "Times Spawn was set" /scoreboard objectives setdisplay sidebar set_spawn /time set day /give @s minecraft:white_bed
- Place white bed down in world
- Right-click a white bed to use it