Package net.minecraft.world.gen.feature
Class IcebergFeature
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Feature<?>>
-
- net.minecraft.world.gen.feature.Feature<BlockStateFeatureConfig>
-
- net.minecraft.world.gen.feature.IcebergFeature
-
- All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>
public class IcebergFeature extends Feature<BlockStateFeatureConfig>
-
-
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.gen.feature.Feature
BAMBOO, BASALT_COLUMNS, BASALT_PILLAR, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DECORATED, DELTA_FEATURE, DESERT_WELL, DISK, EMERALD_ORE, END_GATEWAY, END_ISLAND, END_SPIKE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_PATCH, ICE_SPIKE, ICEBERG, KELP, LAKE, MONSTER_ROOM, NETHER_FOREST_VEGETATION, NO_BONEMEAL_FLOWER, NO_OP, NO_SURFACE_ORE, ORE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, REPLACE_BLOBS, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SPRING, TREE, TWISTING_VINES, VINES, VOID_START_PLATFORM, WEEPING_VINES
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description IcebergFeature(com.mojang.serialization.Codec<BlockStateFeatureConfig> p_i231964_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
belowIsAir(IBlockReader p_205182_1_, BlockPos p_205182_2_)
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_)
private void
generateCutOut(java.util.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_)
private void
generateIcebergBlock(IWorld p_205181_1_, java.util.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_)
private int
getEllipseC(int p_205176_1_, int p_205176_2_, int p_205176_3_)
private int
heightDependentRadiusEllipse(int p_205178_1_, int p_205178_2_, int p_205178_3_)
private int
heightDependentRadiusRound(java.util.Random p_205183_1_, int p_205183_2_, int p_205183_3_, int p_205183_4_)
private int
heightDependentRadiusSteep(java.util.Random p_205187_1_, int p_205187_2_, int p_205187_3_, int p_205187_4_)
private boolean
isIcebergBlock(Block p_205179_1_)
boolean
place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, java.util.Random p_241855_3_, BlockPos p_241855_4_, BlockStateFeatureConfig p_241855_5_)
private void
removeFloatingSnowLayer(IWorld p_205185_1_, BlockPos p_205185_2_)
private void
setIcebergBlock(BlockPos p_205175_1_, IWorld p_205175_2_, java.util.Random p_205175_3_, int p_205175_4_, int p_205175_5_, boolean p_205175_6_, boolean p_205175_7_, BlockState p_205175_8_)
private double
signedDistanceCircle(int p_205177_1_, int p_205177_2_, BlockPos p_205177_3_, int p_205177_4_, java.util.Random p_205177_5_)
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_)
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_)
-
Methods inherited from class net.minecraft.world.gen.feature.Feature
configured, configuredCodec, isAir, isDirt, isGrassOrDirt, isStone, setBlock
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Constructor Detail
-
IcebergFeature
public IcebergFeature(com.mojang.serialization.Codec<BlockStateFeatureConfig> p_i231964_1_)
-
-
Method Detail
-
place
public boolean place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, java.util.Random p_241855_3_, BlockPos p_241855_4_, BlockStateFeatureConfig p_241855_5_)
- Specified by:
place
in classFeature<BlockStateFeatureConfig>
-
generateCutOut
private void generateCutOut(java.util.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_, java.util.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_, java.util.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_, java.util.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(java.util.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(java.util.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_)
-
-