diff options
author | Michal Havlíček <80639037+havel06@users.noreply.github.com> | 2023-04-08 00:11:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-08 00:11:10 +0200 |
commit | 669392d44a0f74e83b2702fa64d4f8bfb2ec643c (patch) | |
tree | 2c80eca6e9504c6475b00e5fd72b18d308d06e0f /Server | |
parent | refactor: removed m_MojangAPI from RankManager (#5483) (diff) | |
download | cuberite-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 '')
-rw-r--r-- | Server/Plugins/APIDump/Classes/World.lua | 21 |
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 = |