summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-28 22:40:40 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-28 22:40:40 +0200
commitbe121f9e80290fb3ad126a6f063784161e516fd0 (patch)
tree30c4fbf7db90e64c7df10e9b67882601dee4b355 /src/Chunk.h
parentWorldStorage: Removed unused callback parameters (diff)
downloadcuberite-be121f9e80290fb3ad126a6f063784161e516fd0.tar
cuberite-be121f9e80290fb3ad126a6f063784161e516fd0.tar.gz
cuberite-be121f9e80290fb3ad126a6f063784161e516fd0.tar.bz2
cuberite-be121f9e80290fb3ad126a6f063784161e516fd0.tar.lz
cuberite-be121f9e80290fb3ad126a6f063784161e516fd0.tar.xz
cuberite-be121f9e80290fb3ad126a6f063784161e516fd0.tar.zst
cuberite-be121f9e80290fb3ad126a6f063784161e516fd0.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index fa4e9ad19..8aa73cde5 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -581,7 +581,7 @@ private:
// A critical section is not needed, because all chunk access is protected by its parent ChunkMap's csLayers
std::vector<cClientHandle *> m_LoadedByClient;
std::vector<OwnedEntity> m_Entities;
- cBlockEntities m_BlockEntities;
+ cBlockEntities m_BlockEntities;
/** Number of times the chunk has been requested to stay (by various cChunkStay objects); if zero, the chunk can be unloaded */
unsigned m_StayCount;
@@ -623,12 +623,6 @@ private:
void RemoveBlockEntity(cBlockEntity * a_BlockEntity);
void AddBlockEntity (OwnedBlockEntity a_BlockEntity);
- /** Add a block entity to the chunk without marking the chunk dirty */
- void AddBlockEntityClean(OwnedBlockEntity a_BlockEntity);
-
- /** Creates a block entity for each block that needs a block entity and doesn't have one already */
- void CreateBlockEntities(void);
-
/** Wakes up each simulator for its specific blocks; through all the blocks in the chunk */
void WakeUpSimulators(void);
@@ -659,11 +653,3 @@ private:
/** Check m_Entities for cPlayer objects. */
bool HasPlayerEntities() const;
};
-
-typedef cChunk * cChunkPtr;
-
-typedef std::list<cChunkPtr> cChunkPtrList;
-
-
-
-