<commit_before>--- ../src-base/minecraft/net/minecraft/world/gen/layer/GenLayer.java
+++ ../src-work/minecraft/net/minecraft/world/gen/layer/GenLayer.java
@@ -52,12 +52,12 @@
             i = 6;
         }
 
+        i = getModdedBiomeSize(p_180781_2_, j);
+
         GenLayer lvt_8_1_ = GenLayerZoom.func_75915_a(1000L, genlayer4, 0);
         GenLayerRiverInit genlayerriverinit = new GenLayerRiverInit(100L, lvt_8_1_);
-        GenLayerBiome lvt_9_1_ = new GenLayerBiome(200L, genlayer4, p_180781_2_, p_180781_3_);
-        GenLayer genlayer6 = GenLayerZoom.func_75915_a(1000L, lvt_9_1_, 2);
-        GenLayerBiomeEdge genlayerbiomeedge = new GenLayerBiomeEdge(1000L, genlayer6);
         GenLayer lvt_10_1_ = GenLayerZoom.func_75915_a(1000L, genlayerriverinit, 2);
+        GenLayer genlayerbiomeedge = p_180781_2_.getBiomeLayer(p_180781_0_, genlayer4, p_180781_3_);
         GenLayer genlayerhills = new GenLayerHills(1000L, genlayerbiomeedge, lvt_10_1_);
         GenLayer genlayer5 = GenLayerZoom.func_75915_a(1000L, genlayerriverinit, 2);
         genlayer5 = GenLayerZoom.func_75915_a(1000L, genlayer5, j);
@@ -191,7 +191,7 @@
 
     protected static boolean func_151618_b(int p_151618_0_)
     {<commit_msg>Fixed incorrect patch to GenLayer, causing large vanilla biomes to not work properly.<commit_after>--- ../src-base/minecraft/net/minecraft/world/gen/layer/GenLayer.java
+++ ../src-work/minecraft/net/minecraft/world/gen/layer/GenLayer.java
@@ -52,12 +52,12 @@
             i = 6;
         }
 
+        i = getModdedBiomeSize(p_180781_2_, i);
+
         GenLayer lvt_8_1_ = GenLayerZoom.func_75915_a(1000L, genlayer4, 0);
         GenLayerRiverInit genlayerriverinit = new GenLayerRiverInit(100L, lvt_8_1_);
-        GenLayerBiome lvt_9_1_ = new GenLayerBiome(200L, genlayer4, p_180781_2_, p_180781_3_);
-        GenLayer genlayer6 = GenLayerZoom.func_75915_a(1000L, lvt_9_1_, 2);
-        GenLayerBiomeEdge genlayerbiomeedge = new GenLayerBiomeEdge(1000L, genlayer6);
         GenLayer lvt_10_1_ = GenLayerZoom.func_75915_a(1000L, genlayerriverinit, 2);
+        GenLayer genlayerbiomeedge = p_180781_2_.getBiomeLayer(p_180781_0_, genlayer4, p_180781_3_);
         GenLayer genlayerhills = new GenLayerHills(1000L, genlayerbiomeedge, lvt_10_1_);
         GenLayer genlayer5 = GenLayerZoom.func_75915_a(1000L, genlayerriverinit, 2);
         genlayer5 = GenLayerZoom.func_75915_a(1000L, genlayer5, j);
@@ -191,7 +191,7 @@
 
     protected static boolean func_151618_b(int p_151618_0_)
     {
{'fraction_non_alphanumeric': 0.10534716679968077, 'fraction_numerical': 0.12529928172386273, 'mean_word_length': 3.7661596958174903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2892919', 'n_tokens_mistral': 1115, 'n_tokens_neox': 949, 'n_words': 150}