Class CocoaBeansTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.CocoaBeansTreeDecorator
- Mappings:
Namespace Name official cyg
intermediary net/minecraft/class_4660
named net/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CocoaBeansTreeDecorator>
private final float
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()
Methods inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
placeVine
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcyg;a:Lcom/mojang/serialization/Codec;
intermediary field_24959
Lnet/minecraft/class_4660;field_24959:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector official b
Lcyg;b:F
intermediary field_21318
Lnet/minecraft/class_4660;field_21318:F
named probability
Lnet/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator;probability:F
-
-
Constructor Details
-
CocoaBeansTreeDecorator
public CocoaBeansTreeDecorator(float probability) - Mappings:
Namespace Name Mixin selector official <init>
Lcyg;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4660;<init>(F)V
named <init>
Lnet/minecraft/world/gen/treedecorator/CocoaBeansTreeDecorator;<init>(F)V
-
-
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
-