Package net.minecraft.world.gen.tree
Class CocoaBeansTreeDecorator
java.lang.Object
net.minecraft.world.gen.tree.TreeDecorator
net.minecraft.world.gen.tree.CocoaBeansTreeDecorator
public class CocoaBeansTreeDecorator extends TreeDecorator
- Mappings:
Namespace Name official cuc
intermediary net/minecraft/class_4660
named net/minecraft/world/gen/tree/CocoaBeansTreeDecorator
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<CocoaBeansTreeDecorator>
CODEC
private float
probability
Fields inherited from class net.minecraft.world.gen.tree.TreeDecorator
TYPE_CODEC
-
Constructor Summary
Constructors Constructor Description CocoaBeansTreeDecorator(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 a
Lcuc;a:Lcom/mojang/serialization/Codec;
intermediary field_24959
Lnet/minecraft/class_4660;field_24959:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/tree/CocoaBeansTreeDecorator;CODEC:Lcom/mojang/serialization/Codec;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector official b
Lcuc;b:F
intermediary field_21318
Lnet/minecraft/class_4660;field_21318:F
named probability
Lnet/minecraft/world/gen/tree/CocoaBeansTreeDecorator;probability:F
-
-
Constructor Details
-
CocoaBeansTreeDecorator
public CocoaBeansTreeDecorator(float probability)- Mappings:
Namespace Name Mixin selector official <init>
Lcuc;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4660;<init>(F)V
named <init>
Lnet/minecraft/world/gen/tree/CocoaBeansTreeDecorator;<init>(F)V
-
-
Method Details
-
getType
- Specified by:
getType
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector official a
Lcue;a()Lcuf;
intermediary method_28893
Lnet/minecraft/class_4662;method_28893()Lnet/minecraft/class_4663;
named getType
Lnet/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:
generate
in classTreeDecorator
- Mappings:
Namespace Name Mixin selector official a
Lcue;a(Lbuq;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lcwn;)V
intermediary method_23469
Lnet/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;)V
named generate
Lnet/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
-