Class IcebergFeature

java.lang.Object
net.minecraft.world.level.levelgen.feature.Feature<BlockStateConfiguration>
net.minecraft.world.level.levelgen.feature.IcebergFeature

public class IcebergFeature extends Feature<BlockStateConfiguration>
  • Constructor Details

  • Method Details

    • place

      public boolean place(FeaturePlaceContext<BlockStateConfiguration> p_159884_)
      Specified by:
      place in class Feature<BlockStateConfiguration>
    • generateCutOut

      private void generateCutOut(RandomSource p_225100_, LevelAccessor p_225101_, int p_225102_, int p_225103_, BlockPos p_225104_, boolean p_225105_, int p_225106_, double p_225107_, int p_225108_)
    • carve

      private void carve(int p_66036_, int p_66037_, BlockPos p_66038_, LevelAccessor p_66039_, boolean p_66040_, double p_66041_, BlockPos p_66042_, int p_66043_, int p_66044_)
    • removeFloatingSnowLayer

      private void removeFloatingSnowLayer(LevelAccessor p_66049_, BlockPos p_66050_)
    • generateIcebergBlock

      private void generateIcebergBlock(LevelAccessor p_225110_, RandomSource p_225111_, BlockPos p_225112_, int p_225113_, int p_225114_, int p_225115_, int p_225116_, int p_225117_, int p_225118_, boolean p_225119_, int p_225120_, double p_225121_, boolean p_225122_, BlockState p_225123_)
    • setIcebergBlock

      private void setIcebergBlock(BlockPos p_225125_, LevelAccessor p_225126_, RandomSource p_225127_, int p_225128_, int p_225129_, boolean p_225130_, boolean p_225131_, BlockState p_225132_)
    • getEllipseC

      private int getEllipseC(int p_66019_, int p_66020_, int p_66021_)
    • signedDistanceCircle

      private double signedDistanceCircle(int p_225089_, int p_225090_, BlockPos p_225091_, int p_225092_, RandomSource p_225093_)
    • signedDistanceEllipse

      private double signedDistanceEllipse(int p_66023_, int p_66024_, BlockPos p_66025_, int p_66026_, int p_66027_, double p_66028_)
    • heightDependentRadiusRound

      private int heightDependentRadiusRound(RandomSource p_225095_, int p_225096_, int p_225097_, int p_225098_)
    • heightDependentRadiusEllipse

      private int heightDependentRadiusEllipse(int p_66110_, int p_66111_, int p_66112_)
    • heightDependentRadiusSteep

      private int heightDependentRadiusSteep(RandomSource p_225134_, int p_225135_, int p_225136_, int p_225137_)
    • isIcebergState

      private static boolean isIcebergState(BlockState p_159886_)
    • belowIsAir

      private boolean belowIsAir(BlockGetter p_66046_, BlockPos p_66047_)
    • smooth

      private void smooth(LevelAccessor p_66052_, BlockPos p_66053_, int p_66054_, int p_66055_, boolean p_66056_, int p_66057_)