NeoForge 1.20.2 Holder does not implement Supplier, resulting in FluidStack crash.
brandon3055 opened this issue ยท 3 comments
In NeoForge 20.2.59-beta Supplier
was removed from net.minecraft.core.Holder
Commit: neoforged/NeoForge@ed1b477
This is the patch that was removed:
https://github.com/neoforged/NeoForge/blob/1ba480f54685088db109e719081d23fb5bc3848e/patches/net/minecraft/core/Holder.java.patch
As a result, FluidStack creation via FluidStack#create(FluidStack, long)
crashes with:
java.lang.IncompatibleClassChangeError: Class net.minecraft.core.Holder$Reference does not implement the requested interface java.util.function.Supplier
Full Crash: https://ss.brandon3055.com/ebe85
wasn't that fixed in #483?
wasn't that fixed in #483?
That fix appears to be for 1.20.4, It's still broken in 1.20.2
Should be closed by #485