Fabric API

Fabric API

106M Downloads

Minecraft/Fabric launches until mods are added to mod folder, then will not launch

charblakey opened this issue ยท 7 comments

commented

Hi, I am trying to play Minecraft with a few mods using Fabric. I've followed all the instructions to install in both the Minecraft Launcher and in MultiMC and the game will launch with just the Fabric API in the mods folder, but once I add any mods, and try to launch the game, nothing happens. It is the same in both the Minecraft Launcher and in MultiMC. I have tried different versions of the API and it still happens the same way, so I'm not sure what else to try.

MultiMC log:
https://paste.ee/p/BiIRL

Minecraft Launcher log (when I just tried one mod)
[13:21:33] [main/INFO]: Loading for game Minecraft 1.16.1
[13:21:34] [main/INFO]: [FabricLoader] Loading 41 mods: [email protected]+eae12eb802, [email protected]+f362c86e02, [email protected], [email protected]+b50ffc7b02, [email protected]+3fa9f7c502, [email protected]+5ce5339802, [email protected]+build.203, [email protected]+5794386e02, [email protected]+4d66bed502, [email protected]+045df74f02, [email protected]+e00ecb5f02, [email protected]+a71b305302, [email protected]+059ea86602, [email protected]+16acbe5b02, [email protected]+b7f9825d02, [email protected]+7066030f02, [email protected]+12a8474c02, [email protected], [email protected]+5341049002, [email protected]+346247d702, [email protected]+e16a977402, [email protected]+b7f9825d02, [email protected]+f41e209802, [email protected]+eae12eb802, [email protected]+059ea86602, [email protected]+a4c57d8e02, [email protected]+b7084faa02, [email protected]+7dba2d6c02, [email protected]+52d3083602, [email protected]+c6a8ea8902, [email protected]+b0993bc102, [email protected]+b764ce9902, [email protected]+5a0f9a6002, [email protected]+059ea86602, [email protected]+16acbe5b02, [email protected]+build.372-1.16, [email protected]+0a6f2a7002, [email protected]+dfdb52d602, [email protected]+438f963602, [email protected]+da175ad602, [email protected]+e00ecb5f02
[13:21:34] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8 Source=file:/Users/charlotteblakemore/Library/Application%20Support/minecraft/libraries/net/fabricmc/sponge-mixin/0.8+build.18/sponge-mixin-0.8+build.18.jar Service=Knot/Fabric Env=CLIENT
[13:21:42] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[13:21:42] [main/INFO]: Setting user: CreeperCharlotte
[13:21:42] [main/INFO]: [Indigo] Registering Indigo renderer!
[13:21:42] [main/INFO]: Loading Xaero's Minimap - Stage 1/2
[13:21:43] [main/INFO]: Backend library: LWJGL version 3.2.1 build 12

commented

Hi,
It's an incompatibility with Mac caused by my minimap mod. Remove it and the game should start. This might still be a bug on the Fabric API's end though. I'm still investigating.
So far I know that it seems to be freezing at GLFW.glfwCreateWindow in the Window constructor.

commented

@thexaero make sure you are not using any java.awt classes (including Color)

commented

@modmuss50 I actually am using Color in a few places. I'll go fix that. Why would it cause the freeze though?

commented

Hi,
It's an incompatibility with Mac caused by my minimap mod. Remove it and the game should start. This might still be a bug on the Fabric API's end though. I'm still investigating.
So far I know that it seems to be freezing at GLFW.glfwCreateWindow in the Window constructor.

Thank you! It seems to be loading no problem without the Minimap mod. That's a shame as I've used the mod in the past and it's worked great, hence why I used it as the first mod to check everything was running properly. Another mod I tried on it's own also caused the same problem but doesn't seem to be now. Anyway, thank you for the quick response!

commented

Using any AWT class is usually fatal for LWJGL on mac os and should be avoided at all costs. Going to close this as this isnt a bug with fabric.

commented

Alright, thanks!

commented

So I was having this same issue, and using jdeps I found there were quite a few mods that depended on java.awt, meaning none of them can be used on Mac. Maybe it should be advertised more that you cannot use awt if you want cross compatibility? Im also curious why this was never an issue with forge modpacks.