Class LeavesVineTreeDecorator

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

public class LeavesVineTreeDecorator extends TreeDecorator
Mappings:
Namespace Name
named net/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator
intermediary net/minecraft/class_4661
official elr
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<LeavesVineTreeDecorator> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_24960 Lnet/minecraft/class_4661;field_24960:Lcom/mojang/serialization/MapCodec;
      official a Lelr;a:Lcom/mojang/serialization/MapCodec;
    • probability

      private final float probability
      Mappings:
      Namespace Name Mixin selector
      named probability Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;probability:F
      intermediary field_38790 Lnet/minecraft/class_4661;field_38790:F
      official b Lelr;b:F
  • Constructor Details

    • LeavesVineTreeDecorator

      public LeavesVineTreeDecorator(float probability)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;<init>(F)V
      intermediary <init> Lnet/minecraft/class_4661;<init>(F)V
      official <init> Lelr;<init>(F)V
  • Method Details

    • 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 Lelt;a()Lelu;
    • 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 Lelt;a(Lelt$a;)V
    • placeVines

      private static void placeVines(BlockPos pos, BooleanProperty faceProperty, TreeDecorator.Generator generator)
      Places a vine at a given position and then up to 4 more vines going downwards.
      Mappings:
      Namespace Name Mixin selector
      named placeVines Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;placeVines(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/BooleanProperty;Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;)V
      intermediary method_23467 Lnet/minecraft/class_4661;method_23467(Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;Lnet/minecraft/class_4662$class_7402;)V
      official a Lelr;a(Ljh;Ldyl;Lelt$a;)V