Package net.minecraft.world.gen.feature
Class RootSystemFeature
java.lang.Object
net.minecraft.world.gen.feature.Feature<RootSystemFeatureConfig>
net.minecraft.world.gen.feature.RootSystemFeature
- Mappings:
- Namespace - Name - official - dlq- intermediary - net/minecraft/class_5921- named - net/minecraft/world/gen/feature/RootSystemFeature
- 
Field SummaryFields inherited from class net.minecraft.world.gen.feature.FeatureBAMBOO, 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_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 SummaryConstructorsConstructorDescriptionRootSystemFeature(com.mojang.serialization.Codec<RootSystemFeatureConfig> configCodec) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleangenerate(FeatureContext<RootSystemFeatureConfig> context) private static voidgenerateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos) private static voidgenerateRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, int x, int z, BlockPos.Mutable mutablePos) private static voidgenerateRootsColumn(BlockPos pos, int maxY, StructureWorldAccess world, RootSystemFeatureConfig config, Random random) private static booleangenerateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos) private static booleanhasSpaceForTree(StructureWorldAccess world, RootSystemFeatureConfig config, BlockPos pos) private static booleanisAirOrWater(BlockState state, int height, int allowedVerticalWaterForTree) Methods inherited from class net.minecraft.world.gen.feature.FeaturegenerateIfValid, getCodec, isExposedToAir, isSoil, isSoil, isStone, markBlocksAboveForPostProcessing, notInBlockTagPredicate, setBlockState, setBlockStateIf, testAdjacentStates
- 
Constructor Details- 
RootSystemFeature- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldko;<init>(Lcom/mojang/serialization/Codec;)V- intermediary - <init>- Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)V- named - <init>- Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
 
 
- 
- 
Method Details- 
generate- Specified by:
- generatein class- Feature<RootSystemFeatureConfig>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldko;a(Ldkq;)Z- intermediary - method_13151- Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z- named - generate- Lnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
 
- 
hasSpaceForTreeprivate static boolean hasSpaceForTree(StructureWorldAccess world, RootSystemFeatureConfig config, BlockPos pos) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldlq;a(Lcng;Ldni;Lgu;)Z- intermediary - method_34310- Lnet/minecraft/class_5921;method_34310(Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_2338;)Z- named - hasSpaceForTree- Lnet/minecraft/world/gen/feature/RootSystemFeature;hasSpaceForTree(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/BlockPos;)Z
 
- 
isAirOrWater- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldlq;a(Ldcb;II)Z- intermediary - method_36419- Lnet/minecraft/class_5921;method_36419(Lnet/minecraft/class_2680;II)Z- named - isAirOrWater- Lnet/minecraft/world/gen/feature/RootSystemFeature;isAirOrWater(Lnet/minecraft/block/BlockState;II)Z
 
- 
generateTreeAndRootsprivate static boolean generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldlq;a(Lcng;Lddy;Ldni;Lapf;Lgu$a;Lgu;)Z- intermediary - method_34308- Lnet/minecraft/class_5921;method_34308(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Lnet/minecraft/class_5926;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_2338;)Z- named - generateTreeAndRoots- Lnet/minecraft/world/gen/feature/RootSystemFeature;generateTreeAndRoots(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/util/math/BlockPos;)Z
 
- 
generateRootsColumnprivate static void generateRootsColumn(BlockPos pos, int maxY, StructureWorldAccess world, RootSystemFeatureConfig config, Random random) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldlq;a(Lgu;ILcng;Ldni;Lapf;)V- intermediary - method_39918- Lnet/minecraft/class_5921;method_39918(Lnet/minecraft/class_2338;ILnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_5819;)V- named - generateRootsColumn- Lnet/minecraft/world/gen/feature/RootSystemFeature;generateRootsColumn(Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/random/Random;)V
 
- 
generateRootsprivate static void generateRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, int x, int z, BlockPos.Mutable mutablePos) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldlq;a(Lcng;Ldni;Lapf;IILgu$a;)V- intermediary - method_34311- Lnet/minecraft/class_5921;method_34311(Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_5819;IILnet/minecraft/class_2338$class_2339;)V- named - generateRoots- Lnet/minecraft/world/gen/feature/RootSystemFeature;generateRoots(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/random/Random;IILnet/minecraft/util/math/BlockPos$Mutable;)V
 
- 
generateHangingRootsprivate static void generateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldlq;a(Lcng;Ldni;Lapf;Lgu;Lgu$a;)V- intermediary - method_34312- Lnet/minecraft/class_5921;method_34312(Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338$class_2339;)V- named - generateHangingRoots- Lnet/minecraft/world/gen/feature/RootSystemFeature;generateHangingRoots(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos$Mutable;)V
 
 
-