summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/Classes/BlockEntities.lua
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-07 16:14:11 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-07 16:14:11 +0100
commit8fdffbb48caa527b83b40baf88e841d1593e79b6 (patch)
tree544ec86e506796630e60435cbff23b8d9822dd75 /MCServer/Plugins/APIDump/Classes/BlockEntities.lua
parentAdd Lua Bindings for FlowerPotEntity.h and add documentation. (diff)
downloadcuberite-8fdffbb48caa527b83b40baf88e841d1593e79b6.tar
cuberite-8fdffbb48caa527b83b40baf88e841d1593e79b6.tar.gz
cuberite-8fdffbb48caa527b83b40baf88e841d1593e79b6.tar.bz2
cuberite-8fdffbb48caa527b83b40baf88e841d1593e79b6.tar.lz
cuberite-8fdffbb48caa527b83b40baf88e841d1593e79b6.tar.xz
cuberite-8fdffbb48caa527b83b40baf88e841d1593e79b6.tar.zst
cuberite-8fdffbb48caa527b83b40baf88e841d1593e79b6.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/Classes/BlockEntities.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/Classes/BlockEntities.lua b/MCServer/Plugins/APIDump/Classes/BlockEntities.lua
index 61a8e8d22..3deb50ade 100644
--- a/MCServer/Plugins/APIDump/Classes/BlockEntities.lua
+++ b/MCServer/Plugins/APIDump/Classes/BlockEntities.lua
@@ -238,6 +238,20 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
},
Inherits = "cBlockEntity";
}, -- cSignEntity
+
+ cFlowerPotEntity =
+ {
+ Desc = [[
+ This class represents a flower pot entity in the world.
+ ]],
+ Functions =
+ {
+ IsItemInPot = { Params = "", Return = "bool", Notes = "Is a flower in the pot?" },
+ GetItem = { Params = "", Return = "cItem", Notes = "Returns the item in the flower pot." },
+ SetItem = { Params = "cItem", Return = "", Notes = "Set the item in the flower pot" },
+ },
+ Inherits = "cBlockEntity";
+ }, -- cFlowerPotEntity
}