diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-03 16:33:55 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-03 16:33:55 +0100 |
commit | 55326ee2a72aea190ba9ccc7b04969742fc7ce5f (patch) | |
tree | 9361d4cfe6cb50f753ef78629bd602d8afe05bb8 /source/Chunk.h | |
parent | Redstone simulator: adding a block now checks if the neighbors are redstone-related; if not, the block is ignored. (diff) | |
download | cuberite-55326ee2a72aea190ba9ccc7b04969742fc7ce5f.tar cuberite-55326ee2a72aea190ba9ccc7b04969742fc7ce5f.tar.gz cuberite-55326ee2a72aea190ba9ccc7b04969742fc7ce5f.tar.bz2 cuberite-55326ee2a72aea190ba9ccc7b04969742fc7ce5f.tar.lz cuberite-55326ee2a72aea190ba9ccc7b04969742fc7ce5f.tar.xz cuberite-55326ee2a72aea190ba9ccc7b04969742fc7ce5f.tar.zst cuberite-55326ee2a72aea190ba9ccc7b04969742fc7ce5f.zip |
Diffstat (limited to 'source/Chunk.h')
-rw-r--r-- | source/Chunk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Chunk.h b/source/Chunk.h index 4d88d1019..a85c99271 100644 --- a/source/Chunk.h +++ b/source/Chunk.h @@ -331,8 +331,12 @@ private: void SpreadLightOfBlock(NIBBLETYPE * a_LightBuffer, int a_X, int a_Y, int a_Z, char a_Falloff); + /// Creates a block entity for each block that needs a block entity and doesn't have one in the list void CreateBlockEntities(void); + /// Wakes up each simulator for its specific blocks; through all the blocks in the chunk + void WakeUpSimulators(void); + // Makes a copy of the list cClientHandleList GetAllClients(void) const {return m_LoadedByClient; } |