summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authorMichal Havlíček <80639037+havel06@users.noreply.github.com>2023-04-08 00:11:10 +0200
committerGitHub <noreply@github.com>2023-04-08 00:11:10 +0200
commit669392d44a0f74e83b2702fa64d4f8bfb2ec643c (patch)
tree2c80eca6e9504c6475b00e5fd72b18d308d06e0f /Server
parentrefactor: removed m_MojangAPI from RankManager (#5483) (diff)
downloadcuberite-669392d44a0f74e83b2702fa64d4f8bfb2ec643c.tar
cuberite-669392d44a0f74e83b2702fa64d4f8bfb2ec643c.tar.gz
cuberite-669392d44a0f74e83b2702fa64d4f8bfb2ec643c.tar.bz2
cuberite-669392d44a0f74e83b2702fa64d4f8bfb2ec643c.tar.lz
cuberite-669392d44a0f74e83b2702fa64d4f8bfb2ec643c.tar.xz
cuberite-669392d44a0f74e83b2702fa64d4f8bfb2ec643c.tar.zst
cuberite-669392d44a0f74e83b2702fa64d4f8bfb2ec643c.zip
Diffstat (limited to 'Server')
-rw-r--r--Server/Plugins/APIDump/Classes/World.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua
index ab12c89cf..841c93cd0 100644
--- a/Server/Plugins/APIDump/Classes/World.lua
+++ b/Server/Plugins/APIDump/Classes/World.lua
@@ -2315,6 +2315,27 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
},
Notes = "Returns whether or not saving chunk data is enabled. If disabled, the world will keep dirty chunks in memory forever, and will simply regenerate non-dirty chunks that are unloaded.",
},
+ IsSlimeChunk =
+ {
+ Params =
+ {
+ {
+ Name = "ChunkX",
+ Type = "number",
+ },
+ {
+ Name = "ChunkZ",
+ Type = "number",
+ },
+ },
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ },
+ Notes = "Returns whether slimes can spawn in the chunk.",
+ },
IsTrapdoorOpen =
{
Params =