Class CheckerboardBiomeProvider
- java.lang.Object
-
- net.minecraft.world.biome.provider.BiomeProvider
-
- net.minecraft.world.biome.provider.CheckerboardBiomeProvider
-
- All Implemented Interfaces:
BiomeManager.IBiomeReader
public class CheckerboardBiomeProvider extends BiomeProvider
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.util.function.Supplier<Biome>>
allowedBiomes
private int
bitShift
static com.mojang.serialization.Codec<CheckerboardBiomeProvider>
CODEC
private int
size
-
Fields inherited from class net.minecraft.world.biome.provider.BiomeProvider
possibleBiomes, supportedStructures, surfaceBlocks
-
-
Constructor Summary
Constructors Constructor Description CheckerboardBiomeProvider(java.util.List<java.util.function.Supplier<Biome>> p_i231637_1_, int p_i231637_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.mojang.serialization.Codec<? extends BiomeProvider>
codec()
Biome
getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
BiomeProvider
withSeed(long p_230320_1_)
-
Methods inherited from class net.minecraft.world.biome.provider.BiomeProvider
canGenerateStructure, findBiomeHorizontal, findBiomeHorizontal, getBiomesWithin, getSurfaceBlocks, possibleBiomes
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<CheckerboardBiomeProvider> CODEC
-
allowedBiomes
private final java.util.List<java.util.function.Supplier<Biome>> allowedBiomes
-
bitShift
private final int bitShift
-
size
private final int size
-
-
Constructor Detail
-
CheckerboardBiomeProvider
public CheckerboardBiomeProvider(java.util.List<java.util.function.Supplier<Biome>> p_i231637_1_, int p_i231637_2_)
-
-
Method Detail
-
codec
protected com.mojang.serialization.Codec<? extends BiomeProvider> codec()
- Specified by:
codec
in classBiomeProvider
-
withSeed
public BiomeProvider withSeed(long p_230320_1_)
- Specified by:
withSeed
in classBiomeProvider
-
getNoiseBiome
public Biome getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
-
-