diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-03-07 16:14:11 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-03-07 16:14:11 +0100 |
commit | 8fdffbb48caa527b83b40baf88e841d1593e79b6 (patch) | |
tree | 544ec86e506796630e60435cbff23b8d9822dd75 /MCServer/Plugins/APIDump/Classes | |
parent | Add Lua Bindings for FlowerPotEntity.h and add documentation. (diff) | |
download | cuberite-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.lua | 14 |
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 } |