Mojira Archive
MC-166886

Scoreboard Objective does not increment when using a bed during day

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:

  1. 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
  2. Place white bed down in world
  3. Right-click a white bed to use it

Invalid

Akoi Meexx

2019-11-30, 06:38 PM

2019-12-02, 08:26 PM

2019-11-30, 06:49 PM

0

3

Unconfirmed

(Unassigned)

block, command, objectives

1.15 Pre-release 3

-