Interface BiomeModificationContext.GenerationSettingsContext

Enclosing interface:
BiomeModificationContext

public static interface BiomeModificationContext.GenerationSettingsContext
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCarver(net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver<?>> carverKey)
    Adds a configured world carver to this biome.
    void
    addFeature(net.minecraft.world.level.levelgen.GenerationStep.Decoration step, net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.placement.PlacedFeature> placedFeatureKey)
    Adds a feature to one of this biomes generation steps, identified by the placed feature's resource key.
    boolean
    removeCarver(net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver<?>> carverKey)
    Removes all carvers with the given key from this biome.
    default boolean
    removeFeature(net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.placement.PlacedFeature> placedFeatureKey)
    Removes a feature from all of this biomes generation steps, and returns if any features were removed.
    boolean
    removeFeature(net.minecraft.world.level.levelgen.GenerationStep.Decoration step, net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.placement.PlacedFeature> placedFeatureKey)
    Removes a feature from one of this biomes generation steps, and returns if any features were removed.
  • Method Details

    • removeFeature

      boolean removeFeature(net.minecraft.world.level.levelgen.GenerationStep.Decoration step, net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.placement.PlacedFeature> placedFeatureKey)
      Removes a feature from one of this biomes generation steps, and returns if any features were removed.
    • removeFeature

      default boolean removeFeature(net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.placement.PlacedFeature> placedFeatureKey)
      Removes a feature from all of this biomes generation steps, and returns if any features were removed.
    • addFeature

      void addFeature(net.minecraft.world.level.levelgen.GenerationStep.Decoration step, net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.placement.PlacedFeature> placedFeatureKey)
      Adds a feature to one of this biomes generation steps, identified by the placed feature's resource key.
    • addCarver

      void addCarver(net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver<?>> carverKey)
      Adds a configured world carver to this biome.
    • removeCarver

      boolean removeCarver(net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver<?>> carverKey)
      Removes all carvers with the given key from this biome.
      Returns:
      True if any carvers were removed.