Class BeehiveTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.BeehiveTreeDecorator
- Mappings:
Namespace Name official cye
intermediary net/minecraft/class_4659
named net/minecraft/world/gen/treedecorator/BeehiveTreeDecorator
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<BeehiveTreeDecorator>
private 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
Lcye;a:Lcom/mojang/serialization/Codec;
intermediary field_24958
Lnet/minecraft/class_4659;field_24958:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/treedecorator/BeehiveTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector official b
Lcye;b:F
intermediary field_21317
Lnet/minecraft/class_4659;field_21317:F
named probability
Lnet/minecraft/world/gen/treedecorator/BeehiveTreeDecorator;probability:F
-
-
Constructor Details
-
BeehiveTreeDecorator
public BeehiveTreeDecorator(float probability)- Mappings:
Namespace Name Mixin selector official <init>
Lcye;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4659;<init>(F)V
named <init>
Lnet/minecraft/world/gen/treedecorator/BeehiveTreeDecorator;<init>(F)V
-
-
Method Details
-
getType
- Specified by:
getType
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector official a
Lcyh;a()Lcyi;
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
Lcyh;a(Lbwv;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
-