public class TheEndBiomeSource extends BiomeSource
| Modifier and Type | Field and Description |
|---|---|
private Biome |
barrensBiome |
private Registry<Biome> |
biomeRegistry |
private Biome |
centerBiome |
static com.mojang.serialization.Codec<TheEndBiomeSource> |
CODEC |
private Biome |
highlandsBiome |
private Biome |
midlandsBiome |
private SimplexNoiseSampler |
noise |
private long |
seed |
private Biome |
smallIslandsBiome |
biomes, structureFeatures, topMaterials| Modifier | Constructor and Description |
|---|---|
|
TheEndBiomeSource(Registry<Biome> biomeRegistry,
long seed) |
private |
TheEndBiomeSource(Registry<Biome> biomeRegistry,
long seed,
Biome centerBiome,
Biome highlandsBiome,
Biome midlandsBiome,
Biome smallIslandsBiome,
Biome barrensBiome) |
| Modifier and Type | Method and Description |
|---|---|
Biome |
getBiomeForNoiseGen(int biomeX,
int biomeY,
int biomeZ) |
protected com.mojang.serialization.Codec<? extends BiomeSource> |
getCodec() |
static float |
getNoiseAt(SimplexNoiseSampler simplexNoiseSampler,
int int2,
int int3) |
boolean |
matches(long seed) |
BiomeSource |
withSeed(long seed) |
getBiomes, getBiomesInArea, getTopMaterials, hasStructureFeature, locateBiome, locateBiomepublic static final com.mojang.serialization.Codec<TheEndBiomeSource> CODEC
private final SimplexNoiseSampler noise
private final long seed
private final Biome centerBiome
private final Biome highlandsBiome
private final Biome midlandsBiome
private final Biome smallIslandsBiome
private final Biome barrensBiome
protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
getCodec in class BiomeSource@Environment(value=CLIENT) public BiomeSource withSeed(long seed)
withSeed in class BiomeSourcepublic Biome getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
public boolean matches(long seed)
public static float getNoiseAt(SimplexNoiseSampler simplexNoiseSampler, int int2, int int3)