Newer
Older
void-pack-super-server / work / decompile-ee3ecae0 / net / minecraft / server / BiomeLayoutCheckerboardConfiguration.java
Simon Lindgren on 26 Mar 2020 665 bytes first commit
package net.minecraft.server;

public class BiomeLayoutCheckerboardConfiguration implements BiomeLayoutConfiguration {

    private BiomeBase[] a;
    private int b;

    public BiomeLayoutCheckerboardConfiguration(WorldData worlddata) {
        this.a = new BiomeBase[]{Biomes.PLAINS};
        this.b = 1;
    }

    public BiomeLayoutCheckerboardConfiguration a(BiomeBase[] abiomebase) {
        this.a = abiomebase;
        return this;
    }

    public BiomeLayoutCheckerboardConfiguration a(int i) {
        this.b = i;
        return this;
    }

    public BiomeBase[] a() {
        return this.a;
    }

    public int b() {
        return this.b;
    }
}