
Forge 1.20.1 dump fails
FemBane opened this issue ยท 5 comments
Dump fails due to "net.fabricmc.fabric.api.blockview.v2.FabricBlockView" not found, but this is an entirely forge modpack, no sinytra connector at all.
Running it with only the server mods + probejs yields a success when on a singleplayer world. So it's definitely a client-side mod... No idea which
Looks like the class scanning is touching something that shouldn't be loaded... It would be quite a problem to fix considering the current development focus is very on 1.21.1.
I was having this same issue until I removed AdvancementJS and all related scripts. Not sure why but it wouldn't dump anything other than entity_type and item/block types otherwise. Now it dumps classes and stuff too
For me it was these:
- Structure Gel API (used by Blue Skies)
- Xaero's World Map
- Xaero's Minimap
If you're running into this, look in the log immediately after the probejs error for a line like this to get a hint about what mod to disable:
Caused by: org.spongepowered.asm.mixin.transformer.throwables.IllegalClassLoadError: com.legacy.structure_gel.core.mixin.ChunkAccessMixin is in a defined mixin package com.legacy.structure_gel.core.mixin.* owned by structure_gel.mixins.json and cannot be referenced directly
With those mods (and their dependents) disabled, I was able to get this output which sounds success-like:
[19Jan2025 00:11:50.260] [Render thread/INFO] [probejs/]: Loading mappings for 1.20.1
[19Jan2025 00:11:50.354] [Render thread/INFO] [probejs/]: Loaded 0 plugins
[19Jan2025 00:11:50.358] [Render thread/INFO] [probejs/]: JVM info: Azul Systems, Inc. - 17.0.13 - 17.0.13+11-LTS
[19Jan2025 00:11:50.373] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] ProbeJS dump started.
[19Jan2025 00:11:51.332] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Snippets for VSCode generated.
[19Jan2025 00:11:51.334] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Mod environment changed.
[19Jan2025 00:11:51.334] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Removing old dump files that might contain invalid classes... This can be slow.
[19Jan2025 00:11:51.339] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Removed typing for script type CLIENT.
[19Jan2025 00:11:51.340] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Removed typing for script type SERVER.
[19Jan2025 00:11:51.341] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Removed typing for script type STARTUP.
[19Jan2025 00:12:02.614] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Discovered 11879 classes to generate typing for.
[19Jan2025 00:12:05.666] [Thread-49/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Dump executing... Current progress: 3645/11858, 3629/11935, 3647/11993
[19Jan2025 00:12:08.283] [Thread-46/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] The typing generation of script type CLIENT is finished.
[19Jan2025 00:12:08.296] [Thread-48/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] The typing generation of script type STARTUP is finished.
[19Jan2025 00:12:08.298] [Thread-47/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] The typing generation of script type SERVER is finished.
... but there's still no probe directory under my kubejs directory, and the only thing in the .vscode directory is code snippets. Anyone else on 1.20.1 figured out how to get past this point?
Edit: Oh wait, I do have a .probe directory in the top level .minecraft. Can I just copy those files where they need to be? I don't know what structure vs code expects.