Fuzss / easyshulkerboxes

Supercharge shulkes boxes, bundles and backpacks! Fully useable in your inventory with many intuitive interactions.
https://www.curseforge.com/minecraft/mc-mods/easy-shulker-boxes
Mozilla Public License 2.0
5 stars 3 forks source link

[Crash]: Does not work with latest puzzle lib 21.1.x #59

Closed MeeniMc closed 1 month ago

MeeniMc commented 1 month ago

Mod Loader (Required)

Fabric

Minecraft Version(s) (Required)

1.21.1

Mod Version(s) (Required)

21.0.3

Minimal Setup

Yes

Notes (Required)

When using easyshulkerboxes 21.0.3 with puzzlelib 21.1.1 (also tried with 21.1.0) the game crashes on load with


java.lang.ClassCastException: class fuzs.iteminteractions.impl.world.item.container.ItemContentsProviders$$Lambda/0x000002463dcba980 cannot be cast to class java.util.function.BiFunction (fuzs.iteminteractions.impl.world.item.container.ItemContentsProviders$$Lambda/0x000002463dcba980 is in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @685cb137; java.util.function.BiFunction is in module java.base of loader 'bootstrap')
    at fuzs.iteminteractions.impl.world.item.container.ItemContentsProviders.onAddDataPackReloadListeners(ItemContentsProviders.java:74)
    at fuzs.puzzleslib.fabric.impl.event.FabricEventInvokerRegistryImpl.lambda$registerLoadingHandlers$2(FabricEventInvokerRegistryImpl.java:105)
    at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
    at fuzs.puzzleslib.fabric.api.event.v1.core.FabricEventFactory.invokeFast(FabricEventFactory.java:180)
    at fuzs.puzzleslib.fabric.api.event.v1.core.FabricEventFactory$1.handleInvocation(FabricEventFactory.java:43)
    at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
    at jdk.proxy2/jdk.proxy2.$Proxy33.onLoadComplete(Unknown Source)
    at net.minecraft.class_310.handler$bbg003$puzzleslib$init(class_310.java:6206)
    at net.minecraft.class_310.<init>(class_310.java:487)

The same version works with puzzlelib 21.0.x (assuming one overrides the version lock in puzzlelib).

Crash Report (Required)

https://mclo.gs/DaL3oAk

latest.log (Optional)

No response