Class FossilFeature


public class FossilFeature extends Feature<FossilFeatureConfiguration>
  • Constructor Details

  • Method Details

    • place

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

      private static int countEmptyCorners(WorldGenLevel pLevel, BoundingBox pBoundingBox)