Class IcebergFeature

All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>

public class IcebergFeature extends Feature<BlockStateFeatureConfig>
  • Constructor Details

  • Method Details

    • place

      public boolean place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, Random p_241855_3_, BlockPos p_241855_4_, BlockStateFeatureConfig p_241855_5_)
      Specified by:
      place in class Feature<BlockStateFeatureConfig>
    • generateCutOut

      private void generateCutOut(Random p_205184_1_, IWorld p_205184_2_, int p_205184_3_, int p_205184_4_, BlockPos p_205184_5_, boolean p_205184_6_, int p_205184_7_, double p_205184_8_, int p_205184_10_)
    • carve

      private void carve(int p_205174_1_, int p_205174_2_, BlockPos p_205174_3_, IWorld p_205174_4_, boolean p_205174_5_, double p_205174_6_, BlockPos p_205174_8_, int p_205174_9_, int p_205174_10_)
    • removeFloatingSnowLayer

      private void removeFloatingSnowLayer(IWorld p_205185_1_, BlockPos p_205185_2_)
    • generateIcebergBlock

      private void generateIcebergBlock(IWorld p_205181_1_, Random p_205181_2_, BlockPos p_205181_3_, int p_205181_4_, int p_205181_5_, int p_205181_6_, int p_205181_7_, int p_205181_8_, int p_205181_9_, boolean p_205181_10_, int p_205181_11_, double p_205181_12_, boolean p_205181_14_, BlockState p_205181_15_)
    • setIcebergBlock

      private void setIcebergBlock(BlockPos p_205175_1_, IWorld p_205175_2_, Random p_205175_3_, int p_205175_4_, int p_205175_5_, boolean p_205175_6_, boolean p_205175_7_, BlockState p_205175_8_)
    • getEllipseC

      private int getEllipseC(int p_205176_1_, int p_205176_2_, int p_205176_3_)
    • signedDistanceCircle

      private double signedDistanceCircle(int p_205177_1_, int p_205177_2_, BlockPos p_205177_3_, int p_205177_4_, Random p_205177_5_)
    • signedDistanceEllipse

      private double signedDistanceEllipse(int p_205180_1_, int p_205180_2_, BlockPos p_205180_3_, int p_205180_4_, int p_205180_5_, double p_205180_6_)
    • heightDependentRadiusRound

      private int heightDependentRadiusRound(Random p_205183_1_, int p_205183_2_, int p_205183_3_, int p_205183_4_)
    • heightDependentRadiusEllipse

      private int heightDependentRadiusEllipse(int p_205178_1_, int p_205178_2_, int p_205178_3_)
    • heightDependentRadiusSteep

      private int heightDependentRadiusSteep(Random p_205187_1_, int p_205187_2_, int p_205187_3_, int p_205187_4_)
    • isIcebergBlock

      private boolean isIcebergBlock(Block p_205179_1_)
    • belowIsAir

      private boolean belowIsAir(IBlockReader p_205182_1_, BlockPos p_205182_2_)
    • smooth

      private void smooth(IWorld p_205186_1_, BlockPos p_205186_2_, int p_205186_3_, int p_205186_4_, boolean p_205186_5_, int p_205186_6_)