summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-10 18:28:20 +0200
committermadmaxoft <github@xoft.cz>2014-07-10 18:28:20 +0200
commitd790a45c5025e33712d8dd21f9349716ae4ee7d1 (patch)
tree58174e9c929ac1545433f10b5b7c6cedf67c5511 /MCServer
parentDebuggers: Added forced chunk ticking test. (diff)
downloadcuberite-d790a45c5025e33712d8dd21f9349716ae4ee7d1.tar
cuberite-d790a45c5025e33712d8dd21f9349716ae4ee7d1.tar.gz
cuberite-d790a45c5025e33712d8dd21f9349716ae4ee7d1.tar.bz2
cuberite-d790a45c5025e33712d8dd21f9349716ae4ee7d1.tar.lz
cuberite-d790a45c5025e33712d8dd21f9349716ae4ee7d1.tar.xz
cuberite-d790a45c5025e33712d8dd21f9349716ae4ee7d1.tar.zst
cuberite-d790a45c5025e33712d8dd21f9349716ae4ee7d1.zip
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index baa9f0f37..ea9f38db4 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -2340,6 +2340,7 @@ end
{ Params = "BlockX, BlockY, BlockZ, BlockMeta", Return = "", Notes = "Sets the meta for the block at the specified coords." },
{ 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." },
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." },