[vintage] Increase blend radius to 14 and fix compile of 1.12.2 #24
No files matched your search
@@ -25,7 +25,7 @@ public abstract class BiomeColorCache<BIOME, RESOLVER> {
|
||||
|
||||
public BiomeColorCache(PositionalSupplier<BIOME> biomeData, int blendRadius) {
|
||||
this.biomeData = biomeData;
|
||||
this.blendRadius = Math.min(7, blendRadius);
|
||||
this.blendRadius = Math.min(14, blendRadius);
|
||||
|
||||
this.sizeXZ = 16 + ((NEIGHBOR_BLOCK_RADIUS + this.blendRadius) * 2);
|
||||
this.sizeY = 16 + (NEIGHBOR_BLOCK_RADIUS * 2);
|
||||
|
||||
@@ -209,7 +209,7 @@ public class SodiumGameOptionPages {
|
||||
.setId(StandardOptions.Option.BIOME_BLEND.cast())
|
||||
.setName(TextComponent.translatable("sodium.options.biomeBlendRadius"))
|
||||
.setTooltip(TextComponent.translatable("sodium.options.biome_blend.tooltip"))
|
||||
.setControl(option -> new SliderControl(option, 0, 7, 1, ControlValueFormatter.biomeBlend()))
|
||||
.setControl(option -> new SliderControl(option, 0, 14, 1, ControlValueFormatter.biomeBlend()))
|
||||
.setBinding((opts, value) -> opts.quality.legacyBiomeBlendRadius = value, opts -> opts.quality.legacyBiomeBlendRadius)
|
||||
.setImpact(OptionImpact.LOW)
|
||||
.setFlags(OptionFlag.REQUIRES_RENDERER_RELOAD)
|
||||
|
||||
@@ -15,7 +15,7 @@ dependencies {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
exclusiveContent {
|
||||
forRepository { maven("https://maven.neoforged.net/") }
|
||||
forRepository { maven("https://maven.neoforged.net/releases") }
|
||||
filter {
|
||||
includeGroup("net.neoforged")
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ pluginManagement {
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
exclusiveContent {
|
||||
forRepository { maven("https://maven.neoforged.net/") }
|
||||
forRepository { maven("https://maven.neoforged.net/releases") }
|
||||
filter {
|
||||
includeGroup("net.neoforged")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user