TX
This commit is contained in:
parent
a3e9cc166b
commit
a7e40d440a
4
init.lua
4
init.lua
@ -1,3 +1,7 @@
|
||||
mcl_better_end = {}
|
||||
|
||||
mcl_better_end.code_loc = minetest.get_modpath("mcl_better_end") .. "/src"
|
||||
|
||||
|
||||
dofile(mcl_better_end.code_loc .. "/mapgen/biome_plains.lua")
|
||||
|
||||
|
2
mod.conf
2
mod.conf
@ -1,4 +1,4 @@
|
||||
author = TX_Miner/Xeno333 and Imperium dev Team (IdT)
|
||||
name = mcl_better_end
|
||||
depends = mcl_end_island
|
||||
depends = mcl_end_island, mcl_flowers
|
||||
description = Make the end better in MCL2!
|
||||
|
23
src/mapgen/biome_plains.lua
Normal file
23
src/mapgen/biome_plains.lua
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
|
||||
minetest.register_decoration({
|
||||
name = "mcl_better_end:end_grass",
|
||||
deco_type = "simple",
|
||||
place_on = {"mcl_end:end_stone"},
|
||||
flags = "all_floors",
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.012,
|
||||
scale = 0.024,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 257,
|
||||
octaves = 3,
|
||||
persist = 0.6
|
||||
},
|
||||
y_min = mcl_vars.mg_end_min,
|
||||
y_max = mcl_vars.mg_end_max,w
|
||||
decoration = "mcl_flowers:tallgrass",
|
||||
height = 1,
|
||||
height_max = 8,
|
||||
biomes = {"End", "EndMidlands", "EndHighlands", "EndBarrens", "EndSmallIslands"},
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user