quiqueck / BCLib

A library mod for BetterX team mods, developed for Fabric, MC 1.16.4+
https://modrinth.com/mod/bclib
Other
25 stars 24 forks source link

[Bug] EMI #193

Open lanwoodall423 opened 3 months ago

lanwoodall423 commented 3 months ago

What happened?

1.20.1 Fabric with EMI 1.1.10 and BCLib 3.0.14

I posted this to the EMI github as well.

Endless loop of EMI trying to initialize and failing at:

[11:12:01] [Thread-36/ERROR]: [worlds_together] Tried to read from global registry! [11:12:01] [Thread-36/ERROR]: [EMI] Exception loading plugin provided by bclib [11:12:01] [Thread-36/INFO]: [STDERR]: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_5455.method_30530(net.minecraft.class_5321)" because the return value of "org.betterx.worlds.together.world.event.WorldBootstrap.getLastRegistryAccessOrElseBuiltin()" is null [11:12:01] [Thread-36/INFO]: [STDERR]: at org.betterx.bclib.recipes.AnvilRecipe.getAllHammers(AnvilRecipe.java:108) [11:12:01] [Thread-36/INFO]: [STDERR]: at org.betterx.bclib.integration.emi.EMIAnvilRecipe.addAllRecipes(EMIAnvilRecipe.java:45) [11:12:01] [Thread-36/INFO]: [STDERR]: at org.betterx.bclib.integration.emi.EMIPlugin.register(EMIPlugin.java:120) [11:12:01] [Thread-36/INFO]: [STDERR]: at dev.emi.emi.runtime.EmiReloadManager$ReloadWorker.run(EmiReloadManager.java:185) [11:12:01] [Thread-36/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:1583) [11:12:01] [Thread-36/ERROR]: [EMI] java.lang.NullPointerException: Cannot invoke "net.minecraft.class_5455.method_30530(net.minecraft.class_5321)" because the return value of "org.betterx.worlds.together.world.event.WorldBootstrap.getLastRegistryAccessOrElseBuiltin()" is null at org.betterx.bclib.recipes.AnvilRecipe.getAllHammers(AnvilRecipe.java:108) at org.betterx.bclib.integration.emi.EMIAnvilRecipe.addAllRecipes(EMIAnvilRecipe.java:45) at org.betterx.bclib.integration.emi.EMIPlugin.register(EMIPlugin.java:120) at dev.emi.emi.runtime.EmiReloadManager$ReloadWorker.run(EmiReloadManager.java:185) at java.base [11:12:01] [Thread-36/ERROR]: [EMI] java.lang.Thread.run(Thread.java:1583)

latest.log

BCLib

3.0.14

WorldWeaver

none

Fabric API

0.92.2

Fabric Loader

0.15.11

Minecraft

1.20.1

Relevant log output

11:12:01] [Thread-36/ERROR]: [worlds_together] Tried to read from global registry!
[11:12:01] [Thread-36/ERROR]: [EMI] Exception loading plugin provided by bclib
[11:12:01] [Thread-36/INFO]: [STDERR]: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_5455.method_30530(net.minecraft.class_5321)" because the return value of "org.betterx.worlds.together.world.event.WorldBootstrap.getLastRegistryAccessOrElseBuiltin()" is null
[11:12:01] [Thread-36/INFO]: [STDERR]:  at org.betterx.bclib.recipes.AnvilRecipe.getAllHammers(AnvilRecipe.java:108)
[11:12:01] [Thread-36/INFO]: [STDERR]:  at org.betterx.bclib.integration.emi.EMIAnvilRecipe.addAllRecipes(EMIAnvilRecipe.java:45)
[11:12:01] [Thread-36/INFO]: [STDERR]:  at org.betterx.bclib.integration.emi.EMIPlugin.register(EMIPlugin.java:120)
[11:12:01] [Thread-36/INFO]: [STDERR]:  at dev.emi.emi.runtime.EmiReloadManager$ReloadWorker.run(EmiReloadManager.java:185)
[11:12:01] [Thread-36/INFO]: [STDERR]:  at java.base/java.lang.Thread.run(Thread.java:1583)
[11:12:01] [Thread-36/ERROR]: [EMI] java.lang.NullPointerException: Cannot invoke "net.minecraft.class_5455.method_30530(net.minecraft.class_5321)" because the return value of "org.betterx.worlds.together.world.event.WorldBootstrap.getLastRegistryAccessOrElseBuiltin()" is null
    at org.betterx.bclib.recipes.AnvilRecipe.getAllHammers(AnvilRecipe.java:108)
    at org.betterx.bclib.integration.emi.EMIAnvilRecipe.addAllRecipes(EMIAnvilRecipe.java:45)
    at org.betterx.bclib.integration.emi.EMIPlugin.register(EMIPlugin.java:120)
    at dev.emi.emi.runtime.EmiReloadManager$ReloadWorker.run(EmiReloadManager.java:185)
    at java.base
[11:12:01] [Thread-36/ERROR]: [EMI] java.lang.Thread.run(Thread.java:1583)

Other Mods

EMI