mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
Update matrix link, update git link in source code and one module README that has a link to git
This commit is contained in:
parent
a23a57c62d
commit
98eed36938
@ -83,7 +83,7 @@ The VoxeLibre repository is hosted at Mesehub. To contribute or report issues, h
|
|||||||
* OpenCollective: <https://opencollective.com/mineclone2>
|
* OpenCollective: <https://opencollective.com/mineclone2>
|
||||||
* Mastodon: <https://fosstodon.org/@MineClone2>
|
* Mastodon: <https://fosstodon.org/@MineClone2>
|
||||||
* Lemmy: <https://lemmy.world/c/mineclone2>
|
* Lemmy: <https://lemmy.world/c/mineclone2>
|
||||||
* Matrix space: <https://app.element.io/#/room/#mcl2:matrix.org>
|
* Matrix space: <https://app.element.io/#/room/#voxelibre:matrix.org>
|
||||||
* Minetest forums: <https://forum.minetest.net/viewtopic.php?f=50&t=16407>
|
* Minetest forums: <https://forum.minetest.net/viewtopic.php?f=50&t=16407>
|
||||||
* Reddit: <https://www.reddit.com/r/MineClone2/>
|
* Reddit: <https://www.reddit.com/r/MineClone2/>
|
||||||
* IRC (barely used): <https://web.libera.chat/#mineclone2>
|
* IRC (barely used): <https://web.libera.chat/#mineclone2>
|
||||||
|
@ -37,7 +37,7 @@ mcl_vars.mapgen_limit = math.max(1, tonumber(minetest.get_mapgen_setting("mapgen
|
|||||||
mcl_vars.MAX_MAP_GENERATION_LIMIT = math.max(1, minetest.MAX_MAP_GENERATION_LIMIT or 31000)
|
mcl_vars.MAX_MAP_GENERATION_LIMIT = math.max(1, minetest.MAX_MAP_GENERATION_LIMIT or 31000)
|
||||||
|
|
||||||
-- Central chunk is offset from 0,0,0 coordinates by 32 nodes (2 blocks)
|
-- Central chunk is offset from 0,0,0 coordinates by 32 nodes (2 blocks)
|
||||||
-- See more in https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void
|
-- See more in https://git.minetest.land/VoxeLibre/VoxeLibre/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void
|
||||||
local central_chunk_offset = -math.floor(mcl_vars.chunksize / 2)
|
local central_chunk_offset = -math.floor(mcl_vars.chunksize / 2)
|
||||||
|
|
||||||
mcl_vars.central_chunk_offset_in_nodes = central_chunk_offset * mcl_vars.MAP_BLOCKSIZE
|
mcl_vars.central_chunk_offset_in_nodes = central_chunk_offset * mcl_vars.MAP_BLOCKSIZE
|
||||||
|
@ -113,7 +113,7 @@ end
|
|||||||
-- Minetest 5.3.0 or less can only measure the light level. This came in at 5.4
|
-- Minetest 5.3.0 or less can only measure the light level. This came in at 5.4
|
||||||
-- This function has been known to fail in multiple places so the error handling is added increase safety and improve
|
-- This function has been known to fail in multiple places so the error handling is added increase safety and improve
|
||||||
-- debugging. See:
|
-- debugging. See:
|
||||||
-- https://git.minetest.land/MineClone2/MineClone2/issues/1392
|
-- https://git.minetest.land/VoxeLibre/VoxeLibre/issues/1392
|
||||||
function mcl_util.get_natural_light (pos, time)
|
function mcl_util.get_natural_light (pos, time)
|
||||||
local status, retVal = pcall(minetest.get_natural_light, pos, time)
|
local status, retVal = pcall(minetest.get_natural_light, pos, time)
|
||||||
if status then
|
if status then
|
||||||
|
@ -20,10 +20,10 @@ end
|
|||||||
|
|
||||||
-- Resources
|
-- Resources
|
||||||
|
|
||||||
-- Issue that has a lot of context: https://git.minetest.land/MineClone2/MineClone2/issues/4120
|
-- Issue that has a lot of context: https://git.minetest.land/VoxeLibre/VoxeLibre/issues/4120
|
||||||
-- Minecraft portal mechanics: https://minecraft.fandom.com/wiki/Tutorials/Nether_portals
|
-- Minecraft portal mechanics: https://minecraft.fandom.com/wiki/Tutorials/Nether_portals
|
||||||
-- Flow diagram: https://docs.google.com/drawings/d/1WIl4pVuxgOxI3Ncxk4g6D1pL4Fyll3bQ-fX6L9yyiLw/edit
|
-- Flow diagram: https://docs.google.com/drawings/d/1WIl4pVuxgOxI3Ncxk4g6D1pL4Fyll3bQ-fX6L9yyiLw/edit
|
||||||
-- Useful boundaries: https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void
|
-- Useful boundaries: https://git.minetest.land/VoxeLibre/VoxeLibre/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void
|
||||||
|
|
||||||
-- Setup
|
-- Setup
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ Models author: 22i.
|
|||||||
Source: https://github.com/22i/amc
|
Source: https://github.com/22i/amc
|
||||||
|
|
||||||
VoxeLibre source code:
|
VoxeLibre source code:
|
||||||
https://git.minetest.land/MineClone2/MineClone2
|
https://git.minetest.land/VoxeLibre/VoxeLibre
|
||||||
|
|
||||||
---
|
---
|
||||||
NOTE: This MODule requires Glow Squids in order for all features to work 100% correctly. Glow Squids are currently
|
NOTE: This MODule requires Glow Squids in order for all features to work 100% correctly. Glow Squids are currently
|
||||||
|
@ -358,7 +358,7 @@ local function world_structure(vm, data, data2, emin, emax, area, minp, maxp, bl
|
|||||||
|
|
||||||
-- [[ THE NETHER: mcl_vars.mg_nether_min mcl_vars.mg_nether_max ]]
|
-- [[ THE NETHER: mcl_vars.mg_nether_min mcl_vars.mg_nether_max ]]
|
||||||
|
|
||||||
-- The Air on the Nether roof, https://git.minetest.land/MineClone2/MineClone2/issues/1186
|
-- The Air on the Nether roof, https://git.minetest.land/VoxeLibre/VoxeLibre/issues/1186
|
||||||
lvm_used = set_layers(data, area, c_air , nil, mcl_vars.mg_nether_max +1, mcl_vars.mg_nether_max + 128 , minp, maxp, lvm_used, pr)
|
lvm_used = set_layers(data, area, c_air , nil, mcl_vars.mg_nether_max +1, mcl_vars.mg_nether_max + 128 , minp, maxp, lvm_used, pr)
|
||||||
-- The Void above the Nether below the End:
|
-- The Void above the Nether below the End:
|
||||||
lvm_used = set_layers(data, area, c_void , nil, mcl_vars.mg_nether_max + 128 +1, mcl_vars.mg_end_min -1, minp, maxp, lvm_used, pr)
|
lvm_used = set_layers(data, area, c_void , nil, mcl_vars.mg_nether_max + 128 +1, mcl_vars.mg_end_min -1, minp, maxp, lvm_used, pr)
|
||||||
|
Loading…
Reference in New Issue
Block a user