Class CocoaBeansTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.CocoaBeansTreeDecorator
public class CocoaBeansTreeDecorator extends TreeDecorator
- Mappings:
Namespace Name official cwzintermediary net/minecraft/class_4660named net/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<CocoaBeansTreeDecorator>CODECprivate floatprobabilityFields inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TYPE_CODEC -
Constructor Summary
Constructors Constructor Description CocoaBeansTreeDecorator(float probability) -
Method Summary
Modifier and Type Method Description voidgenerate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)protected TreeDecoratorType<?>getType()Methods inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
placeVine
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLcwz;a:Lcom/mojang/serialization/Codec;intermediary field_24959Lnet/minecraft/class_4660;field_24959:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector official bLcwz;b:Fintermediary field_21318Lnet/minecraft/class_4660;field_21318:Fnamed probabilityLnet/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator;probability:F
-
-
Constructor Details
-
CocoaBeansTreeDecorator
public CocoaBeansTreeDecorator(float probability)- Mappings:
Namespace Name Mixin selector official <init>Lcwz;<init>(F)Vintermediary <init>Lnet/minecraft/class_4660;<init>(F)Vnamed <init>Lnet/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator;<init>(F)V
-
-
Method Details
-
getType
- Specified by:
getTypein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLcxb;a()Lcxc;intermediary method_28893Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;named getTypeLnet/minecraft/world/gen/treedecorator/TreeDecorator;getType()Lnet/minecraft/world/gen/treedecorator/TreeDecoratorType;
-
generate
public void generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)- Specified by:
generatein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLcxb;a(Lbvx;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)Vintermediary method_23469Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)Vnamed generateLnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
-