2021-06-11 12:02:28 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Sudzzy <originmc@outlook.com>
|
|
|
|
Date: Wed, 2 Mar 2016 14:57:24 -0600
|
|
|
|
Subject: [PATCH] Disable ice and snow
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
|
2022-07-21 19:53:04 +00:00
|
|
|
index 64bad03c3be64d7542bb5952b248f755c71f64c0..28d6b8c5bebbbfb15ea76dea9e79e6b95978f15f 100644
|
2021-06-11 12:02:28 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/level/ServerLevel.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
|
2022-06-10 01:20:47 +00:00
|
|
|
@@ -606,7 +606,7 @@ public class ServerLevel extends Level implements WorldGenLevel {
|
2021-06-11 12:02:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
gameprofilerfiller.popPush("iceandsnow");
|
|
|
|
- if (this.random.nextInt(16) == 0) {
|
2022-06-09 08:51:45 +00:00
|
|
|
+ if (!this.paperConfig().environment.disableIceAndSnow && this.random.nextInt(16) == 0) { // Paper - Disable ice and snow
|
2021-06-11 12:02:28 +00:00
|
|
|
blockposition = this.getHeightmapPos(Heightmap.Types.MOTION_BLOCKING, this.getBlockRandomPos(j, 0, k, 15));
|
|
|
|
BlockPos blockposition1 = blockposition.below();
|
2022-03-01 05:43:03 +00:00
|
|
|
Biome biomebase = (Biome) this.getBiome(blockposition).value();
|