diff --git a/API.md b/API.md index be80af0ff..846c987ec 100644 --- a/API.md +++ b/API.md @@ -111,6 +111,7 @@ These can be applied to all node registrations. * `_on_hopper_in` callback when an item is about to be pushed to the node from a hopper: function(hopper_pos, node_pos) * `_on_hopper_out` callback when an item is about to be sucked into a hopper under the node: function(node_pos, hopper_pos) * `_on_lightning_strike` callback when a node is hit by lightning: function(node_pos, lightning_pos1, lightning_pos2) +* `_mcl_baseitem` this used to determine the item corresponding to the placed node. Can either be an itemstring or a function(pos) returning an itemstack. * Get node names close to player (to reduce constant querying): `PLAYER/mcl_playerinfo` * Colors and dyes API: `ITEMS/mcl_dyes`