Draft PR as Neo isn't out for 1.21 yet, and there is some more testing and cleanup I need to do to TextureMetadataHandler#onModelBake
I also believe this PR will address the same problem seen in #219, as I got the same stack trace after converting from using Vec3 to using a Vector3f (due to vertex consumers only handling floats), but for all CTM related blocks. It seems that the problem was from CTM still using the old (and now unused, but for some reason not yet removed from vanilla), Direction#fromDelta, as opposed to what it seems mojang has moved to of using Direction#getNearest for calculating normals.
Draft PR as Neo isn't out for 1.21 yet, and there is some more testing and cleanup I need to do to
TextureMetadataHandler#onModelBake
I also believe this PR will address the same problem seen in #219, as I got the same stack trace after converting from using
Vec3
to using aVector3f
(due to vertex consumers only handling floats), but for all CTM related blocks. It seems that the problem was from CTM still using the old (and now unused, but for some reason not yet removed from vanilla),Direction#fromDelta
, as opposed to what it seems mojang has moved to of usingDirection#getNearest
for calculating normals.