Causes GregTech multiblock structure preview to fail to render properly when installed alongside GregTech
Schabe-Antimonfeld opened this issue · 2 comments
Description
When installed together with GregTech and JEI, the GregTech multiblock structure preview fails to render properly, as shown in the screenshot below:

Steps to Reproduce:
- Install L2Hostility and its dependencies.
- Install GregTech Modern.
- Install JEI.
Log excerpt:
java.lang.NullPointerException: Cannot invoke "com.lowdragmc.lowdraglib.utils.DummyWorld.m_141937_()" because "this.world" is null
at ldlib.com.lowdragmc.lowdraglib.utils.virtual.VirtualChunk.m_141937_(VirtualChunk.java:208)
at l2hostility.dev.xkmc.l2hostility.content.capability.chunk.ChunkDifficulty.init(ChunkDifficulty.java:91)
...
The full log is attached.
minecraft-exported-logs-2025-08-13T15-22-36.log
Environment
- Minecraft 1.20.1
- Forge 47.4.6
- L2 Complements 2.5.7
- L2 Library 2.5.3
- Patchouli 84.1
- L2 Hostility 2.5.9
- GregTech Modern 7.1.4
- JEI 15.20.0.112
Expected Behavior:
Multiblock structures should render correctly, as shown in the following screenshot:
Additional Information:
The crash appears related to the interaction between LDLib’s(which is built in GregTech) virtual world rendering and L2Hostility’s chunk capability initialization. It specifically affects GregTech multiblock structures preview.
Moreover, in other cases when gt load its 3d
preview (like in the machine gui), the game will crash.