summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-09-03 14:16:41 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-09-03 17:41:06 +0200
commitcc270ffbee624b2606f5ce931553a2d3d2151147 (patch)
treefc496ef4878d664f4758ee92eb3dd2b9e1039d2b /Server
parentcChunk::SetAlwaysTicked implies cChunk::stay (diff)
downloadcuberite-cc270ffbee624b2606f5ce931553a2d3d2151147.tar
cuberite-cc270ffbee624b2606f5ce931553a2d3d2151147.tar.gz
cuberite-cc270ffbee624b2606f5ce931553a2d3d2151147.tar.bz2
cuberite-cc270ffbee624b2606f5ce931553a2d3d2151147.tar.lz
cuberite-cc270ffbee624b2606f5ce931553a2d3d2151147.tar.xz
cuberite-cc270ffbee624b2606f5ce931553a2d3d2151147.tar.zst
cuberite-cc270ffbee624b2606f5ce931553a2d3d2151147.zip
Diffstat (limited to 'Server')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index f61374407..9373bf87e 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -2640,7 +2640,7 @@ end
{ Params = "BlockX, BlockY, BlockZ, BlockMeta, [ShouldMarkChunkDirty], [ShouldSendToClients]", Return = "", Notes = "Sets the meta for the block at the specified coords. If ShouldMarkChunkDirty is true (default), the chunk is marked dirty and will be saved later on. If ShouldSendToClients is true (default), the change is broadcast to all clients who have the chunk loaded, if false, the change is kept server-side only." },
{ Params = "{{Vector3i|BlockCoords}}, BlockMeta", Return = "", Notes = "Sets the meta for the block at the specified coords." },
},
- SetChunkAlwaysTicked = { Params = "ChunkX, ChunkZ, IsAlwaysTicked", Return = "", Notes = "Sets the chunk to always be ticked even when it doesn't contain any clients. IsAlwaysTicked set to true turns forced ticking on, set to false turns it off. Every call with 'true' should be paired with a later call with 'false', otherwise the ticking won't stop. Multiple actions can request ticking independently, the ticking will continue until the last call with 'false'. Note that when the chunk unloads, it loses the value of this flag." },
+ SetChunkAlwaysTicked = { Params = "ChunkX, ChunkZ, IsAlwaysTicked", Return = "", Notes = "Sets the chunk to always be ticked and loaded even when it doesn't contain any clients. IsAlwaysTicked set to true turns forced ticking on, set to false turns it off. Every call with 'true' should be paired with a later call with 'false', otherwise the ticking won't stop. Multiple actions can request ticking independently, the ticking will continue until the last call with 'false'." },
SetNextBlockTick = { Params = "BlockX, BlockY, BlockZ", Return = "", Notes = "Sets the blockticking to start at the specified block in the next tick." },
SetCommandBlockCommand = { Params = "BlockX, BlockY, BlockZ, Command", Return = "bool", Notes = "Sets the command to be executed in a command block at the specified coordinates. Returns if command was changed." },
SetCommandBlocksEnabled = { Params = "IsEnabled (bool)", Return = "", Notes = "Sets whether command blocks should be enabled on the (entire) server." },