From b3118380418f56c558732f8151bddd933e1f7390 Mon Sep 17 00:00:00 2001 From: Michieal Date: Wed, 15 Feb 2023 14:03:09 -0500 Subject: [PATCH] Cleaned up the API.md documentation. --- mods/CORE/mcl_oxidization/API.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mods/CORE/mcl_oxidization/API.md b/mods/CORE/mcl_oxidization/API.md index e5c70f36b..5b4ba0f3c 100644 --- a/mods/CORE/mcl_oxidization/API.md +++ b/mods/CORE/mcl_oxidization/API.md @@ -1,13 +1,11 @@ # Mineclone Oxidization API This document explains the API of this mod. -### `register_oxidation_abm(abm_name, node_name)` +### `register_oxidation_abm(node_name)` Registers the ABM for the oxidization of nodes. It expects that the variable `_mcl_oxidized_variant` be set with the node name of the oxidized version. #### Parameters: -`abm_name`: A unique name for the abm to register. - `node_name`: the name of the node to check, and to oxidize. #### Usage: @@ -30,7 +28,7 @@ local block_oxidation = { } for _, b in pairs(block_oxidation) do - register_oxidation_abm("Copper oxidation", "mcl_copper:block" .. b[1], "mcl_copper:block" .. b[2]) + register_oxidation_abm("mcl_copper:block" .. b[1], "mcl_copper:block" .. b[2]) end ```