Botania

Botania

133M Downloads

[MC1.18.2 Fabric] fabric-screen-handler-api breaking change

km0nr1 opened this issue ยท 3 comments

commented

Mod Loader

Fabric

Minecraft Version

1.18.2

Botania version

1.18.2-430-FABRIC

Modloader version

Fabric Loader 0.13.3 + Fabric API 0.50.0+1.18.2

Modpack info

No response

The latest.log file

https://pastebin.com/FNK1g38A

Issue description

fabric-api-0.50.0, breaking changes occurred at fabric-screen-handler-api .
FabricMC/fabric#2104

so Botania cannot initialize.

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'botania'!
Caused by: java.util.ServiceConfigurationError: vazkii.botania.xplat.IXplatAbstractions: vazkii.botania.fabric.xplat.FabricXplatImpl Unable to get public no-arg constructor
Caused by: java.lang.NoClassDefFoundError: net/fabricmc/fabric/impl/screenhandler/ExtendedScreenHandlerType

with fabric-api-0.48.0, works fine.

Steps to reproduce

No response

Other information

No response

commented

I can confirm i'm encountering the same issue.
Also present on farmer's delight mod...

It is a deprecated method.

Fixed in the latest artifact (431)
https://maven.blamejared.com/vazkii/botania/Botania/1.18.2-431-FABRIC-SNAPSHOT/Botania-1.18.2-431-FABRIC-20220415.045404-16.jar

commented

Fixed by commit : f364c75

commented

fixed already (will release in next couple days)