1
0
Fork 0

master #1

Merged
WolfySoy merged 1116 commits from VoxeLibre/VoxeLibre:master into PotionEffectTweaks 2024-07-02 11:49:28 +02:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit c6a112d200 - Show all commits

View File

@ -5589,7 +5589,7 @@ local function register_decorations()
num_spawn_by = 1,
})
end
local function register_flower(name, biomes, seed, is_in_flower_forest)
local function register_flower(name, biomes, seed, is_in_flower_forest, custom_rarity_mod)
if is_in_flower_forest == nil then
is_in_flower_forest = true
end
@ -5599,7 +5599,7 @@ local function register_decorations()
place_on = {"group:grass_block_no_snow", "mcl_core:dirt"},
sidelen = 16,
noise_params = {
offset = 0.0008,
offset = 0.0008 + (custom_rarity_mod or 0),
scale = 0.006,
spread = {x = 100, y = 100, z = 100},
seed = seed,
@ -5651,6 +5651,9 @@ local function register_decorations()
register_flower("lily_of_the_valley", nil, 325)
register_flower("cornflower", flower_biomes2, 486)
register_flower("clover", flower_biomes1, 3, false, 0.04)
register_flower("fourleaf_clover", flower_biomes1, 13, false, -0.002)
end
-- Decorations in non-Overworld dimensions