Package net.minecraft.world.biome.source
Class CheckerboardBiomeSource
java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.CheckerboardBiomeSource
- All Implemented Interfaces:
BiomeAccess.Storage
public class CheckerboardBiomeSource extends BiomeSource
-
Field Summary
Fields Modifier and Type Field Description private List<Supplier<Biome>>biomeArraystatic com.mojang.serialization.Codec<CheckerboardBiomeSource>CODECprivate intgridSizeprivate intscaleFields inherited from class net.minecraft.world.biome.source.BiomeSource
biomes, structureFeatures, topMaterials -
Constructor Summary
Constructors Constructor Description CheckerboardBiomeSource(List<Supplier<Biome>> biomeArray, int size) -
Method Summary
Modifier and Type Method Description BiomegetBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)protected com.mojang.serialization.Codec<? extends BiomeSource>getCodec()BiomeSourcewithSeed(long seed)Methods inherited from class net.minecraft.world.biome.source.BiomeSource
getBiomes, getBiomesInArea, getTopMaterials, hasStructureFeature, locateBiome, locateBiomeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
method_31609
-
Field Details
-
CODEC
-
biomeArray
-
gridSize
private final int gridSize -
scale
private final int scale
-
-
Constructor Details
-
CheckerboardBiomeSource
-
-
Method Details
-
getCodec
- Specified by:
getCodecin classBiomeSource
-
withSeed
- Specified by:
withSeedin classBiomeSource
-
getBiomeForNoiseGen
-