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
public abstract class LargeTreeSaplingGenerator extends SaplingGenerator
- Mappings:
Namespace Name official chb
intermediary net/minecraft/class_2650
named net/minecraft/block/sapling/LargeTreeSaplingGenerator
-
Constructor Summary
Constructors Constructor Description LargeTreeSaplingGenerator()
-
Method Summary
Modifier and Type Method Description static boolean
canGenerateLargeTree(BlockState state, BlockView world, BlockPos pos, int x, int z)
protected abstract ConfiguredFeature<TreeFeatureConfig,?>
createLargeTreeFeature(Random random)
boolean
generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random)
boolean
generateLargeTree(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int int2, int int3)
Methods inherited from class net.minecraft.block.sapling.SaplingGenerator
createTreeFeature
-
Constructor Details
-
LargeTreeSaplingGenerator
public LargeTreeSaplingGenerator()
-
-
Method Details
-
generate
public boolean generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random)- Overrides:
generate
in classSaplingGenerator
- Mappings:
Namespace Name Mixin selector official a
Lchc;a(Laav;Lcjn;Lfx;Lcht;Ljava/util/Random;)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;Ljava/util/Random;)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;Ljava/util/Random;)Z
-
createLargeTreeFeature
@Nullable protected abstract ConfiguredFeature<TreeFeatureConfig,?> createLargeTreeFeature(Random random)- Mappings:
Namespace Name Mixin selector official a
Lchb;a(Ljava/util/Random;)Lcnx;
intermediary method_11443
Lnet/minecraft/class_2650;method_11443(Ljava/util/Random;)Lnet/minecraft/class_2975;
named createLargeTreeFeature
Lnet/minecraft/block/sapling/LargeTreeSaplingGenerator;createLargeTreeFeature(Ljava/util/Random;)Lnet/minecraft/world/gen/feature/ConfiguredFeature;
-
generateLargeTree
public boolean generateLargeTree(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int int2, int int3)- Mappings:
Namespace Name Mixin selector official a
Lchb;a(Laav;Lcjn;Lfx;Lcht;Ljava/util/Random;II)Z
intermediary method_11444
Lnet/minecraft/class_2650;method_11444(Lnet/minecraft/class_3218;Lnet/minecraft/class_2794;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Ljava/util/Random;II)Z
named generateLargeTree
Lnet/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;Ljava/util/Random;II)Z
-
canGenerateLargeTree
public static boolean canGenerateLargeTree(BlockState state, BlockView world, BlockPos pos, int x, int z)- Mappings:
Namespace Name Mixin selector official a
Lchb;a(Lcht;Lbsz;Lfx;II)Z
intermediary method_11442
Lnet/minecraft/class_2650;method_11442(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;II)Z
named canGenerateLargeTree
Lnet/minecraft/block/sapling/LargeTreeSaplingGenerator;canGenerateLargeTree(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;II)Z
-