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 cxz
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 Lcya;a(Lahm;Ldaq;Lgp;Lcyt;Laoh;)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
    • getLargeTreeFeature

      @Nullable protected abstract @Nullable RegistryKey<ConfiguredFeature<?,?>> getLargeTreeFeature(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxz;a(Laoh;)Lace;
      intermediary method_11443 Lnet/minecraft/class_2650;method_11443(Lnet/minecraft/class_5819;)Lnet/minecraft/class_5321;
      named getLargeTreeFeature Lnet/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 a Lcxz;a(Lahm;Ldaq;Lgp;Lcyt;Laoh;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;Lnet/minecraft/class_5819;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;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 a Lcxz;a(Lcyt;Lcjc;Lgp;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