Class IcebergFeature
java.lang.Object
net.minecraft.world.level.levelgen.feature.Feature<BlockStateConfiguration>
net.minecraft.world.level.levelgen.feature.IcebergFeature
- 
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.feature.Feature
BAMBOO, BASALT_COLUMNS, BASALT_PILLAR, BLOCK_COLUMN, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DELTA_FEATURE, DESERT_WELL, DISK, DRIPSTONE_CLUSTER, END_GATEWAY, END_ISLAND, END_SPIKE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GEODE, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_SPIKE, ICEBERG, KELP, LAKE, LARGE_DRIPSTONE, MONSTER_ROOM, MULTIFACE_GROWTH, NETHER_FOREST_VEGETATION, NO_BONEMEAL_FLOWER, NO_OP, ORE, POINTED_DRIPSTONE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, REPLACE_BLOBS, REPLACE_SINGLE_BLOCK, ROOT_SYSTEM, SCATTERED_ORE, SCULK_PATCH, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SPRING, TREE, TWISTING_VINES, UNDERWATER_MAGMA, VEGETATION_PATCH, VINES, VOID_START_PLATFORM, WATERLOGGED_VEGETATION_PATCH, WEEPING_VINES - 
Constructor Summary
ConstructorsConstructorDescriptionIcebergFeature(com.mojang.serialization.Codec<BlockStateConfiguration> p_66017_)  - 
Method Summary
Modifier and TypeMethodDescriptionprivate booleanbelowIsAir(BlockGetter p_66046_, BlockPos p_66047_) private voidcarve(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_) private voidgenerateCutOut(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_) private voidgenerateIcebergBlock(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_) private intgetEllipseC(int p_66019_, int p_66020_, int p_66021_) private intheightDependentRadiusEllipse(int p_66110_, int p_66111_, int p_66112_) private intheightDependentRadiusRound(RandomSource p_225095_, int p_225096_, int p_225097_, int p_225098_) private intheightDependentRadiusSteep(RandomSource p_225134_, int p_225135_, int p_225136_, int p_225137_) private static booleanisIcebergState(BlockState p_159886_) booleanplace(FeaturePlaceContext<BlockStateConfiguration> p_159884_) private voidremoveFloatingSnowLayer(LevelAccessor p_66049_, BlockPos p_66050_) private voidsetIcebergBlock(BlockPos p_225125_, LevelAccessor p_225126_, RandomSource p_225127_, int p_225128_, int p_225129_, boolean p_225130_, boolean p_225131_, BlockState p_225132_) private doublesignedDistanceCircle(int p_225089_, int p_225090_, BlockPos p_225091_, int p_225092_, RandomSource p_225093_) private doublesignedDistanceEllipse(int p_66023_, int p_66024_, BlockPos p_66025_, int p_66026_, int p_66027_, double p_66028_) private voidsmooth(LevelAccessor p_66052_, BlockPos p_66053_, int p_66054_, int p_66055_, boolean p_66056_, int p_66057_) Methods inherited from class net.minecraft.world.level.levelgen.feature.Feature
checkNeighbors, configuredCodec, isAdjacentToAir, isDirt, isGrassOrDirt, isReplaceable, isStone, markAboveForPostProcessing, place, safeSetBlock, setBlock 
- 
Constructor Details
- 
IcebergFeature
 
 - 
 - 
Method Details
- 
place
- Specified by:
 placein classFeature<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
 - 
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
 - 
belowIsAir
 - 
smooth
private void smooth(LevelAccessor p_66052_, BlockPos p_66053_, int p_66054_, int p_66055_, boolean p_66056_, int p_66057_)  
 -