Use bed packet in 1.14?
SteveTheEngineer opened this issue ยท 3 comments
well, its has been removed, you can't use it.
sleeping is now part of the entity metadate as part of a new pose field (varint enum) with the values
0: STANDING, 1: FALL_FLYING, 2: SLEEPING, 3: SWIMMING, 4: SPIN_ATTACK, 5: SNEAKING, 6: DYING
so depending on what you want to do, you can just update the metadata of the player.