<commit_before>package com.khorn.terraincontrol.biomelayers.layers;

import com.khorn.terraincontrol.biomelayers.ArraysCache;
import com.khorn.terraincontrol.LocalBiome;


public class LayerBiomeInBiome extends Layer
{
    public LocalBiome biome;
    public int chance = 10;
    public boolean inOcean = false;

    public boolean[] BiomeIsles = new boolean[128];


    public LayerBiomeInBiome(long paramLong, Layer paramGenLayer)
    {
        super(paramLong);
        this.child = paramGenLayer;
        for (int i = 0; i < BiomeIsles.length; i++)
            BiomeIsles[i] = false;

    }

    @Override
    public int[] GetBiomes(int cacheId, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
    {
        int i = paramInt1 - 1;
        int j = paramInt2 - 1;
        int k = paramInt3 + 2;
        int m = paramInt4 + 2;
        int[] arrayOfInt1 = this.child.GetBiomes(cacheId, i, j, k, m);

        int[] arrayOfInt2 = ArraysCache.GetArray(cacheId, paramInt3 * paramInt4);

        for (int n = 0; n < paramInt4; n++)
        {
            for (int i1 = 0; i1 < paramInt3; i1++)
            {
                SetSeed(i1 + paramInt1, n + paramInt2);<commit_msg>Properly fix #99 - biomeIDs > 128<commit_after>package com.khorn.terraincontrol.biomelayers.layers;

import com.khorn.terraincontrol.biomelayers.ArraysCache;
import com.khorn.terraincontrol.LocalBiome;


public class LayerBiomeInBiome extends Layer
{
    public LocalBiome biome;
    public int chance = 10;
    public boolean inOcean = false;

    public boolean[] BiomeIsles = new boolean[256];


    public LayerBiomeInBiome(long paramLong, Layer paramGenLayer)
    {
        super(paramLong);
        this.child = paramGenLayer;
        for (int i = 0; i < BiomeIsles.length; i++)
            BiomeIsles[i] = false;

    }

    @Override
    public int[] GetBiomes(int cacheId, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
    {
        int i = paramInt1 - 1;
        int j = paramInt2 - 1;
        int k = paramInt3 + 2;
        int m = paramInt4 + 2;
        int[] arrayOfInt1 = this.child.GetBiomes(cacheId, i, j, k, m);

        int[] arrayOfInt2 = ArraysCache.GetArray(cacheId, paramInt3 * paramInt4);

        for (int n = 0; n < paramInt4; n++)
        {
            for (int i1 = 0; i1 < paramInt3; i1++)
            {
                SetSeed(i1 + paramInt1, n + paramInt2);
{'fraction_non_alphanumeric': 0.10201511335012595, 'fraction_numerical': 0.028967254408060455, 'mean_word_length': 2.4636627906976742, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 4, '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': '4743181', 'n_tokens_mistral': 860, 'n_tokens_neox': 791, 'n_words': 209}