Critical MixinTransformerError During Client Bootstrap (NeoForge + Lithium Compatibility)
ppeirce opened this issue · 1 comments
Description:
Minecraft crashes during bootstrap on version 1.21.4 with NeoForge 21.4.50-beta when running on macOS (M2 Pro) due to a MixinTransformerError related to Lithium mixins. The error occurs in HopperBlockEntityMixin, where LVT changes cause an injection failure in the ejectItems method.
Relevant Logs:
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError:
LVT in net/minecraft/world/level/block/entity/HopperBlockEntity::ejectItems(...)
has incompatible changes. Expected: [Lnet/minecraft/world/Container;, Lnet/minecraft/core/Direction;]
Found: [Lnet/neoforged/neoforge/items/ContainerOrHandler;, Lnet/minecraft/world/Container;]
System Details:
• Minecraft Version: 1.21.4
• NeoForge Version: 21.4.50-beta
• Java: OpenJDK 21.0.3 (Microsoft)
• Mods: Lithium
• OS: macOS 15.2 (Apple M2 Pro)
Steps to Reproduce:
1. Install NeoForge 21.4.50-beta and Lithium mod.
2. Launch Minecraft 1.21.4 on macOS (M2 Pro).
3. Observe crash during bootstrap.
Additional Context:
The conflict seems to arise from differences in expected types for LVT during the injection in Lithium’s HopperBlockEntityMixin. This may require Lithium updates or a compatibility patch.
Crash Report:
crash-2025-01-10_15.42.55-client.txt
Duplicate of #605.
Downgrade to NeoForge 21.4.48-beta or older.