๐Ÿชจ
Cave decorators

Generate decorations in caves

This feature requires ItemsAdder 3.1.6+
With ItemsAdder you can generate decorations in the world caves to make your server more professional and original.
For example you can make new mushrooms, new little plants, rocks and decorations

Creating a Cave Populator

Creating the configuration

For example let's create a group of small rocks which will spawn around the world.
1
info:
2
namespace: myitems
3
cave_decorators:
4
small_rocks:
5
block: small_rocks
6
bottom_blocks:
7
- DIRT
8
- GRASS_BLOCK
9
- STONE
10
- COBBLESTONE
11
- MOSSY_COBBLESTONE
12
biomes:
13
- PLAINS
14
- SUNFLOWER_PLAINS
15
- RIVER
16
- MOUNTAINS
17
- MOUNTAIN_EDGE
18
- BIRCH_FOREST
19
- BIRCH_FOREST_HILLS
20
- TALL_BIRCH_FOREST
21
- TALL_BIRCH_HILLS
22
worlds:
23
- world
24
chance: 100
25
max_height: 255
26
min_height: 0
27
amount: 4
28
position: SURFACE
Copied!
As you can see I set some properties:
block is the ItemsAdder block to spawn as decoration.
bottom_blocks property is used to decide the block types on which the decoration can spawn.
biomes property is used to decide the valid biomes in which the decoration can spawn.
worlds property decides the worlds in which the decoration can spawn.
chance is the change of a decoration to spawn in each chunk of the world.
max_height is the max world height where the decoration can spawn.
min_height is the min world height where the decoration can spawn.
amount is the amount of blocks to spawn in the decorations group, for example you can set 5 to make a group of 5 decorations spawn one attached to the other.
position is a property used to specify if the block must be on the cave SURFACE or CEILING.

Creating the block

Now you just have to create the block following the tutorial. You can use REAL_NOTE, REAL_WIRE REAL_TRANSPARENT and REAL blocks, depends on your needs.