Package net.minecraft.world.gen.feature
Class FallenTreeFeature
java.lang.Object
net.minecraft.world.gen.feature.Feature<FallenTreeFeatureConfig>
net.minecraft.world.gen.feature.FallenTreeFeature
- Mappings:
Namespace Name named net/minecraft/world/gen/feature/FallenTreeFeatureintermediary net/minecraft/class_10853official ekj
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intFields 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, FALLEN_TREE, 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
ConstructorsConstructorDescriptionFallenTreeFeature(com.mojang.serialization.Codec<FallenTreeFeatureConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidapplyDecorators(StructureWorldAccess world, Random random, Set<BlockPos> positions, List<TreeDecorator> decorators) private booleancanPlaceLog(StructureWorldAccess world, int length, BlockPos.Mutable pos, Direction direction) private booleancanReplaceAndHasSolidBelow(WorldAccess world, BlockPos pos) private static Function<BlockState, BlockState> createAxisApplier(Direction direction) private BiConsumer<BlockPos, BlockState> private voidgenerate(FallenTreeFeatureConfig config, BlockPos pos, StructureWorldAccess world, Random random) booleangenerate(FeatureContext<FallenTreeFeatureConfig> context) private voidgenerateLog(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, int length, BlockPos.Mutable pos, Direction direction) private voidgenerateStump(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, BlockPos.Mutable pos) private booleanisSolidBelow(WorldAccess world, BlockPos pos) private voidmoveToGroundPos(StructureWorldAccess world, BlockPos.Mutable pos) private static BlockPossetBlockStateAndGetPos(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, BlockPos.Mutable pos, Function<BlockState, BlockState> stateFunction) Methods inherited from class net.minecraft.world.gen.feature.Feature
generateIfValid, getCodec, isExposedToAir, isSoil, isSoil, isStone, markBlocksAboveForPostProcessing, notInBlockTagPredicate, setBlockState, setBlockStateIf, testAdjacentStates
-
Field Details
-
field_57808
private static final int field_57808- See Also:
- Mappings:
Namespace Name Mixin selector named field_57808Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57808:Iintermediary field_57808Lnet/minecraft/class_10853;field_57808:Iofficial aLekj;a:I
-
field_57811
private static final int field_57811- See Also:
- Mappings:
Namespace Name Mixin selector named field_57811Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57811:Iintermediary field_57811Lnet/minecraft/class_10853;field_57811:Iofficial bLekj;b:I
-
field_57812
private static final int field_57812- See Also:
- Mappings:
Namespace Name Mixin selector named field_57812Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57812:Iintermediary field_57812Lnet/minecraft/class_10853;field_57812:Iofficial cLekj;c:I
-
field_57813
private static final int field_57813- See Also:
- Mappings:
Namespace Name Mixin selector named field_57813Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57813:Iintermediary field_57813Lnet/minecraft/class_10853;field_57813:Iofficial dLekj;d:I
-
field_57809
private static final int field_57809- See Also:
- Mappings:
Namespace Name Mixin selector named field_57809Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57809:Iintermediary field_57809Lnet/minecraft/class_10853;field_57809:Iofficial apLekj;ap:I
-
field_57810
private static final int field_57810- See Also:
- Mappings:
Namespace Name Mixin selector named field_57810Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57810:Iintermediary field_57810Lnet/minecraft/class_10853;field_57810:Iofficial aqLekj;aq:I
-
-
Constructor Details
-
FallenTreeFeature
- 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>Lekk;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
generate
- Specified by:
generatein classFeature<FallenTreeFeatureConfig>- 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 aLekk;a(Lekm;)Z
-
generate
private void generate(FallenTreeFeatureConfig config, BlockPos pos, StructureWorldAccess world, Random random) - Mappings:
Namespace Name Mixin selector named generateLnet/minecraft/world/gen/feature/FallenTreeFeature;generate(Lnet/minecraft/world/gen/feature/FallenTreeFeatureConfig;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/random/Random;)Vintermediary method_68309Lnet/minecraft/class_10853;method_68309(Lnet/minecraft/class_10854;Lnet/minecraft/class_2338;Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;)Vofficial aLekj;a(Lemo;Liv;Ldkw;Lazx;)V
-
moveToGroundPos
- Mappings:
Namespace Name Mixin selector named moveToGroundPosLnet/minecraft/world/gen/feature/FallenTreeFeature;moveToGroundPos(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos$Mutable;)Vintermediary method_68304Lnet/minecraft/class_10853;method_68304(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338$class_2339;)Vofficial aLekj;a(Ldkw;Liv$a;)V
-
generateStump
private void generateStump(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, BlockPos.Mutable pos) - Mappings:
Namespace Name Mixin selector named generateStumpLnet/minecraft/world/gen/feature/FallenTreeFeature;generateStump(Lnet/minecraft/world/gen/feature/FallenTreeFeatureConfig;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos$Mutable;)Vintermediary method_68307Lnet/minecraft/class_10853;method_68307(Lnet/minecraft/class_10854;Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338$class_2339;)Vofficial aLekj;a(Lemo;Ldkw;Lazx;Liv$a;)V
-
canPlaceLog
private boolean canPlaceLog(StructureWorldAccess world, int length, BlockPos.Mutable pos, Direction direction) - Mappings:
Namespace Name Mixin selector named canPlaceLogLnet/minecraft/world/gen/feature/FallenTreeFeature;canPlaceLog(Lnet/minecraft/world/StructureWorldAccess;ILnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/util/math/Direction;)Zintermediary method_68302Lnet/minecraft/class_10853;method_68302(Lnet/minecraft/class_5281;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_2350;)Zofficial aLekj;a(Ldkw;ILiv$a;Ljb;)Z
-
generateLog
private void generateLog(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, int length, BlockPos.Mutable pos, Direction direction) - Mappings:
Namespace Name Mixin selector named generateLogLnet/minecraft/world/gen/feature/FallenTreeFeature;generateLog(Lnet/minecraft/world/gen/feature/FallenTreeFeatureConfig;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/random/Random;ILnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/util/math/Direction;)Vintermediary method_68306Lnet/minecraft/class_10853;method_68306(Lnet/minecraft/class_10854;Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_2350;)Vofficial aLekj;a(Lemo;Ldkw;Lazx;ILiv$a;Ljb;)V
-
canReplaceAndHasSolidBelow
- Mappings:
Namespace Name Mixin selector named canReplaceAndHasSolidBelowLnet/minecraft/world/gen/feature/FallenTreeFeature;canReplaceAndHasSolidBelow(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_68300Lnet/minecraft/class_10853;method_68300(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Zofficial aLekj;a(Ldjy;Liv;)Z
-
isSolidBelow
- Mappings:
Namespace Name Mixin selector named isSolidBelowLnet/minecraft/world/gen/feature/FallenTreeFeature;isSolidBelow(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_68313Lnet/minecraft/class_10853;method_68313(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Zofficial bLekj;b(Ldjy;Liv;)Z
-
setBlockStateAndGetPos
private static BlockPos setBlockStateAndGetPos(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, BlockPos.Mutable pos, Function<BlockState, BlockState> stateFunction) - Mappings:
Namespace Name Mixin selector named setBlockStateAndGetPosLnet/minecraft/world/gen/feature/FallenTreeFeature;setBlockStateAndGetPos(Lnet/minecraft/world/gen/feature/FallenTreeFeatureConfig;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos$Mutable;Ljava/util/function/Function;)Lnet/minecraft/util/math/BlockPos;intermediary method_68308Lnet/minecraft/class_10853;method_68308(Lnet/minecraft/class_10854;Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338$class_2339;Ljava/util/function/Function;)Lnet/minecraft/class_2338;official aLekj;a(Lemo;Ldkw;Lazx;Liv$a;Ljava/util/function/Function;)Liv;
-
applyDecorators
private void applyDecorators(StructureWorldAccess world, Random random, Set<BlockPos> positions, List<TreeDecorator> decorators) - Mappings:
Namespace Name Mixin selector named applyDecoratorsLnet/minecraft/world/gen/feature/FallenTreeFeature;applyDecorators(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/random/Random;Ljava/util/Set;Ljava/util/List;)Vintermediary method_68303Lnet/minecraft/class_10853;method_68303(Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;Ljava/util/Set;Ljava/util/List;)Vofficial aLekj;a(Ldkw;Lazx;Ljava/util/Set;Ljava/util/List;)V
-
createStatePlacer
- Mappings:
Namespace Name Mixin selector named createStatePlacerLnet/minecraft/world/gen/feature/FallenTreeFeature;createStatePlacer(Lnet/minecraft/world/StructureWorldAccess;)Ljava/util/function/BiConsumer;intermediary method_68301Lnet/minecraft/class_10853;method_68301(Lnet/minecraft/class_5281;)Ljava/util/function/BiConsumer;official aLekj;a(Ldkw;)Ljava/util/function/BiConsumer;
-
createAxisApplier
- Mappings:
Namespace Name Mixin selector named createAxisApplierLnet/minecraft/world/gen/feature/FallenTreeFeature;createAxisApplier(Lnet/minecraft/util/math/Direction;)Ljava/util/function/Function;intermediary method_68311Lnet/minecraft/class_10853;method_68311(Lnet/minecraft/class_2350;)Ljava/util/function/Function;official aLekj;a(Ljb;)Ljava/util/function/Function;
-