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 cjz
intermediary net/minecraft/class_2650
named net/minecraft/block/sapling/LargeTreeSaplingGenerator
  • Constructor Details

    • LargeTreeSaplingGenerator

      public LargeTreeSaplingGenerator()
  • Method Details

    • generate

      public boolean generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random)
      Overrides:
      generate in class SaplingGenerator
      Mappings:
      Namespace Name Mixin selector
      official a Lcka;a(Labr;Lcmn;Lgg;Lcks;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 @Nullable ConfiguredFeature<TreeFeatureConfig,?> createLargeTreeFeature(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjz;a(Ljava/util/Random;)Lcrn;
      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 x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjz;a(Labr;Lcmn;Lgg;Lcks;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 Lcjz;a(Lcks;Lbvt;Lgg;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