From 26ac146f41091dc070d8075f5fc9de25b5a22578 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Fri, 17 Apr 2020 11:36:37 +0200 Subject: More Vector3 in cBlockHandler (#4644) * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. --- Server/Plugins/APIDump/Classes/World.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Server/Plugins/APIDump/Classes/World.lua') diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua index fffb8fa73..338935a7b 100644 --- a/Server/Plugins/APIDump/Classes/World.lua +++ b/Server/Plugins/APIDump/Classes/World.lua @@ -3032,7 +3032,18 @@ function OnAllChunksAvailable() All return values from the callbacks are i Type = "number", }, }, - Notes = "Sets the blockticking to start at the specified block in the next tick.", + Notes = "DEPRECATED, use SetNextBlockToTick() instead.", + }, + SetNextBlockToTick = + { + Params = + { + { + Name = "BlockPos", + Type = "Vector3i", + }, + }, + Notes = "Requests that the specified block be ticked at the start of the next world tick. Only one block per chunk can be queued this way; a second call to the same chunk overwrites the previous call.", }, SetSavingEnabled = { -- cgit v1.2.3