TerraFirmaCraft

TerraFirmaCraft

3M Downloads

WorldGen Errors

Closed this issue · 1 comments

commented

Hi! I play with TFC assembly 1.20.1,mod version is 3.2.14, when structures are created, I constantly write errors, I tried to figure it out on my own, but I couldn't, I'm asking for help. I don't understand how it can be fixed. Maybe it's a conflict of mods, but I'm not sure.

My server logs look like this, and it doesn't stop for a second when at least one chunk is uploaded.
Sometimes this causes a critical error with a server crash, which makes it impossible to even enter the world.
I'll attach logs and crash reports, maybe it will help to figure out the error.

crash-2025-04-08_03.17.07-server.txt
crash-2025-04-09_20.38.20-server.txt
crash-2025-04-10_21.32.13-server.txt

[02:51:23 INFO]: worldgen/structures.js#164: event id is minecraft:mineshaft
[02:51:23 INFO]: worldgen/structures.js#165: event id is minecraft:mineshaft
[02:51:23 ERROR]: worldgen/match_villages_stone.js#10: Error in 'MoreJSEvents.structureAfterPlace': ReferenceError: "getStoneReplacement" is not defined.
[02:51:23 INFO]: worldgen/structures.js#164: event id is minecraft:mineshaft
[02:51:23 INFO]: worldgen/structures.js#165: event id is minecraft:mineshaft
[02:51:23 ERROR]: worldgen/match_villages_stone.js#10: Error in 'MoreJSEvents.structureAfterPlace': ReferenceError: "getStoneReplacement" is not defined.
[02:51:23 INFO]: worldgen/structures.js#164: event id is minecraft:mineshaft
[02:51:23 INFO]: worldgen/structures.js#165: event id is minecraft:mineshaft
[02:51:24 ERROR]: worldgen/match_villages_stone.js#10: Error in 'MoreJSEvents.structureAfterPlace': ReferenceError: "getStoneReplacement" is not defined.
[02:51:24 INFO]: worldgen/structures.js#164: event id is minecraft:mineshaft
[02:51:24 INFO]: worldgen/structures.js#165: event id is minecraft:mineshaft
[02:51:24 ERROR]: worldgen/match_villages_stone.js#10: Error in 'MoreJSEvents.structureAfterPlace': ReferenceError: "getStoneReplacement" is not defined.
[02:51:24 INFO]: worldgen/structures.js#164: event id is minecraft:mineshaft
[02:51:24 INFO]: worldgen/structures.js#165: event id is minecraft:mineshaft
[02:51:24 ERROR]: worldgen/match_villages_stone.js#10: Error in 'MoreJSEvents.structureAfterPlace': ReferenceError: "getStoneReplacement" is not defined.
[02:51:24 INFO]: worldgen/structures.js#164: event id is minecraft:mineshaft
[02:51:24 INFO]: worldgen/structures.js#165: event id is minecraft:mineshaft
[02:51:24 ERROR]: worldgen/match_villages_stone.js#10: Error in 'MoreJSEvents.structureAfterPlace': ReferenceError: "getStoneReplacement" is not defined.
[02:51:24 INFO]: worldgen/structures.js#164: event id is minecraft:mineshaft
[02:51:24 INFO]: worldgen/structures.js#165: event id is minecraft:mineshaft
[02:51:24 ERROR]: worldgen/match_villages_stone.js#10: Error in 'MoreJSEvents.structureAfterPlace': ReferenceError: "getStoneReplacement" is not defined.
[02:51:24 INFO]: worldgen/structures.js#164: event id is minecraft:mineshaft
[02:51:24 INFO]: worldgen/structures.js#165: event id is minecraft:mineshaft
[02:51:24 ERROR]: Error in 'MoreJSEvents.structureAfterPlace': net.dries007.tfc.world.feature.tree.ForestFeature.getTree(net.dries007.tfc.world.chunkdata.ChunkData,net.minecraft.util.RandomSource,net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConfiguration,net.minecraft.core.BlockPos)
[02:51:24 ERROR]: java.lang.NoSuchMethodException: net.dries007.tfc.world.feature.tree.ForestFeature.getTree(net.dries007.tfc.world.chunkdata.ChunkData,net.minecraft.util.RandomSource,net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConfiguration,net.minecraft.core.BlockPos)
[02:51:24 ERROR]: at java.lang.Class.getDeclaredMethod(Class.java:2675)
[02:51:24 ERROR]: at java.lang.reflect.Method.invoke(Method.java:568)
[02:51:24 ERROR]: at …rhino.MemberBox.invoke(MemberBox.java:160)
[02:51:24 ERROR]: at …rhino.NativeJavaMethod.call(NativeJavaMethod.java:463)
[02:51:24 ERROR]: at …rhino.Interpreter.interpretLoop(Interpreter.java:986)
[02:51:24 ERROR]: at …rhino.Interpreter.interpret(Interpreter.java:370)
[02:51:24 ERROR]: at …rhino.InterpretedFunction.call(InterpretedFunction.java:72)
[02:51:24 ERROR]: at …rhino.Context.callSync(Context.java:1290)
[02:51:24 ERROR]: at …rhino.ArrowFunction.call(ArrowFunction.java:42)
[02:51:24 ERROR]: at …rhino.Interpreter.interpretLoop(Interpreter.java:986)
[02:51:24 ERROR]: at …rhino.Interpreter.interpret(Interpreter.java:370)
[02:51:24 ERROR]: at …rhino.InterpretedFunction.call(InterpretedFunction.java:72)
[02:51:24 ERROR]: at …rhino.Context.callSync(Context.java:1290)
[02:51:24 ERROR]: at …rhino.Context.doTopCall(Context.java:1307)
[02:51:24 ERROR]: at …rhino.InterpretedFunction.call(InterpretedFunction.java:70)
[02:51:24 ERROR]: at …rhino.Context.callSync(Context.java:1290)
[02:51:24 ERROR]: at …rhino.ArrowFunction.call(ArrowFunction.java:42)
[02:51:24 ERROR]: at …rhino.Context.callSync(Context.java:1290)
[02:51:24 ERROR]: at …rhino.InterfaceAdapter.invoke(InterfaceAdapter.java:125)
[02:51:24 ERROR]: at …rhino.VMBridge.lambda$newInterfaceProxy$0(VMBridge.java:74)
[02:51:24 ERROR]: at TRANSFORMER/jdk.proxy3/jdk.proxy3.$Proxy88.onEvent(Unknown Source)
[02:51:24 ERROR]: at …kubejs.event.EventHandlerContainer.handle(EventHandlerContainer.java:39)
[02:51:24 ERROR]: at …kubejs.event.EventHandler.postToHandlers(EventHandler.java:304)
[02:51:24 ERROR]: at …kubejs.event.EventHandler.post(EventHandler.java:272)
[02:51:24 ERROR]: at …kubejs.event.EventHandler.post(EventHandler.java:226)
[02:51:24 ERROR]: at …kubejs.event.EventHandler.post(EventHandler.java:179)
[02:51:24 ERROR]: at net.minecraft.world.level.levelgen.structure.StructureStart.handler$bhg000$morejs$invokeEventAfterPlace(StructureStart.java:539)
[02:51:24 ERROR]: at net.minecraft.world.level.levelgen.structure.StructureStart.m_226850_(StructureStart.java:94)
[02:51:24 ERROR]: at net.dries007.tfc.world.TFCChunkGenerator.lambda$applyBiomeDecoration$13(TFCChunkGenerator.java:338)
[02:51:24 ERROR]: at MC-BOOTSTRAP/[email protected]/com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
[02:51:24 ERROR]: at net.dries007.tfc.world.TFCChunkGenerator.m_213609_(TFCChunkGenerator.java:338)
[02:51:24 ERROR]: at net.minecraft.world.level.chunk.ChunkStatus.m_279978_(ChunkStatus.java:92)
[02:51:24 ERROR]: at net.minecraft.world.level.chunk.ChunkStatus$SimpleGenerationTask.m_214024_(ChunkStatus.java:281)
[02:51:24 ERROR]: at net.minecraft.world.level.chunk.ChunkStatus.m_280308_(ChunkStatus.java:217)
[02:51:24 ERROR]: at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$27(ChunkMap.java:651)
[02:51:24 ERROR]: at MC-BOOTSTRAP/[email protected]/com.mojang.datafixers.util.Either$Left.map(Either.java:38)
[02:51:24 ERROR]: at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$29(ChunkMap.java:642)
[02:51:24 ERROR]: at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
[02:51:24 ERROR]: at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
[02:51:24 ERROR]: at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62)
[02:51:24 ERROR]: at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91)
[02:51:24 ERROR]: at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146)
[02:51:24 ERROR]: at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102)
[02:51:24 INFO]: worldgen/structures.js#164: event id is minecraft:mineshaft
[02:51:24 INFO]: worldgen/structures.js#165: event id is minecraft:mineshaft
[02:51:24 ERROR]: Error in 'MoreJSEvents.structureAfterPlace': net.dries007.tfc.world.feature.tree.ForestFeature.getTree(net.dries007.tfc.world.chunkdata.ChunkData,net.minecraft.util.RandomSource,net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConfiguration,net.minecraft.core.BlockPos)
[02:51:24 ERROR]: java.lang.NoSuchMethodException: net.dries007.tfc.world.feature.tree.ForestFeature.getTree(net.dries007.tfc.world.chunkdata.ChunkData,net.minecraft.util.RandomSource,net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConfiguration,net.minecraft.core.BlockPos)
[02:51:24 ERROR]: at java.lang.Class.getDeclaredMethod(Class.java:2675)
[02:51:24 ERROR]: at java.lang.reflect.Method.invoke(Method.java:568)
[02:51:24 ERROR]: at …rhino.MemberBox.invoke(MemberBox.java:160)
[02:51:24 ERROR]: at …rhino.NativeJavaMethod.call(NativeJavaMethod.java:463)
[02:51:24 ERROR]: at …rhino.Interpreter.interpretLoop(Interpreter.java:986)
[02:51:24 ERROR]: at …rhino.Interpreter.interpret(Interpreter.java:370)
[02:51:24 ERROR]: at …rhino.InterpretedFunction.call(InterpretedFunction.java:72)
[02:51:24 ERROR]: at …rhino.Context.callSync(Context.java:1290)
[02:51:24 ERROR]: at …rhino.ArrowFunction.call(ArrowFunction.java:42)
[02:51:24 ERROR]: at …rhino.Interpreter.interpretLoop(Interpreter.java:986)
[02:51:24 ERROR]: at …rhino.Interpreter.interpret(Interpreter.java:370)
[02:51:24 ERROR]: at …rhino.InterpretedFunction.call(InterpretedFunction.java:72)
[02:51:24 ERROR]: at …rhino.Context.callSync(Context.java:1290)
[02:51:24 ERROR]: at …rhino.Context.doTopCall(Context.java:1307)
[02:51:24 ERROR]: at …rhino.InterpretedFunction.call(InterpretedFunction.java:70)
[02:51:24 ERROR]: at …rhino.Context.callSync(Context.java:1290)
[02:51:24 ERROR]: at …rhino.ArrowFunction.call(ArrowFunction.java:42)
[02:51:24 ERROR]: at …rhino.Context.callSync(Context.java:1290)
[02:51:24 ERROR]: at …rhino.InterfaceAdapter.invoke(InterfaceAdapter.java:125)
[02:51:24 ERROR]: at …rhino.VMBridge.lambda$newInterfaceProxy$0(VMBridge.java:74)
[02:51:24 ERROR]: at TRANSFORMER/jdk.proxy3/jdk.proxy3.$Proxy88.onEvent(Unknown Source)
[02:51:24 ERROR]: at …kubejs.event.EventHandlerContainer.handle(EventHandlerContainer.java:39)
[02:51:24 ERROR]: at …kubejs.event.EventHandler.postToHandlers(EventHandler.java:304)
[02:51:24 ERROR]: at …kubejs.event.EventHandler.post(EventHandler.java:272)
[02:51:24 ERROR]: at …kubejs.event.EventHandler.post(EventHandler.java:226)
[02:51:24 ERROR]: at …kubejs.event.EventHandler.post(EventHandler.java:179)
[02:51:24 ERROR]: at net.minecraft.world.level.levelgen.structure.StructureStart.handler$bhg000$morejs$invokeEventAfterPlace(StructureStart.java:539)
[02:51:24 ERROR]: at net.minecraft.world.level.levelgen.structure.StructureStart.m_226850_(StructureStart.java:94)
[02:51:24 ERROR]: at net.dries007.tfc.world.TFCChunkGenerator.lambda$applyBiomeDecoration$13(TFCChunkGenerator.java:338)
[02:51:24 ERROR]: at MC-BOOTSTRAP/[email protected]/com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
[02:51:24 ERROR]: at net.dries007.tfc.world.TFCChunkGenerator.m_213609_(TFCChunkGenerator.java:338)
[02:51:24 ERROR]: at net.minecraft.world.level.chunk.ChunkStatus.m_279978_(ChunkStatus.java:92)
[02:51:24 ERROR]: at net.minecraft.world.level.chunk.ChunkStatus$SimpleGenerationTask.m_214024_(ChunkStatus.java:281)
[02:51:24 ERROR]: at net.minecraft.world.level.chunk.ChunkStatus.m_280308_(ChunkStatus.java:217)
[02:51:24 ERROR]: at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$27(ChunkMap.java:651)
[02:51:24 ERROR]: at MC-BOOTSTRAP/[email protected]/com.mojang.datafixers.util.Either$Left.map(Either.java:38)
[02:51:24 ERROR]: at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$29(ChunkMap.java:642)
[02:51:24 ERROR]: at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
[02:51:24 ERROR]: at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
[02:51:24 ERROR]: at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62)
[02:51:24 ERROR]: at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91)
[02:51:24 ERROR]: at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146)
[02:51:24 ERROR]: at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102)

commented

I found error in custom kubejs/server-scripts for worldgen