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
official ctp
intermediary net/minecraft/class_5921
named net/minecraft/world/gen/feature/RootSystemFeature
  • Constructor Details

    • RootSystemFeature

      public RootSystemFeature(com.mojang.serialization.Codec<RootSystemFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcsf;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)V
      named <init> Lnet/minecraft/world/gen/feature/Feature;<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
      official a Lcsf;a(Lcsg;)Z
      intermediary method_13151 Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z
      named generate Lnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
    • hasSpaceForTree

      private boolean hasSpaceForTree(StructureWorldAccess world, RootSystemFeatureConfig config, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a(Lbxk;Lcwc;Lgg;)Z
      intermediary method_34310 Lnet/minecraft/class_5921;method_34310(Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_2338;)Z
      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
    • method_36419

      private static boolean method_36419(BlockState blockState, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a(Lcks;II)Z
      intermediary method_36419 Lnet/minecraft/class_5921;method_36419(Lnet/minecraft/class_2680;II)Z
      named method_36419 Lnet/minecraft/world/gen/feature/RootSystemFeature;method_36419(Lnet/minecraft/block/BlockState;II)Z
    • generateTreeAndRoots

      private boolean generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a(Lbxk;Lcmn;Lcwc;Ljava/util/Random;Lgg$a;Lgg;)Z
      intermediary method_34308 Lnet/minecraft/class_5921;method_34308(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Lnet/minecraft/class_5926;Ljava/util/Random;Lnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_2338;)Z
      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;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/util/math/BlockPos;)Z
    • generateFeature

      private boolean generateFeature(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a(Lbxk;Lcmn;Lcwc;Ljava/util/Random;Lgg;)Z
      intermediary method_34309 Lnet/minecraft/class_5921;method_34309(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Lnet/minecraft/class_5926;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
      named generateFeature Lnet/minecraft/world/gen/feature/RootSystemFeature;generateFeature(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z
    • generateRoots

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

      private void generateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos)
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a(Lbxk;Lcwc;Ljava/util/Random;Lgg;Lgg$a;)V
      intermediary method_34312 Lnet/minecraft/class_5921;method_34312(Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338$class_2339;)V
      named generateHangingRoots Lnet/minecraft/world/gen/feature/RootSystemFeature;generateHangingRoots(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/feature/RootSystemFeatureConfig;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos$Mutable;)V