Mojira Archive
MC-266337

Player constantly switch between being on the ground and in midair when in bed

The Bug:

Discovered while testing MC-190551 and MC-198256.

When a player enters a bed, they constantly switch between being on the ground and in midair. The value of OnGround changing between 1b and 0b confirms this.

Steps to Reproduce:

  1. Put the following commands into two repeating command blocks:
    title @a[nbt={OnGround:1b}] actionbar {"text":"On Ground"} 
    title @a[nbt={OnGround:0b}] actionbar {"text":"Midair"} 
  2. Set the time to night with the following command:
    /time set night
    
  3. Place a bed and enter it.
    The OnGround is continuously changing between 1b and 0b.

Observed Behavior:

The player is constantly switching between being on the ground and in midair when in a bed.

Expected Behavior:

The player stays either on ground or in midair when in a bed.

Won't Fix

hentor5

2023-11-03, 09:18 AM

2023-11-24, 08:16 AM

2023-11-24, 08:16 AM

2

2

Confirmed

Player

1.20.2, 23w44a, 23w45a

-