haubna / PhysicsMod

Physics Mod for Minecraft
103 stars 10 forks source link

[compatibility] Forge 1.20.1 with Iris 1.80 alpha 4/sodium 0.60 alpha 3 #988

Open nukularpower opened 1 month ago

nukularpower commented 1 month ago

Hello,

Iris and Sodium alphas now support Forge (and NeoForge) since at least Alpha 4, released on the Iris discord on 8/2/24. However, cannot use the newest Physics mod release with these versions, it seems - get this error that seems related to Sodium:

-- Head -- Thread: Render thread Suspected Mods: NONE Stacktrace: at net.diebuddies.compat.Sodium.disableWorkaround(Sodium.java:98) ~[physics-mod-pro-v171b-forge-1.20.1.jar%23134!/:3.0.14] {re:mixin,re:classloading} at net.minecraft.client.renderer.VirtualScreen.handler$zlk000$newWindow(VirtualScreen.java:523) ~[client-1.20.1-20230612.114412-srg.jar%23136!/:?] {re:mixin,re:classloading,pl:mixin:APP:physicsmod.mixins.json:sodium.MixinWorkarounds,pl:mixin:A} at net.minecraft.client.renderer.VirtualScreen.m110872(VirtualScreen.java) ~[client-1.20.1-20230612.114412-srg.jar%23136!/:?] {re:mixin,re:classloading,pl:mixin:APP:physicsmod.mixins.json:sodium.MixinWorkarounds,pl:mixin:A} at net.minecraft.client.Minecraft.(Minecraft.java:440) ~[client-1.20.1-20230612.114412-srg.jar%23136!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}

Is there any fix or etc? Hoping to use this while waiting on Create to update to 1.21. Thanks to anyone with advice/help!

Minecraft Version: Physics Mod Version:

haubna commented 1 month ago

The only fix is to switch to the Embeddium/Oculus version. I've listed the compatible ones here https://minecraftphysicsmod.com/installation I hope this can help

ShadowRocks2 commented 1 month ago

isnt iris/sodium fabric only?

haubna commented 1 month ago

They have an official NeoForge version. Embeedium/Oculus was a port for Forge (I think it is no longer being developed for Forge now but rather NeoForge).