summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
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 /src/Chunk.h
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 '')
-rw-r--r--src/Chunk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index 176f111ed..6d8dc91db 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -452,6 +452,8 @@ public:
return cChunkDef::RelativeToAbsolute(a_RelBlockPosition, {m_PosX, m_PosZ});
}
+ /** Returns true if slimes should spawn in the chunk. */
+ bool IsSlimeChunk() const;
private: