Mixins causing incompatibility with DashLoader
snoandpetals opened this issue ยท 2 comments
DashLoader currently crashes trying to initialize a Transformation because it passes in the standard 3 Vec3f's, when Porting Lib makes Minecraft expect 4. I narrowed it down to ItemTransformMixin, and I believe that's what's causing it because it introduces another non-nullable variable for initialization.
Cause: net.minecraft.client.render.model.json.Transformation.<init>(org.joml.Vector3f,org.joml.Vector3f,org.joml.Vector3f,org.joml.Vector3f)Suggestion: Check if the constructor holds all of the fields.
Object Stacktrace:
in Transformation_<@DataNullablenull>
at field thirdPersonLeftHand in DashModelTransformation_<@DataNullablenull>
at field transformation in DashBasicBakedModel
extensions/src/main/java/io/github/fabricators_of_create/porting_lib/extensions/mixin/client/ItemTransformMixin.java
extensions/src/main/java/io/github/fabricators_of_create/porting_lib/extensions/extensions/ItemTransformExtensions.java