Class RootSystemFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<RootSystemFeatureConfig>
net.minecraft.world.gen.feature.RootSystemFeature

public class RootSystemFeature extends Feature<RootSystemFeatureConfig>
Mappings:
Namespace Name
named net/minecraft/world/gen/feature/RootSystemFeature
intermediary net/minecraft/class_5921
official ehx
  • Constructor Details

    • RootSystemFeature

      public RootSystemFeature(com.mojang.serialization.Codec<RootSystemFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)V
      official <init> Legv;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • generate

      public boolean generate(FeatureContext<RootSystemFeatureConfig> context)
      Specified by:
      generate in class Feature<RootSystemFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
      intermediary method_13151 Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z
      official a Legv;a(Legx;)Z
    • hasSpaceForTree

      private static boolean hasSpaceForTree(StructureWorldAccess world, RootSystemFeatureConfig config, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named hasSpaceForTree Lnet/minecraft/world/gen/feature/RootSystemFeature;hasSpaceForTree(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_34310 Lnet/minecraft/class_5921;method_34310(Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_2338;)Z
      official a Lehx;a(Ldif;Lejp;Ljh;)Z
    • isAirOrWater

      private static boolean isAirOrWater(BlockState state, int height, int allowedVerticalWaterForTree)
      Mappings:
      Namespace Name Mixin selector
      named isAirOrWater Lnet/minecraft/world/gen/feature/RootSystemFeature;isAirOrWater(Lnet/minecraft/block/BlockState;II)Z
      intermediary method_36419 Lnet/minecraft/class_5921;method_36419(Lnet/minecraft/class_2680;II)Z
      official a Lehx;a(Ldxu;II)Z
    • generateTreeAndRoots

      private static boolean generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named generateTreeAndRoots Lnet/minecraft/world/gen/feature/RootSystemFeature;generateTreeAndRoots(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_34308 Lnet/minecraft/class_5921;method_34308(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Lnet/minecraft/class_5926;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_2338;)Z
      official a Lehx;a(Ldif;Ldzq;Lejp;Lbam;Ljh$a;Ljh;)Z
    • generateRootsColumn

      private static void generateRootsColumn(BlockPos pos, int maxY, StructureWorldAccess world, RootSystemFeatureConfig config, Random random)
      Mappings:
      Namespace Name Mixin selector
      named generateRootsColumn Lnet/minecraft/world/gen/feature/RootSystemFeature;generateRootsColumn(Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/random/Random;)V
      intermediary method_39918 Lnet/minecraft/class_5921;method_39918(Lnet/minecraft/class_2338;ILnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_5819;)V
      official a Lehx;a(Ljh;ILdif;Lejp;Lbam;)V
    • generateRoots

      private static void generateRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, int x, int z, BlockPos.Mutable mutablePos)
      Mappings:
      Namespace Name Mixin selector
      named generateRoots Lnet/minecraft/world/gen/feature/RootSystemFeature;generateRoots(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/random/Random;IILnet/minecraft/util/math/BlockPos$Mutable;)V
      intermediary method_34311 Lnet/minecraft/class_5921;method_34311(Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_5819;IILnet/minecraft/class_2338$class_2339;)V
      official a Lehx;a(Ldif;Lejp;Lbam;IILjh$a;)V
    • generateHangingRoots

      private static void generateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos)
      Mappings:
      Namespace Name Mixin selector
      named generateHangingRoots Lnet/minecraft/world/gen/feature/RootSystemFeature;generateHangingRoots(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos$Mutable;)V
      intermediary method_34312 Lnet/minecraft/class_5921;method_34312(Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338$class_2339;)V
      official a Lehx;a(Ldif;Lejp;Lbam;Ljh;Ljh$a;)V