isXander / Controlify

Another controller mod - for fabric!
https://www.isxander.dev/mods/controlify
GNU Lesser General Public License v3.0
157 stars 36 forks source link

extraalchemy Conflict #175

Open SettingDust opened 1 year ago

SettingDust commented 1 year ago

Mod Info (fill out the following information)

Describe the problem

java.lang.ExceptionInInitializerError
    at dev.isxander.controlify.bindings.ControllerBindings.<init>(ControllerBindings.java:147)
    at dev.isxander.controlify.controller.Controller$1.<init>(Controller.java:61)
    at dev.isxander.controlify.controller.Controller.<clinit>(Controller.java:60)
    at dev.isxander.controlify.Controlify.currentController(Controlify.java:579)
    at MC//net.minecraft.client.util.InputUtil.modifyReturnValue$ekc000$controlify$modifyIsKeyDown(InputUtil.java:573)
    at MC//net.minecraft.client.util.InputUtil.isKeyPressed(InputUtil.java:473)
    at MC//net.minecraft.client.gui.screen.Screen.hasShiftDown(Screen.java:372)
    at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiScreen$MinecraftGuiScreen.keyPressed(AbstractGuiScreen.java:271)
    at com.replaymod.lib.de.johni0702.minecraft.gui.container.VanillaGuiScreen$EventHandler.keyPressed(VanillaGuiScreen.java:252)
    at com.replaymod.lib.de.johni0702.minecraft.gui.versions.callbacks.KeyboardCallback$1.keyPressed(KeyboardCallback.java:12)
    at MC//net.minecraft.client.Keyboard.handler$ldg000$replaymod$keyPressed(Keyboard.java:11108)
    at MC//net.minecraft.client.Keyboard.method_1454(Keyboard.java:395)
    at MC//net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:409)
    at MC//net.minecraft.client.Keyboard.onKey(Keyboard.java:391)
    at MC//net.minecraft.client.Keyboard.method_22678(Keyboard.java:477)
    at MC//net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor.java:102)
    at MC//net.minecraft.client.Keyboard.method_22676(Keyboard.java:477)
    at org.lwjgl.glfw.GLFWKeyCallback$Container.invoke(GLFWKeyCallback.java:82)
    at com.moulberry.axiom.editor.CustomImGuiImplGlfw.keyCallback(CustomImGuiImplGlfw.java:272)
    at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:44)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474)
    at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:237)
    at MC//net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1244)
    at MC//net.minecraft.client.MinecraftClient.run(MinecraftClient.java:802)
    at net.minecraft.client.main.Main.main(Main.java:250)
    at app//net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468)
    at app//net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at app//net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at app//org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:87)
    at app//org.prismlauncher.EntryPoint.listen(EntryPoint.java:127)
    at app//org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
Caused by: java.lang.NullPointerException: PlayerProperties can't be read from null players
    at zabi.minecraft.extraalchemy.entitydata.PlayerProperties.of(PlayerProperties.java:19)
    at MC//net.minecraft.client.texture.StatusEffectSpriteManager.handler$fle000$extraalchemy$injectGetSprite(StatusEffectSpriteManager.java:528)
    at MC//net.minecraft.client.texture.StatusEffectSpriteManager.getSprite(StatusEffectSpriteManager.java)
    at dev.isxander.controlify.bindings.RadialIcons.lambda$addPotionEffects$6(RadialIcons.java:75)
    at java.base@17.0.8/java.util.Iterator.forEachRemaining(Iterator.java:133)
    at com.google.common.collect.Maps$IteratorBasedAbstractMap.forEachEntry(Maps.java:3878)
    at com.google.common.collect.Maps$IteratorBasedAbstractMap$1.forEach(Maps.java:3872)
    at java.base@17.0.8/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
    at dev.isxander.controlify.bindings.RadialIcons.addPotionEffects(RadialIcons.java:71)
    at dev.isxander.controlify.bindings.RadialIcons.lambda$static$2(RadialIcons.java:36)
    at MC//net.minecraft.util.Util.make(Util.java:432)
    at dev.isxander.controlify.bindings.RadialIcons.<clinit>(RadialIcons.java:24)
    ... 32 more

Minecraft Info (please complete the following information):

isXander commented 1 year ago

When generating sprites for radial menu, an extraalchemy potion is failing because it expects to only be loaded in-game. You should report this there as it is not the issue of Controlify.

isXander commented 1 year ago

However I will leave this open as it is regardless a problem.