Uses of Class
net.minecraft.world.gen.feature.TreeFeatureConfig
Packages that use TreeFeatureConfig
Package
Description
The base package for all Minecraft classes.
-
Uses of TreeFeatureConfig in net.minecraft
Methods in net.minecraft with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionclass_7390.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundclass_7386.method_43168(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) class_7387.method_43168(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected voidclass_7386.method_43172(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected voidclass_7387.method_43172(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) private voidclass_7390.method_43199(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, int int2, TreeFeatureConfig treeFeatureConfig, List<FoliagePlacer.TreeNode> list, BlockPos.Mutable mutable, int int3, Direction direction, int int4, int int5) -
Uses of TreeFeatureConfig in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature with type parameters of type TreeFeatureConfigModifier and TypeFieldDescriptionstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.ACACIAstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.AZALEA_TREEstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.BIRCHstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.BIRCH_BEES_0002static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.BIRCH_BEES_002static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.BIRCH_BEES_005static final com.mojang.serialization.Codec<TreeFeatureConfig>TreeFeatureConfig.CODECstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.DARK_OAKstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.FANCY_OAKstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.FANCY_OAK_BEESstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.FANCY_OAK_BEES_0002static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.FANCY_OAK_BEES_002static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.FANCY_OAK_BEES_005static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.field_38810static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.field_38811static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.JUNGLE_BUSHstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.JUNGLE_TREEstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.JUNGLE_TREE_NO_VINEstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.MEGA_JUNGLE_TREEstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.MEGA_PINEstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.MEGA_SPRUCEstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.OAKstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.OAK_BEES_0002static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.OAK_BEES_002static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.OAK_BEES_005static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.PINEstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.SPRUCEstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.SUPER_BIRCH_BEESstatic final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.SUPER_BIRCH_BEES_0002static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,?>> TreeConfiguredFeatures.SWAMP_OAKstatic final Feature<TreeFeatureConfig>Feature.TREEMethods in net.minecraft.world.gen.feature that return TreeFeatureConfigMethods in net.minecraft.world.gen.feature with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionprivate booleanTreeFeature.generate(StructureWorldAccess world, AbstractRandom abstractRandom, BlockPos pos, BiConsumer<BlockPos, BlockState> biConsumer, BiConsumer<BlockPos, BlockState> biConsumer2, BiConsumer<BlockPos, BlockState> biConsumer3, TreeFeatureConfig treeFeatureConfig) private intTreeFeature.getTopPosition(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config) Method parameters in net.minecraft.world.gen.feature with type arguments of type TreeFeatureConfigModifier and TypeMethodDescriptionfinal booleanTreeFeature.generate(FeatureContext<TreeFeatureConfig> context) Constructor parameters in net.minecraft.world.gen.feature with type arguments of type TreeFeatureConfigModifierConstructorDescriptionTreeFeature(com.mojang.serialization.Codec<TreeFeatureConfig> configCodec) -
Uses of TreeFeatureConfig in net.minecraft.world.gen.foliage
Methods in net.minecraft.world.gen.foliage with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionprotected voidAcaciaFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidBlobFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidBushFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidDarkOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidJungleFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidLargeOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidMegaPineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidPineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidRandomSpreadFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidSpruceFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidFoliagePlacer.generateSquare(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.intAcaciaFoliagePlacer.getRandomHeight(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) intBlobFoliagePlacer.getRandomHeight(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) intDarkOakFoliagePlacer.getRandomHeight(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) abstract intFoliagePlacer.getRandomHeight(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) intJungleFoliagePlacer.getRandomHeight(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) intMegaPineFoliagePlacer.getRandomHeight(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) intPineFoliagePlacer.getRandomHeight(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) intRandomSpreadFoliagePlacer.getRandomHeight(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) intSpruceFoliagePlacer.getRandomHeight(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) protected static voidFoliagePlacer.placeFoliageBlock(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, BlockPos pos) -
Uses of TreeFeatureConfig in net.minecraft.world.gen.trunk
Methods in net.minecraft.world.gen.trunk with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionBendingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode>TrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprotected booleanTrunkPlacer.getAndSetState(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected booleanTrunkPlacer.getAndSetState(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig, Function<BlockState, BlockState> function) private voidLargeOakTrunkPlacer.makeBranches(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private booleanLargeOakTrunkPlacer.makeOrCheckBranch(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private voidGiantTrunkPlacer.setLog(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static voidTrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, BlockPos pos, TreeFeatureConfig config) protected voidTrunkPlacer.trySetState(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig)