From 7af3df03a056667ffeef71b785f6633d3cff957b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 30 May 2012 21:29:51 +0000 Subject: Added support for SetNextBlockTick() function callable from Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@527 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkMap.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/cChunkMap.h') diff --git a/source/cChunkMap.h b/source/cChunkMap.h index 4b381296d..1d2459d21 100644 --- a/source/cChunkMap.h +++ b/source/cChunkMap.h @@ -149,6 +149,9 @@ public: /// Returns the number of valid chunks and the number of dirty chunks void GetChunkStats(int & a_NumChunksValid, int & a_NumChunksDirty); + + /// Sets the blockticking to start at the specified block. Only one blocktick per chunk may be set, second call overwrites the first call + void SetNextBlockTick(int a_BlockX, int a_BlockY, int a_BlockZ); void Tick( float a_Dt, MTRand & a_TickRand ); -- cgit v1.2.3