public class CheckerboardBiomeSource extends BiomeSource
Modifier and Type | Field and Description |
---|---|
private List<Supplier<Biome>> |
biomeArray |
static com.mojang.serialization.Codec<CheckerboardBiomeSource> |
CODEC |
private int |
field_24716 |
private int |
gridSize |
biomes, structureFeatures, topMaterials
Constructor and Description |
---|
CheckerboardBiomeSource(List<Supplier<Biome>> list,
int size) |
Modifier and Type | Method and Description |
---|---|
Biome |
getBiomeForNoiseGen(int biomeX,
int biomeY,
int biomeZ) |
protected com.mojang.serialization.Codec<? extends BiomeSource> |
getCodec() |
BiomeSource |
withSeed(long seed) |
getBiomes, getBiomesInArea, getTopMaterials, hasStructureFeature, locateBiome, locateBiome
public static final com.mojang.serialization.Codec<CheckerboardBiomeSource> CODEC
private final int gridSize
private final int field_24716
protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
getCodec
in class BiomeSource
@Environment(value=CLIENT) public BiomeSource withSeed(long seed)
withSeed
in class BiomeSource
public Biome getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)