From 12b59912cac473038de83c3390d7abd385689c12 Mon Sep 17 00:00:00 2001 From: The4codeblocks <72419529+The4codeblocks@users.noreply.github.com> Date: Sat, 30 May 2026 11:32:01 -0500 Subject: [PATCH 1/4] doc typo fix --- doc/materials.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/materials.md b/doc/materials.md index faea8f0..b39022b 100644 --- a/doc/materials.md +++ b/doc/materials.md @@ -22,5 +22,5 @@ would closest represent the `steel_ingot` material in the current game. The `/src/materials/mineclonia.lua` file shows what the keys of `xcompat.materials` resolve to when playing Mineclonia, such as `xcompat.materials.steel_ingot` resolving to `mcl_core:iron_ingot`, and -`xcompat.materials.mesa_crystal` resolving to `mcl_redstone:redstone` if +`xcompat.materials.mese_crystal` resolving to `mcl_redstone:redstone` if supported. From 1e5f364691482937981dbffb42883f29e84c4a38 Mon Sep 17 00:00:00 2001 From: The4codeblocks <72419529+The4codeblocks@users.noreply.github.com> Date: Sat, 30 May 2026 11:33:03 -0500 Subject: [PATCH 2/4] Update gameid.md --- doc/gameid.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/gameid.md b/doc/gameid.md index e56f870..d890524 100644 --- a/doc/gameid.md +++ b/doc/gameid.md @@ -2,11 +2,11 @@ ## minetest versions >= 5.7 -simply returns `minetest.get_game_info().id` +simply returns `core.get_game_info().id` ## minetest versions < 5.7 approximates the gameid value via a hardcoded table of gameid =\> modname, -and then checks via `minetest.get_modpath()`. If it fails, it falls +and then checks via `core.get_modpath()`. If it fails, it falls back to using `xcompat_unknown_gameid` as the id. See the chart in the readme for which games are supported From 14b2fd75cab87758a382ebcfc29533ecc3904ba9 Mon Sep 17 00:00:00 2001 From: The4codeblocks <72419529+The4codeblocks@users.noreply.github.com> Date: Sat, 30 May 2026 11:35:13 -0500 Subject: [PATCH 3/4] Update sounds.md --- doc/sounds.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sounds.md b/doc/sounds.md index 24fcb15..aacb1fb 100644 --- a/doc/sounds.md +++ b/doc/sounds.md @@ -6,7 +6,7 @@ You can do this by using a custom field in your node def instead of the `sounds` key. ```lua -minetest.register_node(nodename, { +core.register_node(nodename, { ... _sound_def = { key = "", @@ -26,7 +26,7 @@ where: add this mod to your mod.confs depends and directly call the `sound_api` as follows ```lua -minetest.register_node(nodename, { +core.register_node(nodename, { ... sounds = xcompat.sounds.node_sound_stone_defaults(input) ... From 9480731dbe5e7440385f0c41aa6471d32b7ac132 Mon Sep 17 00:00:00 2001 From: The4codeblocks <72419529+The4codeblocks@users.noreply.github.com> Date: Sat, 30 May 2026 11:35:58 -0500 Subject: [PATCH 4/4] Update stairs.md --- doc/stairs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/stairs.md b/doc/stairs.md index 1ff986b..2c29fa7 100644 --- a/doc/stairs.md +++ b/doc/stairs.md @@ -26,5 +26,5 @@ end ``` that way in the future nothing will break when support is -added and at your convince the first part of the if can be -removed \ No newline at end of file +added and the first part of the if can be +removed at your convenience