From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Cryptite Date: Tue, 29 Aug 2023 09:23:11 -0500 Subject: [PATCH] Biome freeze override diff --git a/src/main/java/net/minecraft/world/level/biome/Biome.java b/src/main/java/net/minecraft/world/level/biome/Biome.java index 4f9187d9d640618c40a2fa528f36b845017b4777..86372a10ab41bf0f5b7b88dc4d71c6802cd93b7d 100644 --- a/src/main/java/net/minecraft/world/level/biome/Biome.java +++ b/src/main/java/net/minecraft/world/level/biome/Biome.java @@ -76,6 +76,7 @@ public final class Biome { return long2FloatLinkedOpenHashMap; }); }); + public Boolean canFreeze = null; // Slice Biome(Biome.ClimateSettings weather, BiomeSpecialEffects effects, BiomeGenerationSettings generationSettings, MobSpawnSettings spawnSettings) { this.climateSettings = weather; @@ -138,6 +139,8 @@ public final class Biome { } public boolean shouldFreeze(LevelReader world, BlockPos pos, boolean doWaterCheck) { + if (canFreeze != null) return canFreeze; // Slice + if (this.warmEnoughToRain(pos)) { return false; } else {