mojira.dev
MC-256647

Mobs face south even with a given rotation value

Command to reproduce by @unknown

/summon minecraft:pig ~ ~ ~ {NoAI:1b,Silent:1b,Rotation:[90f,0f]}

so i was making a world that is going to go through every upcoming snapshot as they come, and i was trying to summon a camel with no ai. i then tried to summon another mob with ai facing a certain direction, and it didn't work anyways. i changed the values and checked whether i was using the command right, and i am.

i am using both built in datapacks, not just the one that adds everything (idk what the other one does)

Attachments

Comments 3

I can confirm this behavior; this did not happen in 1.19.2. This closely relates to MC-256768. To reproduce, you can run the following command provided below to summon a pig facing west, but observe how it faces south instead.

/summon minecraft:pig ~ ~ ~ {NoAI:1b,Silent:1b,Rotation:[90f,0f]}

This also affects NoAI mobs from previous worlds as well. I loaded up a world (last opened in 1.19.2) w/ NoAI mobs in this snapshot (so no datapacks) and all of my west-facing mobs were suddenly facing south.

Are we sure this isn't a desync (rotating correctly in NBT, but not on the rendering)?
If so, then both this, MC-256768 and NoAI rotation are the same issue, and this needs to be rewritten.

EDIT: it is, this issue needs to be rewritten.

MemeSquid

mattiasselin

Confirmed

Platform

Important

Commands, Mob behaviour

22w42a, 22w43a

22w44a

Retrieved