[Bug]: Entity does not have size set at chunk load
Linguardium opened this issue ยท 2 comments
Describe the bug
Entity does not have size set at chunk load
Steps to reproduce
find a mob that is larger than 1x1
shrink it to the 1x1 size
put it in a hole that is 1x1
unload chunk
reload chunk
notice the mob has moved outside of the hole due to loading in with size > 1x1 and later size being reset.
Expected behaviour
size should persist at entity load time and entities should not be pushed out of spaces that their shrunk size fits in
Screenshots
Version
2.0.0.43
Minecraft Version
1.21.1
ModLoader Version
neoforge 21.1.59
Additional Information
using Craftoria modpack
I checked the occultism code and they do call super.readAdditionalSaveData to TameableAnimal which calls super all the way up to Entity.
Since its a vanilla thing and they use the Vanilla code for attribute containers, this mod should be having no issues with them