Minenash / CustomHUD

A highly customizable variable-based text HUD for Minecraft
MIT License
82 stars 23 forks source link

{biome} and {biome_id} variables causes a crash with java.lang.IncompatibleClassChangeError #29

Closed Marsman512 closed 2 years ago

Marsman512 commented 2 years ago

Minecraft version: 1.18.2 Mod version: 1.18 - 1.2.3

Stacktrace:

java.lang.IncompatibleClassChangeError: Found interface net.minecraft.class_5455, but class was expected
    at com.minenash.customhud.HudElements.SupplierElement.lambda$static$68(SupplierElement.java:145)
    at com.minenash.customhud.HudElements.SupplierElement.getString(SupplierElement.java:195)
    at com.minenash.customhud.CustomHudRenderer.render(CustomHudRenderer.java:42)
    at net.minecraft.class_329.handler$zza000$renderCustomHud(class_329.java:1517)
    at net.minecraft.class_329.method_1753(class_329.java:416)
    at net.minecraft.class_757.method_3192(class_757.java:858)
    at net.minecraft.class_310.method_1523(class_310.java:1122)
    at net.minecraft.class_310.method_1514(class_310.java:737)
    at net.minecraft.client.main.Main.main(Main.java:236)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)
Minenash commented 2 years ago

See #30

Minenash commented 2 years ago

Fixed in 2.0 update, awaiting release

Minenash commented 2 years ago

Fixed in v2.0-beta.1