Document the API version

This commit is contained in:
SmallJoker 2021-03-09 14:54:41 -05:00 committed by Vanessa Dannenberg
parent 784a4a60a5
commit 0f3ed05da9
1 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,14 @@ unified_inventory API
This file provides information about the API of unified_inventory.
API revisions within unified_inventory can be checked using:
(unified_inventory.version or 1)
**Revision history**
* Version `1`: Classic formspec layout (no real_coordinates)
* Version `2`: Force formspec version 4 (includes real_coordinates)
Misc functions
--------------