Class FillLayerFeature

java.lang.Object
net.minecraft.world.level.levelgen.feature.Feature<LayerConfiguration>
net.minecraft.world.level.levelgen.feature.FillLayerFeature

public class FillLayerFeature extends Feature<LayerConfiguration>
  • Constructor Details

    • FillLayerFeature

      public FillLayerFeature(com.mojang.serialization.Codec<LayerConfiguration> p_65818_)
  • Method Details

    • place

      public boolean place(FeaturePlaceContext<LayerConfiguration> p_159780_)
      Description copied from class: Feature
      Places the given feature at the given location. During world generation, features are provided with a 3x3 region of chunks, centered on the chunk being generated, that they can safely generate into.
      Specified by:
      place in class Feature<LayerConfiguration>
      Parameters:
      p_159780_ - A context object with a reference to the level and the position the feature is being placed at