Class GeodeFeature

java.lang.Object
net.minecraft.world.level.levelgen.feature.Feature<GeodeConfiguration>
net.minecraft.world.level.levelgen.feature.GeodeFeature

public class GeodeFeature extends Feature<GeodeConfiguration>
  • Field Details

    • DIRECTIONS

      private static final Direction[] DIRECTIONS
  • Constructor Details

    • GeodeFeature

      public GeodeFeature(com.mojang.serialization.Codec<GeodeConfiguration> p_159834_)
  • Method Details

    • place

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