Package net.minecraft.block.sapling
Class LargeTreeSaplingGenerator
java.lang.Object
net.minecraft.block.sapling.SaplingGenerator
net.minecraft.block.sapling.LargeTreeSaplingGenerator
- Direct Known Subclasses:
DarkOakSaplingGenerator,JungleSaplingGenerator,SpruceSaplingGenerator
- Mappings:
Namespace Name official dbdintermediary net/minecraft/class_2650named net/minecraft/block/sapling/LargeTreeSaplingGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanGenerateLargeTree(BlockState state, BlockView world, BlockPos pos, int x, int z) booleangenerate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) booleangenerateLargeTree(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int x, int z) protected abstract @Nullable RegistryKey<ConfiguredFeature<?,?>> getLargeTreeFeature(Random random) Methods inherited from class net.minecraft.block.sapling.SaplingGenerator
getTreeFeature
-
Constructor Details
-
LargeTreeSaplingGenerator
public LargeTreeSaplingGenerator()
-
-
Method Details
-
generate
public boolean generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) - Overrides:
generatein classSaplingGenerator- Mappings:
Namespace Name Mixin selector official aLdbe;a(Laif;Lddv;Lgu;Ldby;Lapf;)Zintermediary method_11431Lnet/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;)Znamed generateLnet/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
-
getLargeTreeFeature
@Nullable protected abstract @Nullable RegistryKey<ConfiguredFeature<?,?>> getLargeTreeFeature(Random random) - Mappings:
Namespace Name Mixin selector official aLdbd;a(Lapf;)Lacp;intermediary method_11443Lnet/minecraft/class_2650;method_11443(Lnet/minecraft/class_5819;)Lnet/minecraft/class_5321;named getLargeTreeFeatureLnet/minecraft/block/sapling/LargeTreeSaplingGenerator;getLargeTreeFeature(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/registry/RegistryKey;
-
generateLargeTree
public boolean generateLargeTree(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int x, int z) - Mappings:
Namespace Name Mixin selector official aLdbd;a(Laif;Lddv;Lgu;Ldby;Lapf;II)Zintermediary method_11444Lnet/minecraft/class_2650;method_11444(Lnet/minecraft/class_3218;Lnet/minecraft/class_2794;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_5819;II)Znamed generateLargeTreeLnet/minecraft/block/sapling/LargeTreeSaplingGenerator;generateLargeTree(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;II)Z
-
canGenerateLargeTree
public static boolean canGenerateLargeTree(BlockState state, BlockView world, BlockPos pos, int x, int z) - Mappings:
Namespace Name Mixin selector official aLdbd;a(Ldby;Lclq;Lgu;II)Zintermediary method_11442Lnet/minecraft/class_2650;method_11442(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;II)Znamed canGenerateLargeTreeLnet/minecraft/block/sapling/LargeTreeSaplingGenerator;canGenerateLargeTree(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;II)Z
-