Class RandomBooleanSelectorFeature

java.lang.Object
net.minecraft.world.level.levelgen.feature.Feature<RandomBooleanFeatureConfiguration>
net.minecraft.world.level.levelgen.feature.RandomBooleanSelectorFeature

public class RandomBooleanSelectorFeature extends Feature<RandomBooleanFeatureConfiguration>
  • Constructor Details

  • Method Details

    • place

      public boolean place(FeaturePlaceContext<RandomBooleanFeatureConfiguration> p_160208_)
      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<RandomBooleanFeatureConfiguration>
      Parameters:
      p_160208_ - A context object with a reference to the level and the position the feature is being placed at