Package net.minecraft.block.sapling
Class SaplingGenerator
java.lang.Object
net.minecraft.block.sapling.SaplingGenerator
- Direct Known Subclasses:
- AcaciaSaplingGenerator,- AzaleaSaplingGenerator,- BirchSaplingGenerator,- CherrySaplingGenerator,- LargeTreeSaplingGenerator,- MangroveSaplingGenerator,- OakSaplingGenerator
- Mappings:
- Namespace - Name - official - dbh- intermediary - net/minecraft/class_2647- named - net/minecraft/block/sapling/SaplingGenerator
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate booleanareFlowersNearby(WorldAccess world, BlockPos pos) booleangenerate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) protected abstract @Nullable RegistryKey<ConfiguredFeature<?,?>> getTreeFeature(Random random, boolean bees) 
- 
Constructor Details- 
SaplingGeneratorpublic SaplingGenerator()
 
- 
- 
Method Details- 
getTreeFeature@Nullable protected abstract @Nullable RegistryKey<ConfiguredFeature<?,?>> getTreeFeature(Random random, boolean bees) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldbh;a(Lapf;Z)Lacp;- intermediary - method_11430- Lnet/minecraft/class_2647;method_11430(Lnet/minecraft/class_5819;Z)Lnet/minecraft/class_5321;- named - getTreeFeature- Lnet/minecraft/block/sapling/SaplingGenerator;getTreeFeature(Lnet/minecraft/util/math/random/Random;Z)Lnet/minecraft/registry/RegistryKey;
 
- 
generatepublic boolean generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldbh;a(Laif;Lddy;Lgu;Ldcb;Lapf;)Z- intermediary - method_11431- Lnet/minecraft/class_2647;method_11431(Lnet/minecraft/class_3218;Lnet/minecraft/class_2794;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_5819;)Z- named - generate- Lnet/minecraft/block/sapling/SaplingGenerator;generate(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/random/Random;)Z
 
- 
areFlowersNearby- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldbh;a(Lcmn;Lgu;)Z- intermediary - method_24282- Lnet/minecraft/class_2647;method_24282(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z- named - areFlowersNearby- Lnet/minecraft/block/sapling/SaplingGenerator;areFlowersNearby(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
 
 
-