public class IcebergFeature extends Feature<SingleStateFeatureConfig>
BAMBOO, BASALT_COLUMNS, BASALT_PILLAR, BASTION_REMNANT, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, BURIED_TREASURE, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DARK_OAK_TREE, DECORATED, DECORATED_FLOWER, DELTA_FEATURE, DESERT_PYRAMID, DESERT_WELL, DISK, EMERALD_ORE, END_CITY, END_GATEWAY, END_ISLAND, END_SPIKE, FANCY_TREE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_PATCH, ICE_SPIKE, ICEBERG, IGLOO, JIGSAW_STRUCTURES, JUNGLE_GROUND_BUSH, JUNGLE_TEMPLE, KELP, LAKE, MEGA_JUNGLE_TREE, MEGA_SPRUCE_TREE, MINESHAFT, MONSTER_ROOM, NETHER_BRIDGE, NETHER_FOREST_VEGETATION, NETHER_FOSSIL, NETHERRACK_REPLACE_BLOBS, NO_OP, NO_SURFACE_ORE, NORMAL_TREE, OCEAN_MONUMENT, OCEAN_RUIN, ORE, PILLAGER_OUTPOST, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_RANDOM_SELECTOR, RANDOM_SELECTOR, RUINED_PORTAL, SEA_PICKLE, SEAGRASS, SHIPWRECK, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SPRING_FEATURE, STRONGHOLD, STRUCTURES, SWAMP_HUT, TWISTING_VINES, VILLAGE, VINES, VOID_START_PLATFORM, WEEPING_VINES, WOODLAND_MANSION
Constructor and Description |
---|
IcebergFeature(Function<com.mojang.datafixers.Dynamic<?>,? extends SingleStateFeatureConfig> configDeserializer) |
Modifier and Type | Method and Description |
---|---|
private void |
clearSnowAbove(IWorld world,
BlockPos pos) |
boolean |
generate(IWorld iWorld,
StructureAccessor structureAccessor,
ChunkGenerator<? extends ChunkGeneratorConfig> chunkGenerator,
Random random,
BlockPos blockPos,
SingleStateFeatureConfig singleStateFeatureConfig) |
private boolean |
isAirBelow(BlockView world,
BlockPos pos) |
private boolean |
isSnowyOrIcy(Block block) |
private void |
method_13415(int int2,
int int3,
BlockPos blockPos,
IWorld iWorld,
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(IWorld 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,
IWorld iWorld,
Random random,
int int2,
int int3,
boolean bool,
boolean bool2,
BlockState blockState) |
private void |
method_13426(IWorld iWorld,
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,
IWorld iWorld,
int int2,
int int3,
BlockPos blockPos,
boolean bool,
int int4,
double double2,
int int5) |
configure, deserializeConfig, getCreatureSpawns, getMonsterSpawns, isDirt, isStone, setBlockState
public IcebergFeature(Function<com.mojang.datafixers.Dynamic<?>,? extends SingleStateFeatureConfig> configDeserializer)
public boolean generate(IWorld iWorld, StructureAccessor structureAccessor, ChunkGenerator<? extends ChunkGeneratorConfig> chunkGenerator, Random random, BlockPos blockPos, SingleStateFeatureConfig singleStateFeatureConfig)
generate
in class Feature<SingleStateFeatureConfig>
private void method_13428(Random random, IWorld iWorld, int int2, int int3, BlockPos blockPos, boolean bool, int int4, double double2, int int5)
private void method_13415(int int2, int int3, BlockPos blockPos, IWorld iWorld, boolean bool, double double2, BlockPos blockPos2, int int4, int int5)
private void method_13426(IWorld iWorld, 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 void method_13425(BlockPos blockPos, IWorld iWorld, Random random, int int2, int int3, boolean bool, boolean bool2, BlockState blockState)
private int method_13416(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 int method_13419(Random random, int int2, int int3, int int4)
private int method_13417(int int2, int int3, int int4)
private int method_13427(Random random, int int2, int int3, int int4)
private boolean isSnowyOrIcy(Block block)