TheStaticVoid / StaTech-Industry

Minecraft 1.19.2 modpack focused on Modern Industrializations
GNU General Public License v3.0
45 stars 13 forks source link

Missing Bottle of failing recipe in Spectrum #450

Closed Puniek closed 9 months ago

Puniek commented 9 months ago

image Along with many others in 1.1.10. Command /spectrum-sanity lists tonnes of them.

TheStaticVoid commented 9 months ago

Did you have any error messages in chat when joining the world. I'm going to guess that it's probably the KubeJS tag error causing recipes to not load correctly. Check our logs/kubejs/server.log file and post it here.

Puniek commented 9 months ago

Nope, no errors with kubejs, also not getting any errors in chat when logging in. server.log

@ Edit

Did a reload on the server, and got this in kubejs server log.


[12:25:53] [ERROR] ! Error occurred while handling event 'ServerEvents.tags': java.lang.IllegalStateException
[12:25:53] [ERROR] ! Error occurred while handling event 'ServerEvents.tags': java.lang.IllegalStateException
[12:25:53] [ERROR] ! java.lang.IllegalStateException
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.server.TagEventJS.lambda$static$0(TagEventJS.java:28)
[12:25:53] [ERROR] ! java.lang.IllegalStateException
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandlerContainer.handle(EventHandlerContainer.java:53)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.postToHandlers(EventHandler.java:302)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.post(EventHandler.java:264)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.server.TagEventJS.lambda$static$0(TagEventJS.java:28)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.post(EventHandler.java:216)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandlerContainer.handle(EventHandlerContainer.java:53)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.server.TagEventJS.post(TagEventJS.java:260)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.core.TagLoaderKJS.kjs$customTags(TagLoaderKJS.java:27)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.handler$cjd000$kubejs$customTags(class_3503.java:1032)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.postToHandlers(EventHandler.java:302)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.method_33174(class_3503.java:68)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.method_33176(class_3503.java:163)
[12:25:53] [ERROR] !    at net.minecraft.class_3505.method_33181(class_3505.java:64)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.post(EventHandler.java:264)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.event.EventHandler.post(EventHandler.java:216)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.server.TagEventJS.post(TagEventJS.java:260)
[12:25:53] [ERROR] !    at dev.latvian.mods.kubejs.core.TagLoaderKJS.kjs$customTags(TagLoaderKJS.java:27)
[12:25:53] [INFO] [minecraft:worldgen/biome] Found 490 tags, added 1 objects, removed 3 objects
[12:25:53] [ERROR] !    at net.minecraft.class_3503.handler$cjd000$kubejs$customTags(class_3503.java:1032)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.method_33174(class_3503.java:68)
[12:25:53] [ERROR] !    at net.minecraft.class_3503.method_33176(class_3503.java:163)
[12:25:53] [ERROR] !    at net.minecraft.class_3505.method_33181(class_3505.java:64)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[12:25:53] [ERROR] !    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
TheStaticVoid commented 9 months ago

Yep, there it is. That KubeJS ISE is a long running bug with the mod. You can fix it by doing another /reload on the server.

If you ever see that error, it will have breaking effects on recipes as well.

Puniek commented 9 months ago

It reloaded with no errors, but the sanity checks on the spectrum mod still shows the missing advancement to unlock the recipe. 99.9% sure the prerequisites are met for it. Maybe it's under a different id?

TheStaticVoid commented 9 months ago

Well the recipe id in your initial post is a randomly generated one, which shouldn't happen as every custom recipe in spectrum has an id. Something may be wrong with your installation, as the error is specifically saying it can't find the advancement, which is impossible if Spectrum is installed.

Puniek commented 9 months ago

Did a bit more digging. One of the admins updated spectrum to higher version, which changed internally some advancement ids. So a false alarm and a thing to think about if you get to update the Spectrum in future - it will require some migration code for the changes to not break the progress on existing worlds.