Class LeavesVineTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.LeavesVineTreeDecorator
- Mappings:
Namespace Name named net/minecraft/world/gen/treedecorator/LeavesVineTreeDecoratorintermediary net/minecraft/class_4661official fap
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TreeDecorator.Generator -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<LeavesVineTreeDecorator> private final floatFields inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TYPE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(TreeDecorator.Generator generator) protected TreeDecoratorType<?> getType()private static voidplaceVines(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 named CODECLnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_24960Lnet/minecraft/class_4661;field_24960:Lcom/mojang/serialization/MapCodec;official aLfap;a:Lcom/mojang/serialization/MapCodec;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector named probabilityLnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;probability:Fintermediary field_38790Lnet/minecraft/class_4661;field_38790:Fofficial bLfap;b:F
-
-
Constructor Details
-
LeavesVineTreeDecorator
public LeavesVineTreeDecorator(float probability) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;<init>(F)Vintermediary <init>Lnet/minecraft/class_4661;<init>(F)Vofficial <init>Lfap;<init>(F)V
-
-
Method Details
-
getType
- Specified by:
getTypein classTreeDecorator- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/world/gen/treedecorator/TreeDecorator;getType()Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;intermediary method_28893Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;official aLfas;a()Lfat;
-
generate
- Specified by:
generatein classTreeDecorator- Mappings:
Namespace Name Mixin selector named generateLnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;)Vintermediary method_23469Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_4662$class_7402;)Vofficial aLfas;a(Lfas$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 placeVinesLnet/minecraft/world/gen/treedecorator/LeavesVineTreeDecorator;placeVines(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/state/property/BooleanProperty;Lnet/minecraft/world/gen/treedecorator/TreeDecorator$Generator;)Vintermediary method_23467Lnet/minecraft/class_4661;method_23467(Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;Lnet/minecraft/class_4662$class_7402;)Vofficial aLfap;a(Liz;Lemy;Lfas$a;)V
-