Package net.minecraft.world.gen.feature
Class IcebergFeature
java.lang.Object
net.minecraft.world.gen.feature.Feature<SingleStateFeatureConfig>
net.minecraft.world.gen.feature.IcebergFeature
public class IcebergFeature extends Feature<SingleStateFeatureConfig>
-
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, DRIPSTONE_CLUSTER, EMERALD_ORE, 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_PATCH, ICE_SPIKE, ICEBERG, KELP, LAKE, LARGE_DRIPSTONE, MONSTER_ROOM, NETHER_FOREST_VEGETATION, NETHERRACK_REPLACE_BLOBS, NO_BONEMEAL_FLOWER, NO_OP, NO_SURFACE_ORE, ORE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SMALL_DRIPSTONE, SPRING_FEATURE, TREE, TWISTING_VINES, VINES, VOID_START_PLATFORM, WEEPING_VINES
-
Constructor Summary
Constructors Constructor Description IcebergFeature(com.mojang.serialization.Codec<SingleStateFeatureConfig> configCodec)
-
Method Summary
Modifier and Type Method Description private void
clearSnowAbove(WorldAccess world, BlockPos pos)
boolean
generate(StructureWorldAccess structureWorldAccess, ChunkGenerator chunkGenerator, Random random, BlockPos blockPos, SingleStateFeatureConfig singleStateFeatureConfig)
private boolean
isAirBelow(BlockView world, BlockPos pos)
private static boolean
isSnowyOrIcy(BlockState blockState)
private void
method_13415(int int2, int int3, BlockPos blockPos, WorldAccess worldAccess, boolean bool, double double2, BlockPos blockPos2, int int4, int int5)
private int
method_13416(int int2, int int3, int int4)
private int
method_13417(int int2, int int3, int int4)
private void
method_13418(WorldAccess world, BlockPos pos, int int2, int int3, boolean bool, int int4)
private int
method_13419(Random random, int int2, int int3, int int4)
private double
method_13421(int int2, int int3, BlockPos blockPos, int int4, Random random)
private double
method_13424(int int2, int int3, BlockPos blockPos, int int4, int int5, double double2)
private void
method_13425(BlockPos blockPos, WorldAccess worldAccess, Random random, int int2, int int3, boolean bool, boolean bool2, BlockState blockState)
private void
method_13426(WorldAccess worldAccess, Random random, BlockPos blockPos, int int2, int int3, int int4, int int5, int int6, int int7, boolean bool, int int8, double double2, boolean bool2, BlockState blockState)
private int
method_13427(Random random, int int2, int int3, int int4)
private void
method_13428(Random random, WorldAccess worldAccess, int int2, int int3, BlockPos blockPos, boolean bool, int int4, double double2, int int5)
-
Constructor Details
-
IcebergFeature
-
-
Method Details
-
generate
public boolean generate(StructureWorldAccess structureWorldAccess, ChunkGenerator chunkGenerator, Random random, BlockPos blockPos, SingleStateFeatureConfig singleStateFeatureConfig)- Specified by:
generate
in classFeature<SingleStateFeatureConfig>
-
method_13428
private void method_13428(Random random, WorldAccess worldAccess, int int2, int int3, BlockPos blockPos, boolean bool, int int4, double double2, int int5) -
method_13415
private void method_13415(int int2, int int3, BlockPos blockPos, WorldAccess worldAccess, boolean bool, double double2, BlockPos blockPos2, int int4, int int5) -
clearSnowAbove
-
method_13426
private void method_13426(WorldAccess worldAccess, Random random, BlockPos blockPos, int int2, int int3, int int4, int int5, int int6, int int7, boolean bool, int int8, double double2, boolean bool2, BlockState blockState) -
method_13425
private void method_13425(BlockPos blockPos, WorldAccess worldAccess, Random random, int int2, int int3, boolean bool, boolean bool2, BlockState blockState) -
method_13416
private int method_13416(int int2, int int3, int int4) -
method_13421
-
method_13424
private double method_13424(int int2, int int3, BlockPos blockPos, int int4, int int5, double double2) -
method_13419
-
method_13417
private int method_13417(int int2, int int3, int int4) -
method_13427
-
isSnowyOrIcy
-
isAirBelow
-
method_13418
private void method_13418(WorldAccess world, BlockPos pos, int int2, int int3, boolean bool, int int4)
-