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 cnj
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 Lcnk;a(Ladi;Lcpz;Lgh;Lcoc;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
    • getLargeTreeFeature

      @Nullable protected abstract @Nullable ConfiguredFeature<?,?> getLargeTreeFeature(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnj;a(Ljava/util/Random;)Lcvv;
      intermediary method_11443 Lnet/minecraft/class_2650;method_11443(Ljava/util/Random;)Lnet/minecraft/class_2975;
      named getLargeTreeFeature Lnet/minecraft/block/sapling/LargeTreeSaplingGenerator;getLargeTreeFeature(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 Lcnj;a(Ladi;Lcpz;Lgh;Lcoc;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 Lcnj;a(Lcoc;Lbzj;Lgh;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