// Path: src/main/java/net/dries007/tfc/seedmaker/datatypes/Drainage.java
// public enum Drainage
// {
//     DRAINAGE_NONE(0),
//     DRAINAGE_VERY_POOR(1),
//     DRAINAGE_POOR(2),
//     DRAINAGE_NORMAL(3),
//     DRAINAGE_GOOD(4),
//     DRAINAGE_VERY_GOOD(5);
// 
//     public static final int MIN = DRAINAGE_NONE.id;
//     public static final int MAX = DRAINAGE_VERY_GOOD.id;
// 
//     public final int id;
// 
//     Drainage(final int id)
//     {
//         this.id = id;
//     }
// }


import net.dries007.tfc.seedmaker.datatypes.Drainage;
package net.dries007.tfc.seedmaker.genlayers;


public class LayerDrainageInit extends Layer
{
    public LayerDrainageInit(final long seed)
    {
        super(seed);
    }

    @Override
    public int[] getInts(final int x, final int y, final int sizeX, final int sizeY)
    {
        final int[] outs = new int[sizeX * sizeY];

        for (int yy = 0; yy < sizeY; ++yy)
        {
            for (int xx = 0; xx < sizeX; ++xx)
            {
                this.initChunkSeed(x + xx, y + yy);
// Path: src/main/java/net/dries007/tfc/seedmaker/datatypes/Drainage.java
// public enum Drainage
// {
//     DRAINAGE_NONE(0),
//     DRAINAGE_VERY_POOR(1),
//     DRAINAGE_POOR(2),
//     DRAINAGE_NORMAL(3),
//     DRAINAGE_GOOD(4),
//     DRAINAGE_VERY_GOOD(5);
// 
//     public static final int MIN = DRAINAGE_NONE.id;
//     public static final int MAX = DRAINAGE_VERY_GOOD.id;
// 
//     public final int id;
// 
//     Drainage(final int id)
//     {
//         this.id = id;
//     }
// }


// Path: src/main/java/net/dries007/tfc/seedmaker/genlayers/LayerDrainageInit.java
import net.dries007.tfc.seedmaker.datatypes.Drainage;

package net.dries007.tfc.seedmaker.genlayers;


public class LayerDrainageInit extends Layer
{
    public LayerDrainageInit(final long seed)
    {
        super(seed);
    }

    @Override
    public int[] getInts(final int x, final int y, final int sizeX, final int sizeY)
    {
        final int[] outs = new int[sizeX * sizeY];

        for (int yy = 0; yy < sizeY; ++yy)
        {
            for (int xx = 0; xx < sizeX; ++xx)
            {
                this.initChunkSeed(x + xx, y + yy);
                outs[xx + yy * sizeX] = Drainage.MIN + this.nextInt(5);