Introduced correctly spiral generation

This commit is contained in:
Leonardo
2021-09-21 18:35:48 +02:00
parent 46bdf5763f
commit bda963036d
5 changed files with 83 additions and 27 deletions
@@ -174,6 +174,7 @@ public class LodConfig
public ForgeConfigSpec.EnumValue<VerticalQuality> lodQualityMode;
public ForgeConfigSpec.EnumValue<HorizontalResolution> generationResolution;
public ForgeConfigSpec.EnumValue<DistanceGenerationMode> distanceGenerationMode;
public ForgeConfigSpec.EnumValue<GenerationPriority> generationPriority;
public ForgeConfigSpec.BooleanValue allowUnstableFeatureGeneration;
public ForgeConfigSpec.EnumValue<DistanceQualityDropOff> lodDistanceCalculatorType;
@@ -211,6 +212,18 @@ public class LodConfig
+ " quadratically to the distance of the player \n")
.defineEnum("lodDistanceComputation", DistanceQualityDropOff.LINEAR);
generationPriority = builder
.comment("\n\n"
+ " " + GenerationPriority.FAR + " \n"
+ " the fake chunk are generated from smallest to biggest\n"
+ " with a small priority for far regions \n"
+ "\n"
+ " " + GenerationPriority.NORMAL + " \n"
+ " the fake chunk are generated around the player \n"
+ " in spiral similar to vanilla minecraft \n")
.defineEnum("Generation priority", GenerationPriority.NORMAL);
distanceGenerationMode = builder
.comment("\n\n"
+ " Note: The times listed here are the amount of time it took \n"