Class AttachedToLogsTreeDecorator

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

public class AttachedToLogsTreeDecorator extends TreeDecorator
Mappings:
Namespace Name
named net/minecraft/world/gen/treedecorator/AttachedToLogsTreeDecorator
intermediary net/minecraft/class_10856
official fam
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<AttachedToLogsTreeDecorator> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/treedecorator/AttachedToLogsTreeDecorator;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_57824 Lnet/minecraft/class_10856;field_57824:Lcom/mojang/serialization/MapCodec;
      official a Lfam;a:Lcom/mojang/serialization/MapCodec;
    • probability

      private final float probability
      Mappings:
      Namespace Name Mixin selector
      named probability Lnet/minecraft/world/gen/treedecorator/AttachedToLogsTreeDecorator;probability:F
      intermediary field_57825 Lnet/minecraft/class_10856;field_57825:F
      official b Lfam;b:F
    • blockProvider

      private final BlockStateProvider blockProvider
      Mappings:
      Namespace Name Mixin selector
      named blockProvider Lnet/minecraft/world/gen/treedecorator/AttachedToLogsTreeDecorator;blockProvider:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;
      intermediary field_57826 Lnet/minecraft/class_10856;field_57826:Lnet/minecraft/class_4651;
      official c Lfam;c:Lezy;
    • directions

      private final List<Direction> directions
      Mappings:
      Namespace Name Mixin selector
      named directions Lnet/minecraft/world/gen/treedecorator/AttachedToLogsTreeDecorator;directions:Ljava/util/List;
      intermediary field_57827 Lnet/minecraft/class_10856;field_57827:Ljava/util/List;
      official d Lfam;d:Ljava/util/List;
  • Constructor Details

    • AttachedToLogsTreeDecorator

      public AttachedToLogsTreeDecorator(float probability, BlockStateProvider blockProvider, List<Direction> directions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/treedecorator/AttachedToLogsTreeDecorator;<init>(FLnet/minecraft/world/gen/stateprovider/BlockStateProvider;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_10856;<init>(FLnet/minecraft/class_4651;Ljava/util/List;)V
      official <init> Lfam;<init>(FLezy;Ljava/util/List;)V
  • Method Details

    • generate

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

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