Package net.minecraft

Class class_7390


public class class_7390 extends TrunkPlacer
Mappings:
Namespace Name
official dfq
intermediary net/minecraft/class_7390
named net/minecraft/class_7390
  • Field Details

    • field_38793

      public static final com.mojang.serialization.Codec<class_7390> field_38793
      Mappings:
      Namespace Name Mixin selector
      official a Ldfq;a:Lcom/mojang/serialization/Codec;
      intermediary field_38793 Lnet/minecraft/class_7390;field_38793:Lcom/mojang/serialization/Codec;
      named field_38793 Lnet/minecraft/class_7390;field_38793:Lcom/mojang/serialization/Codec;
    • field_38794

      private final IntProvider field_38794
      Mappings:
      Namespace Name Mixin selector
      official b Ldfq;b:Lawt;
      intermediary field_38794 Lnet/minecraft/class_7390;field_38794:Lnet/minecraft/class_6017;
      named field_38794 Lnet/minecraft/class_7390;field_38794:Lnet/minecraft/util/math/intprovider/IntProvider;
    • field_38795

      private final float field_38795
      Mappings:
      Namespace Name Mixin selector
      official h Ldfq;h:F
      intermediary field_38795 Lnet/minecraft/class_7390;field_38795:F
      named field_38795 Lnet/minecraft/class_7390;field_38795:F
    • field_38796

      private final IntProvider field_38796
      Mappings:
      Namespace Name Mixin selector
      official i Ldfq;i:Lawt;
      intermediary field_38796 Lnet/minecraft/class_7390;field_38796:Lnet/minecraft/class_6017;
      named field_38796 Lnet/minecraft/class_7390;field_38796:Lnet/minecraft/util/math/intprovider/IntProvider;
    • field_38797

      private final RegistryEntryList<Block> field_38797
      Mappings:
      Namespace Name Mixin selector
      official j Ldfq;j:Lgx;
      intermediary field_38797 Lnet/minecraft/class_7390;field_38797:Lnet/minecraft/class_6885;
      named field_38797 Lnet/minecraft/class_7390;field_38797:Lnet/minecraft/util/registry/RegistryEntryList;
  • Constructor Details

  • Method Details

    • getType

      protected TrunkPlacerType<?> getType()
      Specified by:
      getType in class TrunkPlacer
      Mappings:
      Namespace Name Mixin selector
      official a Ldfo;a()Ldfp;
      intermediary method_28903 Lnet/minecraft/class_5141;method_28903()Lnet/minecraft/class_5142;
      named getType Lnet/minecraft/world/gen/trunk/TrunkPlacer;getType()Lnet/minecraft/world/gen/trunk/TrunkPlacerType;
    • generate

      public List<FoliagePlacer.TreeNode> generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config)
      Generates the trunk blocks and return a list of tree nodes to place foliage around
      Specified by:
      generate in class TrunkPlacer
      Mappings:
      Namespace Name Mixin selector
      official a Ldfo;a(Lcdy;Ljava/util/function/BiConsumer;Laki;ILgm;Lddm;)Ljava/util/List;
      intermediary method_26991 Lnet/minecraft/class_5141;method_26991(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;ILnet/minecraft/class_2338;Lnet/minecraft/class_4643;)Ljava/util/List;
      named generate Lnet/minecraft/world/gen/trunk/TrunkPlacer;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/world/gen/random/AbstractRandom;ILnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/TreeFeatureConfig;)Ljava/util/List;
    • method_43199

      private void method_43199(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, AbstractRandom abstractRandom, int int2, TreeFeatureConfig treeFeatureConfig, List<FoliagePlacer.TreeNode> list, BlockPos.Mutable mutable, int int3, Direction direction, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      official a Ldfq;a(Lcdy;Ljava/util/function/BiConsumer;Laki;ILddm;Ljava/util/List;Lgm$a;ILgr;II)V
      intermediary method_43199 Lnet/minecraft/class_7390;method_43199(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;ILnet/minecraft/class_4643;Ljava/util/List;Lnet/minecraft/class_2338$class_2339;ILnet/minecraft/class_2350;II)V
      named method_43199 Lnet/minecraft/class_7390;method_43199(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/world/gen/random/AbstractRandom;ILnet/minecraft/world/gen/feature/TreeFeatureConfig;Ljava/util/List;Lnet/minecraft/util/math/BlockPos$Mutable;ILnet/minecraft/util/math/Direction;II)V
    • method_43196

      protected boolean method_43196(TestableWorld testableWorld, BlockPos blockPos)
      Overrides:
      method_43196 in class TrunkPlacer
      Mappings:
      Namespace Name Mixin selector
      official a Ldfo;a(Lcdy;Lgm;)Z
      intermediary method_43196 Lnet/minecraft/class_5141;method_43196(Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z
      named method_43196 Lnet/minecraft/world/gen/trunk/TrunkPlacer;method_43196(Lnet/minecraft/world/TestableWorld;Lnet/minecraft/util/math/BlockPos;)Z