Class LeavesVineTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.LeavesVineTreeDecorator
- Mappings:
Namespace Name official dwp
intermediary net/minecraft/class_4661
named net/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TreeDecorator.Generator
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LeavesVineTreeDecorator>
private final float
Fields inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TYPE_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(TreeDecorator.Generator generator) protected TreeDecoratorType<?>
getType()
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.
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldwp;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;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector official b
Ldwp;b:F
intermediary field_38790
Lnet/minecraft/class_4661;field_38790:F
named probability
Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;probability:F
-
-
Constructor Details
-
LeavesVineTreeDecorator
public LeavesVineTreeDecorator(float probability) - Mappings:
Namespace Name Mixin selector official <init>
Ldwp;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4661;<init>(F)V
named <init>
Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;<init>(F)V
-
-
Method Details
-
getType
- Specified by:
getType
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector official a
Ldwq;a()Ldwr;
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
- Specified by:
generate
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector official a
Ldwq;a(Ldwq$a;)V
intermediary method_23469
Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_4662$class_7402;)V
named generate
Lnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;)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 official a
Ldwp;a(Lhx;Ldjy;Ldwq$a;)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
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
-