Class AlterGroundTreeDecorator

java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.AlterGroundTreeDecorator

public class AlterGroundTreeDecorator extends TreeDecorator
Mappings:
Namespace Name
official dcc
intermediary net/minecraft/class_4658
named net/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<AlterGroundTreeDecorator> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldcc;a:Lcom/mojang/serialization/Codec;
      intermediary field_24957 Lnet/minecraft/class_4658;field_24957:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
    • provider

      private final BlockStateProvider provider
      Mappings:
      Namespace Name Mixin selector
      official b Ldcc;b:Ldbg;
      intermediary field_21316 Lnet/minecraft/class_4658;field_21316:Lnet/minecraft/class_4651;
      named provider Lnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;provider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
  • Constructor Details

    • AlterGroundTreeDecorator

      public AlterGroundTreeDecorator(BlockStateProvider provider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldcc;<init>(Ldbg;)V
      intermediary <init> Lnet/minecraft/class_4658;<init>(Lnet/minecraft/class_4651;)V
      named <init> Lnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;<init>(Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;)V
  • Method Details

    • getType

      protected TreeDecoratorType<?> getType()
      Specified by:
      getType in class TreeDecorator
      Mappings:
      Namespace Name Mixin selector
      official a Ldcg;a()Ldch;
      intermediary method_28893 Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;
      named getType Lnet/minecraft/world/gen/treedecorator/TreeDecorator;getType()Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
    • generate

      public void generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
      Specified by:
      generate in class TreeDecorator
      Mappings:
      Namespace Name Mixin selector
      official a Ldcg;a(Lcaj;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
      intermediary method_23469 Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
      named generate Lnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
    • setArea

      private void setArea(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcc;a(Lcaj;Ljava/util/function/BiConsumer;Ljava/util/Random;Lgh;)V
      intermediary method_23462 Lnet/minecraft/class_4658;method_23462(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;)V
      named setArea Lnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;setArea(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
    • setColumn

      private void setColumn(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Ldcc;b(Lcaj;Ljava/util/function/BiConsumer;Ljava/util/Random;Lgh;)V
      intermediary method_23463 Lnet/minecraft/class_4658;method_23463(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;)V
      named setColumn Lnet/minecraft/world/gen/treedecorator/AlterGroundTreeDecorator;setColumn(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V