Repaired the index

This commit is contained in:
richard committed 2026-10-27 10:10:43 +01:00
commit 01817fbec1
19 files changed
+927

No files matched your search

@@ -0,0 +1,55 @@
package dev.lumareth.improvedAerodynamics;
import net.minecraftforge.common.ForgeConfigSpec;
public final class Config {
private static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder();
static {
BUILDER.push("terrainStreaming");
}
public static final ForgeConfigSpec.DoubleValue LOOKAHEAD_SECONDS = BUILDER
.comment("How many seconds of flight ahead of each ship terrain is loaded for")
.defineInRange("lookaheadSeconds", 3.0D, 0.5D, 20.0D);
public static final ForgeConfigSpec.DoubleValue MIN_SHIP_SPEED = BUILDER
.comment("Ships slower than this (blocks per second) are left to normal player chunk loading")
.defineInRange("minShipSpeed", 8.0D, 0.0D, 1000.0D);
public static final ForgeConfigSpec.IntValue CORRIDOR_MARGIN_CHUNKS = BUILDER
.comment("Extra chunks loaded on each side of a ship's predicted path")
.defineInRange("corridorMarginChunks", 1, 0, 8);
public static final ForgeConfigSpec.IntValue MAX_NEW_CHUNKS_PER_TICK = BUILDER
.comment("Upper limit of chunks newly requested (and newly given an air placeholder) per tick, protects the tick rate")
.defineInRange("maxNewChunksPerTick", 64, 1, 1024);
static {
BUILDER.pop();
BUILDER.push("airPlaceholder");
}
public static final ForgeConfigSpec.BooleanValue ENABLE_AIR_PLACEHOLDER = BUILDER
.comment("Valkyrien Skies treats terrain it has not received yet as solid, so ships hit a wall at unloaded chunks.",
"When enabled, chunks on a ship's path that are not loaded yet are treated as air above the estimated",
"world generation surface until the real terrain arrives. Everything below that stays solid.")
.define("enableAirPlaceholder", false);
public static final ForgeConfigSpec.IntValue PLACEHOLDER_SURFACE_MARGIN = BUILDER
.comment("Blocks above the estimated surface that stay solid, covers trees and structures")
.defineInRange("placeholderSurfaceMargin", 32, 0, 256);
public static final ForgeConfigSpec.IntValue PLACEHOLDER_RELEASE_TICKS = BUILDER
.comment("Ticks a placeholder chunk stays air after no ship needs it anymore, then it goes back to solid")
.defineInRange("placeholderReleaseTicks", 100, 20, 6000);
static {
BUILDER.pop();
}
static final ForgeConfigSpec SPEC = BUILDER.build();
private Config() {
}
}