Class BeehiveTreeDecorator
java.lang.Object
net.minecraft.world.gen.treedecorator.TreeDecorator
net.minecraft.world.gen.treedecorator.BeehiveTreeDecorator
- Mappings:
Namespace Name official dfaintermediary net/minecraft/class_4659named net/minecraft/world/gen/treedecorator/BeehiveTreeDecorator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Directionstatic final com.mojang.serialization.Codec<BeehiveTreeDecorator>private static final Direction[]private final floatFields inherited from class net.minecraft.world.gen.treedecorator.TreeDecorator
TYPE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, List<BlockPos> logPositions, 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 aLdfa;a:Lcom/mojang/serialization/Codec;intermediary field_24958Lnet/minecraft/class_4659;field_24958:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/treedecorator/BeehiveTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
BEE_NEST_FACE
- Mappings:
Namespace Name Mixin selector official bLdfa;b:Lgr;intermediary field_36346Lnet/minecraft/class_4659;field_36346:Lnet/minecraft/class_2350;named BEE_NEST_FACELnet/minecraft/world/gen/treedecorator/BeehiveTreeDecorator;BEE_NEST_FACE:Lnet/minecraft/util/math/Direction;
-
GENERATE_DIRECTIONS
- Mappings:
Namespace Name Mixin selector official cLdfa;c:[Lgr;intermediary field_36347Lnet/minecraft/class_4659;field_36347:[Lnet/minecraft/class_2350;named GENERATE_DIRECTIONSLnet/minecraft/world/gen/treedecorator/BeehiveTreeDecorator;GENERATE_DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector official dLdfa;d:Fintermediary field_21317Lnet/minecraft/class_4659;field_21317:Fnamed probabilityLnet/minecraft/world/gen/treedecorator/BeehiveTreeDecorator;probability:F
-
-
Constructor Details
-
BeehiveTreeDecorator
public BeehiveTreeDecorator(float probability) - Mappings:
Namespace Name Mixin selector official <init>Ldfa;<init>(F)Vintermediary <init>Lnet/minecraft/class_4659;<init>(F)Vnamed <init>Lnet/minecraft/world/gen/treedecorator/BeehiveTreeDecorator;<init>(F)V
-
-
Method Details
-
getType
- Specified by:
getTypein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLdfd;a()Ldfe;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 world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, List<BlockPos> list) - Specified by:
generatein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLdfd;a(Lcdy;Ljava/util/function/BiConsumer;Laki;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Vintermediary method_23469Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Vnamed generateLnet/minecraft/world/gen/treedecorator/TreeDecorator;generate(Lnet/minecraft/world/TestableWorld;Ljava/util/function/BiConsumer;Lnet/minecraft/util/math/random/AbstractRandom;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
-