diff options
author | Pablo Beltrán <spekdrum@gmail.com> | 2017-05-24 08:09:58 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-05-24 08:09:58 +0200 |
commit | 84bdba345d9b34a59337009d0880aa74d3b2d689 (patch) | |
tree | b9b4e5580591c94d23e0ac0de6ce9e980101c6ef /Server/Plugins | |
parent | Store cChunk::m_BlockEntities in a map (#3717) (diff) | |
download | cuberite-84bdba345d9b34a59337009d0880aa74d3b2d689.tar cuberite-84bdba345d9b34a59337009d0880aa74d3b2d689.tar.gz cuberite-84bdba345d9b34a59337009d0880aa74d3b2d689.tar.bz2 cuberite-84bdba345d9b34a59337009d0880aa74d3b2d689.tar.lz cuberite-84bdba345d9b34a59337009d0880aa74d3b2d689.tar.xz cuberite-84bdba345d9b34a59337009d0880aa74d3b2d689.tar.zst cuberite-84bdba345d9b34a59337009d0880aa74d3b2d689.zip |
Diffstat (limited to '')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 4ca81d5d3..2733e9462 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -7970,6 +7970,16 @@ These ItemGrids are available in the API and can be manipulated by the plugins, }, Notes = "Returns the specified hotbar slot contents. Note that the returned item is read-only", }, + GetShieldSlot = + { + Returns = + { + { + Type = "cItem", + }, + }, + Notes = "Returns current item in shield slot.", + }, GetInventoryGrid = { Returns = @@ -8177,6 +8187,17 @@ These ItemGrids are available in the API and can be manipulated by the plugins, }, Notes = "Sets the specified hotbar slot contents", }, + SetShieldSlot = + { + Params = + { + { + Name = "Item", + Type = "cItem", + }, + }, + Notes = "Sets the shield slot content", + }, SetInventorySlot = { Params = @@ -8234,6 +8255,14 @@ These ItemGrids are available in the API and can be manipulated by the plugins, { Notes = "Starting slot number of the main inventory part", }, + invShieldCount = + { + Notes = "Number of slots in the Shield part", + }, + invShieldOffset = + { + Notes = "Starting slot number of the Shield part", + }, invNumSlots = { Notes = "Total number of slots in a cInventory", |