public class BiomeAccessHelper
extends java.lang.Object
BiomeLoadingEvent
, so you should look
into using that.Constructor and Description |
---|
BiomeAccessHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addCarver(net.minecraft.world.biome.Biome biome,
net.minecraft.world.gen.GenerationStage.Carving carvingType,
net.minecraft.world.gen.carver.ConfiguredCarver<?> configuredCarver)
Deprecated.
use
BiomeLoadingEvent |
static <C extends net.minecraft.world.gen.feature.IFeatureConfig,F extends net.minecraft.world.gen.feature.Feature<C>> |
addFeature(net.minecraft.world.biome.Biome biome,
net.minecraft.world.gen.GenerationStage.Decoration stage,
net.minecraft.world.gen.feature.ConfiguredFeature<C,F> feature)
Deprecated.
use
BiomeLoadingEvent |
static <C extends net.minecraft.world.gen.feature.IFeatureConfig,PC extends net.minecraft.world.gen.placement.IPlacementConfig> |
addFlowerFeature(net.minecraft.world.biome.Biome biome,
net.minecraft.world.gen.GenerationStage.Decoration stage,
net.minecraft.world.gen.feature.ConfiguredFeature<?,?> feature)
Deprecated.
use
BiomeLoadingEvent |
static void |
addSpawn(net.minecraft.world.biome.Biome biome,
net.minecraft.entity.EntityClassification classification,
net.minecraft.world.biome.MobSpawnInfo.Spawners spawner)
Deprecated.
use
BiomeLoadingEvent |
static void |
addSpawnCost(net.minecraft.world.biome.Biome biome,
net.minecraft.entity.EntityType<?> entity,
net.minecraft.world.biome.MobSpawnInfo.SpawnCosts spawnCost)
Deprecated.
use
BiomeLoadingEvent |
static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends GelStructure<C>> |
addStructure(net.minecraftforge.event.world.BiomeLoadingEvent event,
net.minecraft.world.gen.feature.StructureFeature<C,S> gelStructure)
Adds the input
GelStructure to the biome from the event passed. |
static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends net.minecraft.world.gen.feature.structure.Structure<C>> |
addStructure(net.minecraftforge.event.world.BiomeLoadingEvent event,
net.minecraft.world.gen.feature.StructureFeature<C,S> structure,
net.minecraft.world.gen.settings.StructureSeparationSettings separationSettings,
java.util.List<net.minecraft.world.gen.DimensionSettings> noiseSettings)
Adds the input structure to the biome from the event passed.
|
static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends GelStructure<C>> |
addStructure(net.minecraft.world.biome.Biome biome,
net.minecraft.world.gen.feature.StructureFeature<C,S> gelStructure)
Deprecated.
|
static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends net.minecraft.world.gen.feature.structure.Structure<C>> |
addStructure(net.minecraft.world.biome.Biome biome,
net.minecraft.world.gen.feature.StructureFeature<C,S> structure,
net.minecraft.world.gen.settings.StructureSeparationSettings separationSettings,
java.util.List<net.minecraft.world.gen.DimensionSettings> noiseSettings)
|
static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends GelStructure<C>> |
addStructureIfAllowed(net.minecraftforge.event.world.BiomeLoadingEvent event,
net.minecraft.world.gen.feature.StructureFeature<C,S> gelStructure)
Adds the input
GelStructure the biome from the event passed if the
biome is in it's config.The structure must implement IConfigStructure . |
static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends GelStructure<C>> |
addStructureToBiomes(net.minecraft.world.gen.feature.StructureFeature<C,S> structure)
Deprecated.
|
static java.util.List<java.util.function.Supplier<net.minecraft.world.gen.carver.ConfiguredCarver<?>>> |
getCarvers(net.minecraft.world.biome.Biome biome,
net.minecraft.world.gen.GenerationStage.Carving carvingType)
Deprecated.
use
BiomeLoadingEvent |
static net.minecraft.world.biome.BiomeGenerationSettings |
getGenSettings(net.minecraft.world.biome.Biome biome)
Returns the biome generation settings.
|
static net.minecraft.world.gen.surfacebuilders.ConfiguredSurfaceBuilder<?> |
getSurfaceBuilder(net.minecraft.world.biome.Biome biome)
Deprecated.
use
BiomeLoadingEvent |
static void |
setAmbience(net.minecraft.world.biome.Biome biome,
net.minecraft.world.biome.BiomeAmbience ambience)
Deprecated.
use
BiomeLoadingEvent |
static void |
setSurfaceBuilder(net.minecraft.world.biome.Biome biome,
net.minecraft.world.gen.surfacebuilders.ConfiguredSurfaceBuilder<?> surfaceBuilder)
Deprecated.
use
BiomeLoadingEvent |
public static net.minecraft.world.biome.BiomeGenerationSettings getGenSettings(net.minecraft.world.biome.Biome biome)
biome
- BiomeGenerationSettings
@Deprecated public static <C extends net.minecraft.world.gen.feature.IFeatureConfig,F extends net.minecraft.world.gen.feature.Feature<C>> void addFeature(net.minecraft.world.biome.Biome biome, net.minecraft.world.gen.GenerationStage.Decoration stage, net.minecraft.world.gen.feature.ConfiguredFeature<C,F> feature)
BiomeLoadingEvent
#addFlowerFeature(Biome, Decoration, ConfiguredFeature)
. Make sure
that the ConfiguredFeature
is registered first.biome
- stage
- feature
- public static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends net.minecraft.world.gen.feature.structure.Structure<C>> void addStructure(net.minecraftforge.event.world.BiomeLoadingEvent event, net.minecraft.world.gen.feature.StructureFeature<C,S> structure, net.minecraft.world.gen.settings.StructureSeparationSettings separationSettings, java.util.List<net.minecraft.world.gen.DimensionSettings> noiseSettings)
event
- structure
- separationSettings
- noiseSettings
- public static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends GelStructure<C>> void addStructure(net.minecraftforge.event.world.BiomeLoadingEvent event, net.minecraft.world.gen.feature.StructureFeature<C,S> gelStructure)
GelStructure
to the biome from the event passed.event
- gelStructure
- public static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends GelStructure<C>> void addStructureIfAllowed(net.minecraftforge.event.world.BiomeLoadingEvent event, net.minecraft.world.gen.feature.StructureFeature<C,S> gelStructure)
GelStructure
the biome from the event passed if the
biome is in it's config.IConfigStructure
.event
- gelStructure
- java.lang.IllegalArgumentException
@Deprecated public static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends net.minecraft.world.gen.feature.structure.Structure<C>> void addStructure(net.minecraft.world.biome.Biome biome, net.minecraft.world.gen.feature.StructureFeature<C,S> structure, net.minecraft.world.gen.settings.StructureSeparationSettings separationSettings, java.util.List<net.minecraft.world.gen.DimensionSettings> noiseSettings)
addStructure(BiomeLoadingEvent, StructureFeature, StructureSeparationSettings, List)
Structure
to generate in the biome.biome
- structure
- separationSettings
- noiseSettings
- @Deprecated public static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends GelStructure<C>> void addStructure(net.minecraft.world.biome.Biome biome, net.minecraft.world.gen.feature.StructureFeature<C,S> gelStructure)
addStructure(BiomeLoadingEvent, StructureFeature)
GelStructure
to generate in the biome.biome
- gelStructure
- @Deprecated public static <C extends net.minecraft.world.gen.feature.IFeatureConfig,S extends GelStructure<C>> void addStructureToBiomes(net.minecraft.world.gen.feature.StructureFeature<C,S> structure)
addStructureIfAllowed(BiomeLoadingEvent, StructureFeature)
StructureFeature
to the biomes listed in it's
config if the structure is an instance of IConfigStructure
.structure
- java.lang.IllegalArgumentException
@Nullable @Deprecated public static net.minecraft.world.gen.surfacebuilders.ConfiguredSurfaceBuilder<?> getSurfaceBuilder(net.minecraft.world.biome.Biome biome)
BiomeLoadingEvent
biome
- ConfiguredSurfaceBuilder
@Deprecated public static void setSurfaceBuilder(net.minecraft.world.biome.Biome biome, net.minecraft.world.gen.surfacebuilders.ConfiguredSurfaceBuilder<?> surfaceBuilder)
BiomeLoadingEvent
biome
- surfaceBuilder
- @Deprecated public static void addCarver(net.minecraft.world.biome.Biome biome, net.minecraft.world.gen.GenerationStage.Carving carvingType, net.minecraft.world.gen.carver.ConfiguredCarver<?> configuredCarver)
BiomeLoadingEvent
biome
- carvingType
- configuredCarver
- @Deprecated public static java.util.List<java.util.function.Supplier<net.minecraft.world.gen.carver.ConfiguredCarver<?>>> getCarvers(net.minecraft.world.biome.Biome biome, net.minecraft.world.gen.GenerationStage.Carving carvingType)
BiomeLoadingEvent
biome
- carvingType
- List
@Deprecated public static <C extends net.minecraft.world.gen.feature.IFeatureConfig,PC extends net.minecraft.world.gen.placement.IPlacementConfig> void addFlowerFeature(net.minecraft.world.biome.Biome biome, net.minecraft.world.gen.GenerationStage.Decoration stage, net.minecraft.world.gen.feature.ConfiguredFeature<?,?> feature)
BiomeLoadingEvent
biome
- stage
- feature
- @Deprecated public static void addSpawn(net.minecraft.world.biome.Biome biome, net.minecraft.entity.EntityClassification classification, net.minecraft.world.biome.MobSpawnInfo.Spawners spawner)
BiomeLoadingEvent
biome
- classification
- spawner
- @Deprecated public static void addSpawnCost(net.minecraft.world.biome.Biome biome, net.minecraft.entity.EntityType<?> entity, net.minecraft.world.biome.MobSpawnInfo.SpawnCosts spawnCost)
BiomeLoadingEvent
biome
- entity
- spawnCost
- @Deprecated public static void setAmbience(net.minecraft.world.biome.Biome biome, net.minecraft.world.biome.BiomeAmbience ambience)
BiomeLoadingEvent
biome
- ambience
-