
[1.16.5] MixinTargetAlreadyLoadedException when used with Fabric API 0.42.0 with Fabric ProxyLite 1.1.3
Closed this issue · 2 comments
Bug description
Carpet TIS Addition conflicts with Fabric Proxy Lite 1.1.3 if Fabric API 0.42.0 is used, yet works with Fabric API, in 1.16.5. The stacktrace doesn't mention Fabric Proxy Lite or Fabric API though.
This issue existed for at least four years affecting many versions of Carpet TIS Addition, which first occurred when I updated Fabric API to 0.42.0 and Carpet TIS Addition when they're released. However I downgraded Fabric API and forgot about this. Now I think this needs to be reported.
Steps to reproduce
- Create a Minecraft 1.16.5 server
- Use recent versions of Carpet TIS Addition, Fabric Proxy Lite 1.1.3 and Fabric API 0.42.0
- Start the server
Expected behavior
The server should run normally.
Actual behavior
The server crashes with MixinTargetAlreadyLoadedException
Relevant logs
Error logs (Fabric API 0.42.0. Full on https://mclo.gs/1dsgwyD ):
[10:56:55] [main/ERROR]: Mixin prepare for mod carpet-tis-addition failed preparing translations.StyleAccessor in carpet-tis-addition.mixins.json: org.spongepowered.asm.mixin.transformer.throwables.MixinTargetAlreadyLoadedException Critical problem: carpet-tis-addition.mixins.json:translations.StyleAccessor from mod carpet-tis-addition target net.minecraft.class_2583 was loaded too early.
Normal logs (Fabric API 0.41.3. Full on https://mclo.gs/hctDbfb ):
[10:59:35] [TISCM Mapping/INFO]: Yarn mapping file yarn-1.16.5+build.10-v2.tiny loaded
Minecraft version
1.16.5
Carpet TIS Addition version
1.66.0
Fabric Carpet version
1.4.44
Other information
Environment:
- carpet 1.4.44
- carpet-tis-addition 1.66.0
\-- conditional-mixin 0.6.[4](https://mclo.gs/1dsgwyD#L4)
- fabric 0.42.0+1.16
|-- fabric-api-base 0.4.0+3cc0f0907d
|-- fabric-api-lookup-api-v1 1.3.1+3cc0f0907d
|-- fabric-biome-api-v1 3.1.13+3cc0f0907d
|-- fabric-blockrenderlayer-v1 1.1.6+3cc0f0907d
|-- fabric-command-api-v1 1.1.3+3cc0f0907d
|-- fabric-commands-v0 0.2.3+3cc0f0907d
|-- fabric-containers-v0 0.1.12+3cc0f0907d
|-- fabric-content-registries-v0 0.2.[5](https://mclo.gs/1dsgwyD#L5)+3cc0f0907d
|-- fabric-crash-report-info-v1 0.1.4+3cc0f0907d
|-- fabric-dimensions-v1 2.0.8+3cc0f0907d
|-- fabric-entity-events-v1 1.2.4+3cc0f0907d
|-- fabric-events-interaction-v0 0.4.5+3cc0f0907d
|-- fabric-events-lifecycle-v0 0.2.2+3cc0f0907d
|-- fabric-game-rule-api-v1 1.0.7+3cc0f0907d
|-- fabric-item-api-v1 1.2.2+3cc0f0907d
|-- fabric-item-groups-v0 0.3.1+3cc0f0907d
|-- fabric-key-binding-api-v1 1.0.5+3cc0f0907d
|-- fabric-keybindings-v0 0.2.2+3cc0f0907d
|-- fabric-lifecycle-events-v1 1.2.2+3cc0f0907d
|-- fabric-loot-tables-v1 1.0.3+3cc0f0907d
|-- fabric-mining-levels-v0 0.1.4+3cc0f0907d
|-- fabric-models-v0 0.3.1+3cc0f0907d
|-- fabric-networking-api-v1 1.0.5+3cc0f0907d
|-- fabric-networking-blockentity-v0 0.2.9+3cc0f0907d
|-- fabric-networking-v0 0.3.3+3cc0f0907d
|-- fabric-object-builder-api-v1 1.9.[6](https://mclo.gs/1dsgwyD#L6)+3cc0f0907d
|-- fabric-object-builders-v0 0.[7](https://mclo.gs/1dsgwyD#L7).3+3cc0f0907d
|-- fabric-particles-v1 0.2.5+3cc0f0907d
|-- fabric-registry-sync-v0 0.7.6+3cc0f0907d
|-- fabric-renderer-api-v1 0.4.5+3cc0f0907d
|-- fabric-renderer-indigo 0.4.5+3cc0f0907d
|-- fabric-renderer-registries-v1 2.3.1+3cc0f0907d
|-- fabric-rendering-data-attachment-v1 0.1.6+3cc0f0907d
|-- fabric-rendering-fluids-v1 0.1.15+3cc0f0907d
|-- fabric-rendering-v0 1.1.3+3cc0f0907d
|-- fabric-rendering-v1 1.6.1+3cc0f0907d
|-- fabric-resource-loader-v0 0.4.[8](https://mclo.gs/1dsgwyD#L8)+3cc0f0907d
|-- fabric-screen-api-v1 1.0.1+3cc0f0[9](https://mclo.gs/1dsgwyD#L9)07d
|-- fabric-screen-handler-api-v1 1.1.6+3cc0f0907d
|-- fabric-structure-api-v1 1.1.12+3cc0f0907d
|-- fabric-tag-extensions-v0 1.1.2+3cc0f0907d
|-- fabric-textures-v0 1.0.7+3cc0f0907d
|-- fabric-tool-attribute-api-v1 1.2.8+3cc0f0907d
\-- fabric-transfer-api-v1 1.5.0+3cc0f0907d
- fabricloader 0.16.[10](https://mclo.gs/1dsgwyD#L10)
\-- mixinextras 0.4.1
- fabricproxy-lite 1.1.3
\-- autoconfig1u 3.3.1
- java 22
- minecraft 1.16.5
Check list
- I have verified that the issue persists in the latest version of the mod.
- I have searched the existing issues and confirmed that this is not a duplicate.