Class TreeDecorator

java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
Direct Known Subclasses:
AlterGroundTreeDecorator, AttachedToLeavesTreeDecorator, BeehiveTreeDecorator, CocoaBeansTreeDecorator, CreakingHeartTreeDecorator, LeavesVineTreeDecorator, PaleMossTreeDecorator, TrunkVineTreeDecorator

public abstract class TreeDecorator extends Object
Tree decorators can add additional blocks to trees, such as vines or beehives.
Mappings:
Namespace Name
named net/minecraft/world/gen/treedecorator/TreeDecorator
intermediary net/minecraft/class_4662
official elt
  • Field Details

    • TYPE_CODEC

      public static final com.mojang.serialization.Codec<TreeDecorator> TYPE_CODEC
      Mappings:
      Namespace Name Mixin selector
      named TYPE_CODEC Lnet/minecraft/world/gen/treedecorator/TreeDecorator;TYPE_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_24962 Lnet/minecraft/class_4662;field_24962:Lcom/mojang/serialization/Codec;
      official h Lelt;h:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • TreeDecorator

      public TreeDecorator()
  • Method Details

    • getType

      protected abstract TreeDecoratorType<?> getType()
      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 Lelt;a()Lelu;
    • generate

      public abstract void generate(TreeDecorator.Generator generator)
      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 Lelt;a(Lelt$a;)V