diff --git a/API b/API index 431f40a..ddfa744 100644 --- a/API +++ b/API @@ -96,6 +96,11 @@ API has utility functions for transfer nodes to easily call every node function -- the can_take_* functions should always be called before using the get_*_size, get_*_name, get_*_stack or take_* functions on an inventory node API has utility functions for standard inventory nodes to easily implement the API + -- pos parameter can be: + -- {x=, y=, z=} + -- {type="node", pos={x=, y=, z=}} + -- {type="detached", name=""} + -- {type="player", name=""} node_io.compare_itemstack(itemstack1, itemstack2) -> bool -- returns true if both itemstacks are identical, excluding count