mojira.dev
MC-269771

When summoning a sleeping cat or ocelot, it only remains lying in the bed for 1 tick

If you summon a sleeping cat or ocelot, it will only visually appear lying in the bed for 1 tick. Subsequently, it visually stands up and resumes its normal hitbox, even though it remains technically sleeping. This can be confirmed by damaging it, causing the cat or ocelot to be teleported to its wake-up position.

 

Reproduction steps

/tick rate 1
/time set midnight
  1. Position a bed with its foot at coordinates 0 -60 18

/summon minecraft:cat ~ ~ ~ {SleepingX:-1,SleepingY:-60,SleepingZ:18}

(You have the flexibility to modify the command coordinates if you've positioned the bed elsewhere.)

/summon minecraft:ocelot ~ ~ ~ {SleepingX:-1,SleepingY:-60,SleepingZ:18}

(You have the flexibility to modify the command coordinates if you've positioned the bed elsewhere.)

  1. Press F3+B

  2. Damage the cat/ocelot

Observed: The cat and ocelot only remained lying in the bed for 1 tick. After standing up, damaging them resulted in teleportation to the waking up position, indicating they were still sleeping.

Expected: The cat and ocelot would remain lying in the bed even after 1 tick.

Attachments

Comments 1

[Mojang] Triage Team

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Pro of the best minecraft game: 1.8!

No User

(Unassigned)

Confirmed

Commands, Mob behaviour

1.20.4, 24w12a

Retrieved