Class CocoaTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.CocoaTreeDecorator
- Mappings:
Namespace Name named net/minecraft/world/gen/treedecorator/CocoaTreeDecoratorintermediary net/minecraft/class_4660official ekt
-
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<CocoaTreeDecorator> 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()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/gen/treedecorator/CocoaTreeDecorator;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_24959Lnet/minecraft/class_4660;field_24959:Lcom/mojang/serialization/MapCodec;official aLekt;a:Lcom/mojang/serialization/MapCodec;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector named probabilityLnet/minecraft/world/gen/treedecorator/CocoaTreeDecorator;probability:Fintermediary field_21318Lnet/minecraft/class_4660;field_21318:Fofficial bLekt;b:F
-
-
Constructor Details
-
CocoaTreeDecorator
public CocoaTreeDecorator(float probability) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/treedecorator/CocoaTreeDecorator;<init>(F)Vintermediary <init>Lnet/minecraft/class_4660;<init>(F)Vofficial <init>Lekt;<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 aLekx;a()Leky;
-
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 aLekx;a(Lekx$a;)V
-