summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-01-18 17:09:10 +0100
committerGitHub <noreply@github.com>2021-01-18 17:09:10 +0100
commit813176fbd1de6591201a840829cb3f4ab927f754 (patch)
tree72329bea9c42ee629737a215d7f4e157896ccd46 /src/Chunk.h
parentFixed horse UI desync when taking saddle out (#5108) (diff)
downloadcuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar
cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.gz
cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.bz2
cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.lz
cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.xz
cuberite-813176fbd1de6591201a840829cb3f4ab927f754.tar.zst
cuberite-813176fbd1de6591201a840829cb3f4ab927f754.zip
Diffstat (limited to 'src/Chunk.h')
-rw-r--r--src/Chunk.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index d0283f3e4..ec5407480 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -45,10 +45,7 @@ typedef std::list<cClientHandle *> cClientHandleList;
#define PREPARE_REL_AND_CHUNK(Position, OriginalChunk) cChunk * Chunk; Vector3i Rel; bool RelSuccess = (OriginalChunk).GetChunkAndRelByAbsolute(Position, &Chunk, Rel)
-// This class is not to be used directly
-// Instead, call actions on cChunkMap (such as cChunkMap::SetBlock() etc.)
-class cChunk :
- public cChunkDef // The inheritance is "misused" here only to inherit the functions and constants defined in cChunkDef
+class cChunk
{
public:
@@ -347,8 +344,6 @@ public:
returns true if the use was successful, return false to use the block as a "normal" block */
bool UseBlockEntity(cPlayer * a_Player, int a_X, int a_Y, int a_Z); // [x, y, z] in world block coords
- void CalculateHeightmap(const BLOCKTYPE * a_BlockTypes);
-
void SendBlockEntity (int a_BlockX, int a_BlockY, int a_BlockZ, cClientHandle & a_Client);
Vector3i PositionToWorldPosition(Vector3i a_RelPos)