Class AttachedToLeavesTreeDecorator

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

public class AttachedToLeavesTreeDecorator extends TreeDecorator
Mappings:
Namespace Name
official egy
intermediary net/minecraft/class_7389
named net/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<AttachedToLeavesTreeDecorator> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Legy;a:Lcom/mojang/serialization/Codec;
      intermediary field_38783 Lnet/minecraft/class_7389;field_38783:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
    • probability

      protected final float probability
      Mappings:
      Namespace Name Mixin selector
      official b Legy;b:F
      intermediary field_38784 Lnet/minecraft/class_7389;field_38784:F
      named probability Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;probability:F
    • exclusionRadiusXZ

      protected final int exclusionRadiusXZ
      Mappings:
      Namespace Name Mixin selector
      official c Legy;c:I
      intermediary field_38785 Lnet/minecraft/class_7389;field_38785:I
      named exclusionRadiusXZ Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;exclusionRadiusXZ:I
    • exclusionRadiusY

      protected final int exclusionRadiusY
      Mappings:
      Namespace Name Mixin selector
      official d Legy;d:I
      intermediary field_38786 Lnet/minecraft/class_7389;field_38786:I
      named exclusionRadiusY Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;exclusionRadiusY:I
    • blockProvider

      protected final List<BlockStateProvider> blockProvider
      Mappings:
      Namespace Name Mixin selector
      official e Legy;e:Ljava/util/List;
      intermediary field_38787 Lnet/minecraft/class_7389;field_38787:Ljava/util/List;
      named blockProvider Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;blockProvider:Ljava/util/List;
    • requiredEmptyBlocks

      protected final int requiredEmptyBlocks
      Mappings:
      Namespace Name Mixin selector
      official f Legy;f:I
      intermediary field_38788 Lnet/minecraft/class_7389;field_38788:I
      named requiredEmptyBlocks Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;requiredEmptyBlocks:I
    • directions

      protected final List<Direction> directions
      Mappings:
      Namespace Name Mixin selector
      official g Legy;g:Ljava/util/List;
      intermediary field_38789 Lnet/minecraft/class_7389;field_38789:Ljava/util/List;
      named directions Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;directions:Ljava/util/List;
    • field_51012

      protected boolean field_51012
      Mappings:
      Namespace Name Mixin selector
      official h Legy;h:Z
      intermediary field_51012 Lnet/minecraft/class_7389;field_51012:Z
      named field_51012 Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;field_51012:Z
  • Constructor Details

    • AttachedToLeavesTreeDecorator

      public AttachedToLeavesTreeDecorator(float probability, boolean bool, int int2, int int3, List<BlockStateProvider> list, int int4, List<Direction> list2)
      Mappings:
      Namespace Name Mixin selector
      official <init> Legy;<init>(FZIILjava/util/List;ILjava/util/List;)V
      intermediary <init> Lnet/minecraft/class_7389;<init>(FZIILjava/util/List;ILjava/util/List;)V
      named <init> Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;<init>(FZIILjava/util/List;ILjava/util/List;)V
  • Method Details

    • generate

      public void generate(TreeDecorator.Generator generator)
      Specified by:
      generate in class TreeDecorator
      Mappings:
      Namespace Name Mixin selector
      official a Lehc;a(Lehc$a;)V
      intermediary method_23469 Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_4662$class_7402;)V
      named generate Lnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;)V
    • meetsRequiredEmptyBlocks

      private boolean meetsRequiredEmptyBlocks(TreeDecorator.Generator generator, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Legy;a(Lehc$a;Lir;Liw;)Z
      intermediary method_43187 Lnet/minecraft/class_7389;method_43187(Lnet/minecraft/class_4662$class_7402;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
      named meetsRequiredEmptyBlocks Lnet/minecraft/world/gen/treedecorator/AttachedToLeavesTreeDecorator;meetsRequiredEmptyBlocks(Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • getType

      protected TreeDecoratorType<?> getType()
      Specified by:
      getType in class TreeDecorator
      Mappings:
      Namespace Name Mixin selector
      official a Lehc;a()Lehd;
      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;