Class IcebergFeature
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Feature<?>>
net.minecraft.world.level.levelgen.feature.Feature<BlockStateConfiguration>
net.minecraft.world.level.levelgen.feature.IcebergFeature
- All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
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, GLOW_LICHEN, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_PATCH, ICE_SPIKE, ICEBERG, KELP, LAKE, LARGE_DRIPSTONE, MONSTER_ROOM, 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, 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
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescriptionIcebergFeature
(com.mojang.serialization.Codec<BlockStateConfiguration> p_66017_) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
belowIsAir
(BlockGetter p_66046_, BlockPos p_66047_) 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_) private void
generateCutOut
(Random p_66100_, LevelAccessor p_66101_, int p_66102_, int p_66103_, BlockPos p_66104_, boolean p_66105_, int p_66106_, double p_66107_, int p_66108_) private void
generateIcebergBlock
(LevelAccessor p_66059_, Random p_66060_, BlockPos p_66061_, int p_66062_, int p_66063_, int p_66064_, int p_66065_, int p_66066_, int p_66067_, boolean p_66068_, int p_66069_, double p_66070_, boolean p_66071_, BlockState p_66072_) private int
getEllipseC
(int p_66019_, int p_66020_, int p_66021_) private int
heightDependentRadiusEllipse
(int p_66110_, int p_66111_, int p_66112_) private int
heightDependentRadiusRound
(Random p_66095_, int p_66096_, int p_66097_, int p_66098_) private int
heightDependentRadiusSteep
(Random p_66114_, int p_66115_, int p_66116_, int p_66117_) private static boolean
isIcebergState
(BlockState p_159886_) boolean
place
(FeaturePlaceContext<BlockStateConfiguration> p_159884_) private void
removeFloatingSnowLayer
(LevelAccessor p_66049_, BlockPos p_66050_) private void
setIcebergBlock
(BlockPos p_66086_, LevelAccessor p_66087_, Random p_66088_, int p_66089_, int p_66090_, boolean p_66091_, boolean p_66092_, BlockState p_66093_) private double
signedDistanceCircle
(int p_66030_, int p_66031_, BlockPos p_66032_, int p_66033_, Random p_66034_) private double
signedDistanceEllipse
(int p_66023_, int p_66024_, BlockPos p_66025_, int p_66026_, int p_66027_, double p_66028_) private void
smooth
(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, isAir, isDirt, isGrassOrDirt, isReplaceable, isStone, markAboveForPostProcessing, place, safeSetBlock, setBlock
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Constructor Details
-
IcebergFeature
-
-
Method Details
-
place
- Specified by:
place
in classFeature<BlockStateConfiguration>
-
generateCutOut
private void generateCutOut(Random p_66100_, LevelAccessor p_66101_, int p_66102_, int p_66103_, BlockPos p_66104_, boolean p_66105_, int p_66106_, double p_66107_, int p_66108_) -
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_66059_, Random p_66060_, BlockPos p_66061_, int p_66062_, int p_66063_, int p_66064_, int p_66065_, int p_66066_, int p_66067_, boolean p_66068_, int p_66069_, double p_66070_, boolean p_66071_, BlockState p_66072_) -
setIcebergBlock
private void setIcebergBlock(BlockPos p_66086_, LevelAccessor p_66087_, Random p_66088_, int p_66089_, int p_66090_, boolean p_66091_, boolean p_66092_, BlockState p_66093_) -
getEllipseC
private int getEllipseC(int p_66019_, int p_66020_, int p_66021_) -
signedDistanceCircle
-
signedDistanceEllipse
private double signedDistanceEllipse(int p_66023_, int p_66024_, BlockPos p_66025_, int p_66026_, int p_66027_, double p_66028_) -
heightDependentRadiusRound
-
heightDependentRadiusEllipse
private int heightDependentRadiusEllipse(int p_66110_, int p_66111_, int p_66112_) -
heightDependentRadiusSteep
-
isIcebergState
-
belowIsAir
-
smooth
private void smooth(LevelAccessor p_66052_, BlockPos p_66053_, int p_66054_, int p_66055_, boolean p_66056_, int p_66057_)
-