public abstract class Biome extends ForgeRegistryEntry<Biome>
修飾子とタイプ | クラスと説明 |
---|---|
static class |
Biome.Builder |
static class |
Biome.Category |
static class |
Biome.FlowerEntry |
static class |
Biome.RainType |
static class |
Biome.SpawnListEntry |
static class |
Biome.TempCategory |
修飾子とタイプ | フィールドと説明 |
---|---|
static java.util.Set<Biome> |
BIOMES |
protected java.util.Map<GenerationStage.Carving,java.util.List<ConfiguredCarver<?>>> |
carvers |
protected Biome.Category |
category |
protected float |
depth |
protected float |
downfall |
protected java.util.Map<GenerationStage.Decoration,java.util.List<ConfiguredFeature<?,?>>> |
features |
protected java.util.List<ConfiguredFeature<?,?>> |
flowers |
static PerlinNoiseGenerator |
INFO_NOISE |
static org.apache.logging.log4j.Logger |
LOGGER |
static ObjectIntIdentityMap<Biome> |
MUTATION_TO_BASE_ID_MAP |
protected java.lang.String |
parent |
protected Biome.RainType |
precipitation |
protected float |
scale |
protected java.util.Map<Structure<?>,IFeatureConfig> |
structures |
protected ConfiguredSurfaceBuilder<?> |
surfaceBuilder |
protected float |
temperature |
protected static PerlinNoiseGenerator |
TEMPERATURE_NOISE |
protected java.lang.String |
translationKey |
protected int |
waterColor |
protected int |
waterFogColor |
delegate
修飾子 | コンストラクタと説明 |
---|---|
protected |
Biome(Biome.Builder biomeBuilder) |
修飾子とタイプ | メソッドと説明 |
---|---|
<C extends ICarverConfig> |
addCarver(GenerationStage.Carving stage,
ConfiguredCarver<C> carver) |
void |
addFeature(GenerationStage.Decoration decorationStage,
ConfiguredFeature<?,?> featureIn) |
protected void |
addSpawn(EntityClassification type,
Biome.SpawnListEntry spawnListEntry) |
<C extends IFeatureConfig> |
addStructure(ConfiguredFeature<C,? extends Structure<C>> structureIn) |
void |
buildSurface(java.util.Random random,
IChunk chunkIn,
int x,
int z,
int startHeight,
double noise,
BlockState defaultBlock,
BlockState defaultFluid,
int seaLevel,
long seed) |
static <C extends ICarverConfig> |
createCarver(WorldCarver<C> carver,
C config) |
void |
decorate(GenerationStage.Decoration stage,
ChunkGenerator<? extends GenerationSettings> chunkGenerator,
IWorld worldIn,
long seed,
SharedSeedRandom random,
BlockPos pos) |
boolean |
doesSnowGenerate(IWorldReader worldIn,
BlockPos pos) |
boolean |
doesWaterFreeze(IWorldReader worldIn,
BlockPos pos) |
boolean |
doesWaterFreeze(IWorldReader worldIn,
BlockPos water,
boolean mustBeAtEdge) |
java.util.List<ConfiguredCarver<?>> |
getCarvers(GenerationStage.Carving stage) |
Biome.Category |
getCategory() |
float |
getDefaultTemperature()
Gets the constant default temperature for this biome.
|
float |
getDepth() |
ITextComponent |
getDisplayName() |
float |
getDownfall()
Gets a floating point representation of this biome's rainfall
|
java.util.List<ConfiguredFeature<?,?>> |
getFeatures(GenerationStage.Decoration decorationStage) |
java.util.List<ConfiguredFeature<?,?>> |
getFlowers() |
int |
getFoliageColor() |
int |
getGrassColor(double posX,
double posZ) |
static Biome |
getMutationForBiome(Biome biome) |
java.lang.String |
getParent() |
Biome.RainType |
getPrecipitation() |
Biome |
getRiver() |
float |
getScale() |
int |
getSkyColor() |
float |
getSpawningChance()
returns the chance a creature has to spawn.
|
java.util.List<Biome.SpawnListEntry> |
getSpawns(EntityClassification creatureType)
Returns the correspondent list of the EnumCreatureType informed.
|
<C extends IFeatureConfig> |
getStructureConfig(Structure<C> structureIn) |
ConfiguredSurfaceBuilder<?> |
getSurfaceBuilder() |
ISurfaceBuilderConfig |
getSurfaceBuilderConfig() |
Biome.TempCategory |
getTempCategory() |
float |
getTemperature(BlockPos p_225486_1_) |
float |
getTemperatureRaw(BlockPos pos)
Gets the current temperature at the given location, based off of the default for this biome, the elevation of the
position, and TEMPERATURE_NOISE some random perlin noise.
|
java.lang.String |
getTranslationKey() |
int |
getWaterColor() |
int |
getWaterFogColor() |
<C extends IFeatureConfig> |
hasStructure(Structure<C> structureIn) |
boolean |
isHighHumidity()
Checks to see if the rainfall level of the biome is extremely high
|
boolean |
isMutation() |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final org.apache.logging.log4j.Logger LOGGER
public static final java.util.Set<Biome> BIOMES
public static final ObjectIntIdentityMap<Biome> MUTATION_TO_BASE_ID_MAP
protected static final PerlinNoiseGenerator TEMPERATURE_NOISE
public static final PerlinNoiseGenerator INFO_NOISE
@Nullable protected java.lang.String translationKey
protected final float depth
protected final float scale
protected final float temperature
protected final float downfall
protected final int waterColor
protected final int waterFogColor
@Nullable protected final java.lang.String parent
protected final ConfiguredSurfaceBuilder<?> surfaceBuilder
protected final Biome.Category category
protected final Biome.RainType precipitation
protected final java.util.Map<GenerationStage.Carving,java.util.List<ConfiguredCarver<?>>> carvers
protected final java.util.Map<GenerationStage.Decoration,java.util.List<ConfiguredFeature<?,?>>> features
protected final java.util.List<ConfiguredFeature<?,?>> flowers
protected final java.util.Map<Structure<?>,IFeatureConfig> structures
protected Biome(Biome.Builder biomeBuilder)
public static <C extends ICarverConfig> ConfiguredCarver<C> createCarver(WorldCarver<C> carver, C config)
public boolean isMutation()
public int getSkyColor()
protected void addSpawn(EntityClassification type, Biome.SpawnListEntry spawnListEntry)
public java.util.List<Biome.SpawnListEntry> getSpawns(EntityClassification creatureType)
public Biome.RainType getPrecipitation()
public boolean isHighHumidity()
public float getSpawningChance()
public float getTemperatureRaw(BlockPos pos)
public final float getTemperature(BlockPos p_225486_1_)
public boolean doesWaterFreeze(IWorldReader worldIn, BlockPos pos)
public boolean doesWaterFreeze(IWorldReader worldIn, BlockPos water, boolean mustBeAtEdge)
public boolean doesSnowGenerate(IWorldReader worldIn, BlockPos pos)
public void addFeature(GenerationStage.Decoration decorationStage, ConfiguredFeature<?,?> featureIn)
public <C extends ICarverConfig> void addCarver(GenerationStage.Carving stage, ConfiguredCarver<C> carver)
public java.util.List<ConfiguredCarver<?>> getCarvers(GenerationStage.Carving stage)
public <C extends IFeatureConfig> void addStructure(ConfiguredFeature<C,? extends Structure<C>> structureIn)
public <C extends IFeatureConfig> boolean hasStructure(Structure<C> structureIn)
@Nullable public <C extends IFeatureConfig> C getStructureConfig(Structure<C> structureIn)
public java.util.List<ConfiguredFeature<?,?>> getFlowers()
public java.util.List<ConfiguredFeature<?,?>> getFeatures(GenerationStage.Decoration decorationStage)
public void decorate(GenerationStage.Decoration stage, ChunkGenerator<? extends GenerationSettings> chunkGenerator, IWorld worldIn, long seed, SharedSeedRandom random, BlockPos pos)
public int getGrassColor(double posX, double posZ)
public int getFoliageColor()
public void buildSurface(java.util.Random random, IChunk chunkIn, int x, int z, int startHeight, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, long seed)
public Biome.TempCategory getTempCategory()
public final float getDepth()
public final float getDownfall()
public ITextComponent getDisplayName()
public java.lang.String getTranslationKey()
public final float getScale()
public final float getDefaultTemperature()
public final int getWaterColor()
public final int getWaterFogColor()
public final Biome.Category getCategory()
public ConfiguredSurfaceBuilder<?> getSurfaceBuilder()
public ISurfaceBuilderConfig getSurfaceBuilderConfig()
@Nullable public java.lang.String getParent()
public Biome getRiver()