Package net.minecraft.world.gen.feature
Class IcebergFeature
java.lang.Object
net.minecraft.world.gen.feature.Feature<SingleStateFeatureConfig>
net.minecraft.world.gen.feature.IcebergFeature
- Mappings:
Namespace Name named net/minecraft/world/gen/feature/IcebergFeatureintermediary net/minecraft/class_3074official ecr
-
Field Summary
Fields inherited from class net.minecraft.world.gen.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_PLATFORM, 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, NETHERRACK_REPLACE_BLOBS, NO_BONEMEAL_FLOWER, NO_OP, ORE, POINTED_DRIPSTONE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, REPLACE_SINGLE_BLOCK, ROOT_SYSTEM, SCATTERED_ORE, SCULK_PATCH, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SPRING_FEATURE, TREE, TWISTING_VINES, UNDERWATER_MAGMA, VEGETATION_PATCH, VINES, VOID_START_PLATFORM, WATERLOGGED_VEGETATION_PATCH, WEEPING_VINES -
Constructor Summary
ConstructorsConstructorDescriptionIcebergFeature(com.mojang.serialization.Codec<SingleStateFeatureConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidclearSnowAbove(WorldAccess world, BlockPos pos) private intdecreaseValueNearTop(int y, int height, int value) booleangenerate(FeatureContext<SingleStateFeatureConfig> context) private doublegetDistance(int x, int z, BlockPos pos, int divisor1, int divisor2, double randomSine) private booleanisAirBelow(BlockView world, BlockPos pos) private static booleanisSnowOrIce(BlockState state) private voidmethod_13415(int int2, int y, BlockPos pos, WorldAccess world, boolean placeWater, double double2, BlockPos blockPos, int int3, int int4) private intmethod_13417(int y, int height, int factor) private voidmethod_13418(WorldAccess world, BlockPos pos, int int2, int height, boolean bool, int int3) private intmethod_13419(Random random, int y, int height, int factor) private doublemethod_13421(int x, int z, BlockPos pos, int int2, Random random) private intmethod_13427(Random random, int y, int height, int factor) private voidmethod_13428(Random random, WorldAccess world, int int2, int int3, BlockPos pos, boolean bool, int int4, double double2, int int5) private voidplaceAt(WorldAccess world, Random random, BlockPos pos, int height, int offsetX, int offsetY, int offsetZ, int int2, int int3, boolean bool, int int4, double randomSine, boolean placeSnow, BlockState state) private voidplaceBlockOrSnow(BlockPos pos, WorldAccess world, Random random, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state) Methods inherited from class net.minecraft.world.gen.feature.Feature
generateIfValid, getCodec, isExposedToAir, isSoil, isSoil, isStone, markBlocksAboveForPostProcessing, notInBlockTagPredicate, setBlockState, setBlockStateIf, testAdjacentStates
-
Constructor Details
-
IcebergFeature
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)Vofficial <init>Lece;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
generate
- Specified by:
generatein classFeature<SingleStateFeatureConfig>- Mappings:
Namespace Name Mixin selector named generateLnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Zintermediary method_13151Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Zofficial aLece;a(Lecg;)Z
-
method_13428
private void method_13428(Random random, WorldAccess world, int int2, int int3, BlockPos pos, boolean bool, int int4, double double2, int int5) - Mappings:
Namespace Name Mixin selector named method_13428Lnet/minecraft/world/gen/feature/IcebergFeature;method_13428(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;IILnet/minecraft/util/math/BlockPos;ZIDI)Vintermediary method_13428Lnet/minecraft/class_3074;method_13428(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;IILnet/minecraft/class_2338;ZIDI)Vofficial aLecr;a(Layw;Ldcx;IILjd;ZIDI)V
-
method_13415
private void method_13415(int int2, int y, BlockPos pos, WorldAccess world, boolean placeWater, double double2, BlockPos blockPos, int int3, int int4) - Mappings:
Namespace Name Mixin selector named method_13415Lnet/minecraft/world/gen/feature/IcebergFeature;method_13415(IILnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldAccess;ZDLnet/minecraft/util/math/BlockPos;II)Vintermediary method_13415Lnet/minecraft/class_3074;method_13415(IILnet/minecraft/class_2338;Lnet/minecraft/class_1936;ZDLnet/minecraft/class_2338;II)Vofficial aLecr;a(IILjd;Ldcx;ZDLjd;II)V
-
clearSnowAbove
- Mappings:
Namespace Name Mixin selector named clearSnowAboveLnet/minecraft/world/gen/feature/IcebergFeature;clearSnowAbove(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_13422Lnet/minecraft/class_3074;method_13422(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Vofficial aLecr;a(Ldcx;Ljd;)V
-
placeAt
private void placeAt(WorldAccess world, Random random, BlockPos pos, int height, int offsetX, int offsetY, int offsetZ, int int2, int int3, boolean bool, int int4, double randomSine, boolean placeSnow, BlockState state) - Mappings:
Namespace Name Mixin selector named placeAtLnet/minecraft/world/gen/feature/IcebergFeature;placeAt(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;IIIIIIZIDZLnet/minecraft/block/BlockState;)Vintermediary method_13426Lnet/minecraft/class_3074;method_13426(Lnet/minecraft/class_1936;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;IIIIIIZIDZLnet/minecraft/class_2680;)Vofficial aLecr;a(Ldcx;Layw;Ljd;IIIIIIZIDZLdtc;)V
-
placeBlockOrSnow
private void placeBlockOrSnow(BlockPos pos, WorldAccess world, Random random, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state) - Mappings:
Namespace Name Mixin selector named placeBlockOrSnowLnet/minecraft/world/gen/feature/IcebergFeature;placeBlockOrSnow(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/random/Random;IIZZLnet/minecraft/block/BlockState;)Vintermediary method_13425Lnet/minecraft/class_3074;method_13425(Lnet/minecraft/class_2338;Lnet/minecraft/class_1936;Lnet/minecraft/class_5819;IIZZLnet/minecraft/class_2680;)Vofficial aLecr;a(Ljd;Ldcx;Layw;IIZZLdtc;)V
-
decreaseValueNearTop
private int decreaseValueNearTop(int y, int height, int value) - Mappings:
Namespace Name Mixin selector named decreaseValueNearTopLnet/minecraft/world/gen/feature/IcebergFeature;decreaseValueNearTop(III)Iintermediary method_13416Lnet/minecraft/class_3074;method_13416(III)Iofficial aLecr;a(III)I
-
method_13421
- Mappings:
Namespace Name Mixin selector named method_13421Lnet/minecraft/world/gen/feature/IcebergFeature;method_13421(IILnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/math/random/Random;)Dintermediary method_13421Lnet/minecraft/class_3074;method_13421(IILnet/minecraft/class_2338;ILnet/minecraft/class_5819;)Dofficial aLecr;a(IILjd;ILayw;)D
-
getDistance
private double getDistance(int x, int z, BlockPos pos, int divisor1, int divisor2, double randomSine) - Mappings:
Namespace Name Mixin selector named getDistanceLnet/minecraft/world/gen/feature/IcebergFeature;getDistance(IILnet/minecraft/util/math/BlockPos;IID)Dintermediary method_13424Lnet/minecraft/class_3074;method_13424(IILnet/minecraft/class_2338;IID)Dofficial aLecr;a(IILjd;IID)D
-
method_13419
- Mappings:
Namespace Name Mixin selector named method_13419Lnet/minecraft/world/gen/feature/IcebergFeature;method_13419(Lnet/minecraft/util/math/random/Random;III)Iintermediary method_13419Lnet/minecraft/class_3074;method_13419(Lnet/minecraft/class_5819;III)Iofficial aLecr;a(Layw;III)I
-
method_13417
private int method_13417(int y, int height, int factor) - Mappings:
Namespace Name Mixin selector named method_13417Lnet/minecraft/world/gen/feature/IcebergFeature;method_13417(III)Iintermediary method_13417Lnet/minecraft/class_3074;method_13417(III)Iofficial bLecr;b(III)I
-
method_13427
- Mappings:
Namespace Name Mixin selector named method_13427Lnet/minecraft/world/gen/feature/IcebergFeature;method_13427(Lnet/minecraft/util/math/random/Random;III)Iintermediary method_13427Lnet/minecraft/class_3074;method_13427(Lnet/minecraft/class_5819;III)Iofficial bLecr;b(Layw;III)I
-
isSnowOrIce
- Mappings:
Namespace Name Mixin selector named isSnowOrIceLnet/minecraft/world/gen/feature/IcebergFeature;isSnowOrIce(Lnet/minecraft/block/BlockState;)Zintermediary method_13420Lnet/minecraft/class_3074;method_13420(Lnet/minecraft/class_2680;)Zofficial cLecr;c(Ldtc;)Z
-
isAirBelow
- Mappings:
Namespace Name Mixin selector named isAirBelowLnet/minecraft/world/gen/feature/IcebergFeature;isAirBelow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_13414Lnet/minecraft/class_3074;method_13414(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Zofficial aLecr;a(Ldcc;Ljd;)Z
-
method_13418
private void method_13418(WorldAccess world, BlockPos pos, int int2, int height, boolean bool, int int3) - Mappings:
Namespace Name Mixin selector named method_13418Lnet/minecraft/world/gen/feature/IcebergFeature;method_13418(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;IIZI)Vintermediary method_13418Lnet/minecraft/class_3074;method_13418(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;IIZI)Vofficial aLecr;a(Ldcx;Ljd;IIZI)V
-