Package net.minecraft.world.gen.tree
Class BeehiveTreeDecorator
java.lang.Object
net.minecraft.world.gen.tree.TreeDecorator
net.minecraft.world.gen.tree.BeehiveTreeDecorator
public class BeehiveTreeDecorator extends TreeDecorator
- Mappings:
Namespace Name official cubintermediary net/minecraft/class_4659named net/minecraft/world/gen/tree/BeehiveTreeDecorator
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<BeehiveTreeDecorator>CODECprivate floatprobabilityFields inherited from class net.minecraft.world.gen.tree.TreeDecorator
TYPE_CODEC -
Constructor Summary
Constructors Constructor Description BeehiveTreeDecorator(float probability) -
Method Summary
Methods inherited from class net.minecraft.world.gen.tree.TreeDecorator
placeVine, setBlockStateAndEncompassPosition
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLcub;a:Lcom/mojang/serialization/Codec;intermediary field_24958Lnet/minecraft/class_4659;field_24958:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/tree/BeehiveTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector official bLcub;b:Fintermediary field_21317Lnet/minecraft/class_4659;field_21317:Fnamed probabilityLnet/minecraft/world/gen/tree/BeehiveTreeDecorator;probability:F
-
-
Constructor Details
-
BeehiveTreeDecorator
public BeehiveTreeDecorator(float probability)- Mappings:
Namespace Name Mixin selector official <init>Lcub;<init>(F)Vintermediary <init>Lnet/minecraft/class_4659;<init>(F)Vnamed <init>Lnet/minecraft/world/gen/tree/BeehiveTreeDecorator;<init>(F)V
-
-
Method Details
-
getType
- Specified by:
getTypein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLcue;a()Lcuf;intermediary method_28893Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;named getTypeLnet/minecraft/world/gen/tree/TreeDecorator;getType()Lnet/minecraft/world/gen/tree/TreeDecoratorType;
-
generate
public void generate(StructureWorldAccess world, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions, Set<BlockPos> placedStates, BlockBox box)- Specified by:
generatein classTreeDecorator- Mappings:
Namespace Name Mixin selector official aLcue;a(Lbuq;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lcwn;)Vintermediary method_23469Lnet/minecraft/class_4662;method_23469(Lnet/minecraft/class_5281;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/class_3341;)Vnamed generateLnet/minecraft/world/gen/tree/TreeDecorator;generate(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/util/math/BlockBox;)V
-