Topic category: Help with modding (Java Edition)
I'm not sure what I'm doing wrong. I want a new entity to replace an existing entity (mainly to change the model) in a procedure, and I want the new entity to spawn with the same direction as the old one. So this is what I use (an example, spawning sheep is not my goal):
However, the yaw seems to be ignored, since the sheep always spawn with the yaw of 0, as seen here:
Any idea what I can do about this? I've tried converting between radians and degrees, but doing some print-to-chat testing makes me think that shouldn't be necessary anyway. Also, it seems like if a mob is stationary and looks around, rotating its whole model (NOT just the head), its yaw doesn't seem to change until it starts moving again? At least, that's what I got from printing a mob's yaw into chat (which would almost always happen twice at once for some reason, with strangely different values too).