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/FallenTreeFeature
intermediary net/minecraft/class_10853
official ekv
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
private static final int
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, 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 void
applyDecorators
(StructureWorldAccess world, Random random, Set<BlockPos> positions, List<TreeDecorator> decorators) private boolean
canPlaceLog
(StructureWorldAccess world, int length, BlockPos.Mutable pos, Direction direction) private boolean
canReplaceAndHasSolidBelow
(WorldAccess world, BlockPos pos) private static Function
<BlockState, BlockState> createAxisApplier
(Direction direction) private BiConsumer
<BlockPos, BlockState> private void
generate
(FallenTreeFeatureConfig config, BlockPos pos, StructureWorldAccess world, Random random) boolean
generate
(FeatureContext<FallenTreeFeatureConfig> context) private void
generateLog
(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, int length, BlockPos.Mutable pos, Direction direction) private void
generateStump
(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, BlockPos.Mutable pos) private boolean
isSolidBelow
(WorldAccess world, BlockPos pos) private void
moveToGroundPos
(StructureWorldAccess world, BlockPos.Mutable pos) private BlockPos
setBlockStateAndGetPos
(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_57808
Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57808:I
intermediary field_57808
Lnet/minecraft/class_10853;field_57808:I
official a
Lekv;a:I
-
field_57811
private static final int field_57811- See Also:
- Mappings:
Namespace Name Mixin selector named field_57811
Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57811:I
intermediary field_57811
Lnet/minecraft/class_10853;field_57811:I
official b
Lekv;b:I
-
field_57812
private static final int field_57812- See Also:
- Mappings:
Namespace Name Mixin selector named field_57812
Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57812:I
intermediary field_57812
Lnet/minecraft/class_10853;field_57812:I
official c
Lekv;c:I
-
field_57813
private static final int field_57813- See Also:
- Mappings:
Namespace Name Mixin selector named field_57813
Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57813:I
intermediary field_57813
Lnet/minecraft/class_10853;field_57813:I
official d
Lekv;d:I
-
field_57809
private static final int field_57809- See Also:
- Mappings:
Namespace Name Mixin selector named field_57809
Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57809:I
intermediary field_57809
Lnet/minecraft/class_10853;field_57809:I
official ap
Lekv;ap:I
-
field_57810
private static final int field_57810- See Also:
- Mappings:
Namespace Name Mixin selector named field_57810
Lnet/minecraft/world/gen/feature/FallenTreeFeature;field_57810:I
intermediary field_57810
Lnet/minecraft/class_10853;field_57810:I
official aq
Lekv;aq:I
-
-
Constructor Details
-
FallenTreeFeature
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)V
official <init>
Lekw;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
generate
- Specified by:
generate
in classFeature<FallenTreeFeatureConfig>
- Mappings:
Namespace Name Mixin selector named generate
Lnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
intermediary method_13151
Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z
official a
Lekw;a(Leky;)Z
-
generate
private void generate(FallenTreeFeatureConfig config, BlockPos pos, StructureWorldAccess world, Random random) - Mappings:
Namespace Name Mixin selector named generate
Lnet/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;)V
intermediary method_68309
Lnet/minecraft/class_10853;method_68309(Lnet/minecraft/class_10854;Lnet/minecraft/class_2338;Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;)V
official a
Lekv;a(Lena;Liw;Ldli;Lbai;)V
-
moveToGroundPos
- Mappings:
Namespace Name Mixin selector named moveToGroundPos
Lnet/minecraft/world/gen/feature/FallenTreeFeature;moveToGroundPos(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos$Mutable;)V
intermediary method_68304
Lnet/minecraft/class_10853;method_68304(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338$class_2339;)V
official a
Lekv;a(Ldli;Liw$a;)V
-
generateStump
private void generateStump(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, BlockPos.Mutable pos) - Mappings:
Namespace Name Mixin selector named generateStump
Lnet/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;)V
intermediary method_68307
Lnet/minecraft/class_10853;method_68307(Lnet/minecraft/class_10854;Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338$class_2339;)V
official a
Lekv;a(Lena;Ldli;Lbai;Liw$a;)V
-
canPlaceLog
private boolean canPlaceLog(StructureWorldAccess world, int length, BlockPos.Mutable pos, Direction direction) - Mappings:
Namespace Name Mixin selector named canPlaceLog
Lnet/minecraft/world/gen/feature/FallenTreeFeature;canPlaceLog(Lnet/minecraft/world/StructureWorldAccess;ILnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/util/math/Direction;)Z
intermediary method_68302
Lnet/minecraft/class_10853;method_68302(Lnet/minecraft/class_5281;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_2350;)Z
official a
Lekv;a(Ldli;ILiw$a;Ljc;)Z
-
generateLog
private void generateLog(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, int length, BlockPos.Mutable pos, Direction direction) - Mappings:
Namespace Name Mixin selector named generateLog
Lnet/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;)V
intermediary method_68306
Lnet/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;)V
official a
Lekv;a(Lena;Ldli;Lbai;ILiw$a;Ljc;)V
-
canReplaceAndHasSolidBelow
- Mappings:
Namespace Name Mixin selector named canReplaceAndHasSolidBelow
Lnet/minecraft/world/gen/feature/FallenTreeFeature;canReplaceAndHasSolidBelow(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_68300
Lnet/minecraft/class_10853;method_68300(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
official a
Lekv;a(Ldkk;Liw;)Z
-
isSolidBelow
- Mappings:
Namespace Name Mixin selector named isSolidBelow
Lnet/minecraft/world/gen/feature/FallenTreeFeature;isSolidBelow(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_68313
Lnet/minecraft/class_10853;method_68313(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
official b
Lekv;b(Ldkk;Liw;)Z
-
setBlockStateAndGetPos
private BlockPos setBlockStateAndGetPos(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, BlockPos.Mutable pos, Function<BlockState, BlockState> stateFunction) - Mappings:
Namespace Name Mixin selector named setBlockStateAndGetPos
Lnet/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_68308
Lnet/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 a
Lekv;a(Lena;Ldli;Lbai;Liw$a;Ljava/util/function/Function;)Liw;
-
applyDecorators
private void applyDecorators(StructureWorldAccess world, Random random, Set<BlockPos> positions, List<TreeDecorator> decorators) - Mappings:
Namespace Name Mixin selector named applyDecorators
Lnet/minecraft/world/gen/feature/FallenTreeFeature;applyDecorators(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/random/Random;Ljava/util/Set;Ljava/util/List;)V
intermediary method_68303
Lnet/minecraft/class_10853;method_68303(Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;Ljava/util/Set;Ljava/util/List;)V
official a
Lekv;a(Ldli;Lbai;Ljava/util/Set;Ljava/util/List;)V
-
createStatePlacer
- Mappings:
Namespace Name Mixin selector named createStatePlacer
Lnet/minecraft/world/gen/feature/FallenTreeFeature;createStatePlacer(Lnet/minecraft/world/StructureWorldAccess;)Ljava/util/function/BiConsumer;
intermediary method_68301
Lnet/minecraft/class_10853;method_68301(Lnet/minecraft/class_5281;)Ljava/util/function/BiConsumer;
official a
Lekv;a(Ldli;)Ljava/util/function/BiConsumer;
-
createAxisApplier
- Mappings:
Namespace Name Mixin selector named createAxisApplier
Lnet/minecraft/world/gen/feature/FallenTreeFeature;createAxisApplier(Lnet/minecraft/util/math/Direction;)Ljava/util/function/Function;
intermediary method_68311
Lnet/minecraft/class_10853;method_68311(Lnet/minecraft/class_2350;)Ljava/util/function/Function;
official a
Lekv;a(Ljc;)Ljava/util/function/Function;
-