Hi! I'm using my own chunk generator to create my own minigame world, and I make
But the noise computation still appears and costs a lot of time. Why is that and how can I solve that?
(Version: 1.21.10, no other plugins or datapacks, only a player in my custom minigame world)
(Apologized for my broken English)

shouldGenerateNoise
returns false.But the noise computation still appears and costs a lot of time. Why is that and how can I solve that?
(Version: 1.21.10, no other plugins or datapacks, only a player in my custom minigame world)
(Apologized for my broken English)
Java:
public class RCChunkGenerator extends ChunkGenerator {
@Override
public void generateSurface(
@NotNull WorldInfo worldInfo,
@NotNull Random random,
int chunkX,
int chunkZ,
@NotNull ChunkGenerator.ChunkData chunkData) {
var themeId = chunkZ / 16;
var theme = themes.inverse().get(themeId);
if (theme == null) {
return;
}
var origin = new Vector3i(
Math.floorMod(chunkX, 16) * 16, theme.getOffset().y() - 64, Math.floorMod(chunkZ, 16) * 16);
theme.getStructure().place(chunkData, origin);
theme.getStructure().placeFloor(chunkData, origin);
}
@Override
public boolean shouldGenerateNoise() {
return false;
}
}
