summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2017-09-07 12:56:17 +0200
committerGitHub <noreply@github.com>2017-09-07 12:56:17 +0200
commitb5a23e5cd9601a8d0779ecf930b84506fbd398d1 (patch)
treec9d53f7f718bdfc8b37143330d1536f631888333 /Server/Plugins/APIDump/APIDesc.lua
parentSwitched player statistic store to save with UUID filenames. (#4002) (diff)
downloadcuberite-b5a23e5cd9601a8d0779ecf930b84506fbd398d1.tar
cuberite-b5a23e5cd9601a8d0779ecf930b84506fbd398d1.tar.gz
cuberite-b5a23e5cd9601a8d0779ecf930b84506fbd398d1.tar.bz2
cuberite-b5a23e5cd9601a8d0779ecf930b84506fbd398d1.tar.lz
cuberite-b5a23e5cd9601a8d0779ecf930b84506fbd398d1.tar.xz
cuberite-b5a23e5cd9601a8d0779ecf930b84506fbd398d1.tar.zst
cuberite-b5a23e5cd9601a8d0779ecf930b84506fbd398d1.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 3a4e81f0c..dafe98619 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -294,6 +294,24 @@ return
},
Notes = "Returns whether the specified block type is solid.",
},
+ IsSkylightDispersant =
+ {
+ IsStatic = true,
+ Params =
+ {
+ {
+ Name = "BlockType",
+ Type = "number",
+ },
+ },
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ },
+ Notes = "Returns true if skylight is impeded by passage through a block of the specified type.",
+ },
IsTransparent =
{
IsStatic = true,