Class AlterGroundTreeDecorator

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

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

    • CODEC

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

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

    • AlterGroundTreeDecorator

      public AlterGroundTreeDecorator​(BlockStateProvider provider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcua;<init>(Lcth;)V
      intermediary <init> Lnet/minecraft/class_4658;<init>(Lnet/minecraft/class_4651;)V
      named <init> Lnet/minecraft/world/gen/tree/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 Lcue;a()Lcuf;
      intermediary method_28893 Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;
      named getType Lnet/minecraft/world/gen/tree/TreeDecorator;getType()Lnet/minecraft/world/gen/tree/TreeDecoratorType;
    • generate

      public void generate​(StructureWorldAccess world, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, Set<BlockPos> placedStates, BlockBox box)
      Specified by:
      generate in class TreeDecorator
      Mappings:
      Namespace Name Mixin selector
      official a Lcue;a(Lbuq;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lcwn;)V
      intermediary method_23469 Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_5281;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/class_3341;)V
      named generate Lnet/minecraft/world/gen/tree/TreeDecorator;generate(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/util/math/BlockBox;)V
    • setArea

      private void setArea​(ModifiableTestableWorld world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcua;a(Lbua;Ljava/util/Random;Lfx;)V
      intermediary method_23462 Lnet/minecraft/class_4658;method_23462(Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;)V
      named setArea Lnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;setArea(Lnet/minecraft/world/ModifiableTestableWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
    • setColumn

      private void setColumn​(ModifiableTestableWorld world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lcua;b(Lbua;Ljava/util/Random;Lfx;)V
      intermediary method_23463 Lnet/minecraft/class_4658;method_23463(Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;)V
      named setColumn Lnet/minecraft/world/gen/tree/AlterGroundTreeDecorator;setColumn(Lnet/minecraft/world/ModifiableTestableWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V