Class LeavesVineTreeDecorator

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

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

    • CODEC

      public static final com.mojang.serialization.Codec<LeavesVineTreeDecorator> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcud;a:Lcom/mojang/serialization/Codec;
      intermediary field_24960 Lnet/minecraft/class_4661;field_24960:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/tree/LeavesVineTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
    • INSTANCE

      public static final LeavesVineTreeDecorator INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official b Lcud;b:Lcud;
      intermediary field_24961 Lnet/minecraft/class_4661;field_24961:Lnet/minecraft/class_4661;
      named INSTANCE Lnet/minecraft/world/gen/tree/LeavesVineTreeDecorator;INSTANCE:Lnet/minecraft/world/gen/tree/LeavesVineTreeDecorator;
  • Constructor Details

    • LeavesVineTreeDecorator

      public LeavesVineTreeDecorator()
  • 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
    • placeVines

      private void placeVines​(ModifiableTestableWorld world, BlockPos pos, BooleanProperty side, Set<BlockPos> placedStates, BlockBox box)
      Places a vine at a given position and then up to 4 more vines going downwards.
      Mappings:
      Namespace Name Mixin selector
      official a Lcud;a(Lbua;Lfx;Lcik;Ljava/util/Set;Lcwn;)V
      intermediary method_23467 Lnet/minecraft/class_4661;method_23467(Lnet/minecraft/class_3747;Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;Ljava/util/Set;Lnet/minecraft/class_3341;)V
      named placeVines Lnet/minecraft/world/gen/tree/LeavesVineTreeDecorator;placeVines(Lnet/minecraft/world/ModifiableTestableWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/BooleanProperty;Ljava/util/Set;Lnet/minecraft/util/math/BlockBox;)V