鏡像自
https://github.com/mt-mods/biome_lib.git
已同步 2026-01-07 01:32:19 +01:00
比較提交
2 次程式碼提交
2019-05-22
...
10a1089767
| 作者 | SHA1 | 日期 | |
|---|---|---|---|
|
|
10a1089767 | ||
|
|
5a910875af |
2
init.lua
2
init.lua
@@ -85,7 +85,7 @@ biome_lib.perlin_humidity = PerlinNoise(humidity_seeddiff, humidity_octaves, hum
|
||||
-- Local functions
|
||||
|
||||
local function get_biome_data(pos, perlin_fertile)
|
||||
local fertility = perlin_fertile:get2d({x=pos.x, y=pos.z})
|
||||
local fertility = perlin_fertile:get_2d({x=pos.x, y=pos.z})
|
||||
|
||||
if type(minetest.get_biome_data) == "function" then
|
||||
local data = minetest.get_biome_data(pos)
|
||||
|
||||
新增問題並參考
封鎖使用者