public class BeehiveTreeDecorator extends TreeDecorator
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<BeehiveTreeDecorator> |
CODEC |
private float |
probability |
TYPE_CODEC
Constructor and Description |
---|
BeehiveTreeDecorator(float probability) |
Modifier and Type | Method and Description |
---|---|
void |
generate(StructureWorldAccess world,
Random random,
List<BlockPos> logPositions,
List<BlockPos> leavesPositions,
Set<BlockPos> set,
BlockBox box) |
protected TreeDecoratorType<?> |
getType() |
placeVine, setBlockStateAndEncompassPosition
public static final com.mojang.serialization.Codec<BeehiveTreeDecorator> CODEC
private final float probability
protected TreeDecoratorType<?> getType()
getType
in class TreeDecorator