[Change] Default End Generator

This commit is contained in:
Frank 2023-06-14 19:59:58 +02:00
parent 9700dc1bd0
commit c680b19655
5 changed files with 39 additions and 6 deletions

View file

@ -20,7 +20,7 @@
"config": {
"barrens_biomes_size": 256,
"center_biomes_size": 256,
"generator_version": "paulevs",
"generator_version": "vanilla",
"inner_void_radius_squared": 1048576,
"land_biomes_size": 256,
"map_type": "hex",

View file

@ -20,7 +20,7 @@
"config": {
"barrens_biomes_size": 512,
"center_biomes_size": 256,
"generator_version": "paulevs",
"generator_version": "vanilla",
"inner_void_radius_squared": 1048576,
"land_biomes_size": 1024,
"map_type": "hex",

View file

@ -20,7 +20,7 @@
"config": {
"barrens_biomes_size": 256,
"center_biomes_size": 256,
"generator_version": "paulevs",
"generator_version": "vanilla",
"inner_void_radius_squared": 1048576,
"land_biomes_size": 256,
"map_type": "hex",

View file

@ -67,7 +67,40 @@ public class BCLEndBiomeSourceConfig implements BiomeSourceConfig<BCLibEndBiomeS
MINECRAFT_18.landBiomesSize,
MINECRAFT_18.barrensBiomesSize
);
public static final BCLEndBiomeSourceConfig DEFAULT = MINECRAFT_18;
public static final BCLEndBiomeSourceConfig MINECRAFT_20 = new BCLEndBiomeSourceConfig(
EndBiomeMapType.HEX,
EndBiomeGeneratorType.VANILLA,
BCLib.RUNS_NULLSCAPE ? false : true,
MINECRAFT_17.innerVoidRadiusSquared,
MINECRAFT_17.centerBiomesSize,
MINECRAFT_17.voidBiomesSize,
MINECRAFT_17.landBiomesSize,
MINECRAFT_17.barrensBiomesSize
);
public static final BCLEndBiomeSourceConfig MINECRAFT_20_LARGE = new BCLEndBiomeSourceConfig(
EndBiomeMapType.HEX,
EndBiomeGeneratorType.VANILLA,
BCLib.RUNS_NULLSCAPE ? false : true,
MINECRAFT_18.innerVoidRadiusSquared,
MINECRAFT_18.centerBiomesSize,
MINECRAFT_18.voidBiomesSize * 2,
MINECRAFT_18.landBiomesSize * 4,
MINECRAFT_18.barrensBiomesSize * 2
);
public static final BCLEndBiomeSourceConfig MINECRAFT_20_AMPLIFIED = new BCLEndBiomeSourceConfig(
EndBiomeMapType.HEX,
EndBiomeGeneratorType.VANILLA,
true,
MINECRAFT_18.innerVoidRadiusSquared,
MINECRAFT_18.centerBiomesSize,
MINECRAFT_18.voidBiomesSize,
MINECRAFT_18.landBiomesSize,
MINECRAFT_18.barrensBiomesSize
);
public static final BCLEndBiomeSourceConfig DEFAULT = MINECRAFT_20;
public static final Codec<BCLEndBiomeSourceConfig> CODEC = RecordCodecBuilder.create(instance -> instance
.group(

View file

@ -77,7 +77,7 @@ public class WorldPresetDataProvider extends FabricTagProvider<WorldPreset> {
amplifiedBiomeGenerator
),
amplifiedNetherContext, BCLNetherBiomeSourceConfig.MINECRAFT_18_AMPLIFIED,
ctx.endContext, BCLEndBiomeSourceConfig.MINECRAFT_18_AMPLIFIED
ctx.endContext, BCLEndBiomeSourceConfig.MINECRAFT_20_AMPLIFIED
);
}
@ -90,7 +90,7 @@ public class WorldPresetDataProvider extends FabricTagProvider<WorldPreset> {
largeBiomeGenerator
),
ctx.netherContext, BCLNetherBiomeSourceConfig.MINECRAFT_18_LARGE,
ctx.endContext, BCLEndBiomeSourceConfig.MINECRAFT_18_LARGE
ctx.endContext, BCLEndBiomeSourceConfig.MINECRAFT_20_LARGE
);
}