OrderedChaos-Dev / ProjectVibrantJourneys

Minecraft mod that expands in all directions
37 stars 15 forks source link

Every time a new nether portal is open and new nether chunks are generating it crashes the server #196

Closed WFPhantom closed 1 week ago

WFPhantom commented 1 year ago

Crash is caused by PV:J setting blocks on far chunks e.g Detected setBlock in a far chunk [-287, 214], pos: MutableBlockPos{x=-4592, y=64, z=3438}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / projectvibrantjourneys:charred_bones] That is getting spammed a lot before I just get A single server tick took 60.00 seconds (should be max 0.05). log before going in nether (just before the crash) https://pastebin.com/gDBtauSY

SiverDX commented 1 year ago

It should not cause crash just spam the log file

These charred_bones are also not placed using setBlock(...) in the Feature classes, they come from somewhere else

[27May2023 21:28:34.242] [Worker-Main-9/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: -16 | z: 11 | xResult: 1 | zResult: 1 | chunkPos: [-17, 10] | writeRadiusCutoff: 1
[27May2023 21:28:35.570] [Worker-Main-7/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: -16 | z: -11 | xResult: 1 | zResult: 1 | chunkPos: [-17, -12] | writeRadiusCutoff: 1
[27May2023 21:28:35.570] [Worker-Main-7/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: -16 | z: -11 | xResult: 1 | zResult: 1 | chunkPos: [-17, -12] | writeRadiusCutoff: 1
[27May2023 21:28:35.570] [Worker-Main-7/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: -16 | z: -11 | xResult: 1 | zResult: 1 | chunkPos: [-17, -12] | writeRadiusCutoff: 1
[27May2023 21:28:35.570] [Worker-Main-7/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: -16 | z: -11 | xResult: 1 | zResult: 1 | chunkPos: [-17, -12] | writeRadiusCutoff: 1
[27May2023 21:28:35.570] [Worker-Main-7/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: -16 | z: -11 | xResult: 1 | zResult: 1 | chunkPos: [-17, -12] | writeRadiusCutoff: 1
[27May2023 21:28:35.643] [Worker-Main-5/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 17 | z: 9 | xResult: 0 | zResult: 1 | chunkPos: [17, 8] | writeRadiusCutoff: 1
[27May2023 21:28:35.643] [Worker-Main-5/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 17 | z: 8 | xResult: 0 | zResult: 0 | chunkPos: [17, 8] | writeRadiusCutoff: 1
[27May2023 21:28:35.689] [Worker-Main-1/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 17 | z: 15 | xResult: 0 | zResult: 1 | chunkPos: [17, 14] | writeRadiusCutoff: 1
[27May2023 21:28:35.689] [Worker-Main-1/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 17 | z: 15 | xResult: 0 | zResult: 1 | chunkPos: [17, 14] | writeRadiusCutoff: 1
[27May2023 21:28:35.689] [Worker-Main-1/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 18 | z: 15 | xResult: 1 | zResult: 1 | chunkPos: [17, 14] | writeRadiusCutoff: 1
[27May2023 21:28:35.689] [Worker-Main-1/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 18 | z: 15 | xResult: 1 | zResult: 1 | chunkPos: [17, 14] | writeRadiusCutoff: 1
[27May2023 21:28:35.689] [Worker-Main-1/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 18 | z: 15 | xResult: 1 | zResult: 1 | chunkPos: [17, 14] | writeRadiusCutoff: 1
[27May2023 21:28:36.114] [Worker-Main-11/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 11 | z: 17 | xResult: 0 | zResult: 0 | chunkPos: [11, 17] | writeRadiusCutoff: 1
[27May2023 21:28:36.114] [Worker-Main-11/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 11 | z: 18 | xResult: 0 | zResult: 1 | chunkPos: [11, 17] | writeRadiusCutoff: 1
[27May2023 21:28:36.114] [Worker-Main-11/DEBUG] [com.projectvibrantjourneys.core.ProjectVibrantJourneys/]: Feature: block.projectvibrantjourneys.charred_bones x: 11 | z: 17 | xResult: 0 | zResult: 0 | chunkPos: [11, 17] | writeRadiusCutoff: 1
[27May2023 21:28:36.624] [Worker-Main-12/ERROR] [net.minecraft.Util/]: Detected setBlock in a far chunk [19, -15], pos: MutableBlockPos{x=305, y=183, z=-233}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / projectvibrantjourneys:charred_bones]
[27May2023 21:28:36.624] [Worker-Main-12/ERROR] [net.minecraft.Util/]: Detected setBlock in a far chunk [19, -15], pos: MutableBlockPos{x=305, y=182, z=-231}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / projectvibrantjourneys:charred_bones]
[27May2023 21:28:36.624] [Worker-Main-12/ERROR] [net.minecraft.Util/]: Detected setBlock in a far chunk [19, -15], pos: MutableBlockPos{x=304, y=182, z=-228}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / projectvibrantjourneys:charred_bones]
[27May2023 21:28:36.625] [Worker-Main-12/ERROR] [net.minecraft.Util/]: Detected setBlock in a far chunk [19, -15], pos: MutableBlockPos{x=306, y=182, z=-228}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / projectvibrantjourneys:charred_bones]
[27May2023 21:28:36.625] [Worker-Main-12/ERROR] [net.minecraft.Util/]: Detected setBlock in a far chunk [19, -15], pos: MutableBlockPos{x=304, y=180, z=-226}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / projectvibrantjourneys:charred_bones]
[27May2023 21:28:36.625] [Worker-Main-12/ERROR] [net.minecraft.Util/]: Detected setBlock in a far chunk [19, -15], pos: MutableBlockPos{x=306, y=183, z=-232}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / projectvibrantjourneys:charred_bones]
[27May2023 21:28:36.625] [Worker-Main-12/ERROR] [net.minecraft.Util/]: Detected setBlock in a far chunk [19, -15], pos: MutableBlockPos{x=305, y=182, z=-230}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / projectvibrantjourneys:charred_bones]
[27May2023 21:28:36.625] [Worker-Main-12/ERROR] [net.minecraft.Util/]: Detected setBlock in a far chunk [19, -15], pos: MutableBlockPos{x=306, y=181, z=-233}, status: minecraft:features, currently generating: ResourceKey[minecraft:worldgen/placed_feature / projectvibrantjourneys:charred_bones]
WFPhantom commented 1 year ago

IIRC removing PV:J fixed it back then so i'm not sure whats going on might be mod compat