Class LeavesVineTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.LeavesVineTreeDecorator
- Mappings:
Namespace Name official cyh
intermediary net/minecraft/class_4661
named net/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LeavesVineTreeDecorator>
static final LeavesVineTreeDecorator
Fields inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TYPE_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions) protected TreeDecoratorType<?>
getType()
private static void
placeVines
(TestableWorld world, BlockPos pos, BooleanProperty facing, BiConsumer<BlockPos, BlockState> replacer) Places a vine at a given position and then up to 4 more vines going downwards.Methods inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
placeVine
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcyh;a:Lcom/mojang/serialization/Codec;
intermediary field_24960
Lnet/minecraft/class_4661;field_24960:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official b
Lcyh;b:Lcyh;
intermediary field_24961
Lnet/minecraft/class_4661;field_24961:Lnet/minecraft/class_4661;
named INSTANCE
Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;INSTANCE:Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;
-
-
Constructor Details
-
LeavesVineTreeDecorator
public LeavesVineTreeDecorator()
-
-
Method Details
-
getType
- Specified by:
getType
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector official a
Lcyi;a()Lcyj;
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;
-
generate
public void generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions) - Specified by:
generate
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector official a
Lcyi;a(Lbww;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
intermediary method_23469
Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
named generate
Lnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
-
placeVines
private static void placeVines(TestableWorld world, BlockPos pos, BooleanProperty facing, BiConsumer<BlockPos, BlockState> replacer) Places a vine at a given position and then up to 4 more vines going downwards.- Mappings:
Namespace Name Mixin selector official a
Lcyh;a(Lbww;Lgg;Lclk;Ljava/util/function/BiConsumer;)V
intermediary method_23467
Lnet/minecraft/class_4661;method_23467(Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;Ljava/util/function/BiConsumer;)V
named placeVines
Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;placeVines(Lnet/minecraft/world/TestableWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/BooleanProperty;Ljava/util/function/BiConsumer;)V
-