diff options
author | madmaxoft <github@xoft.cz> | 2013-09-13 16:29:24 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-13 16:29:24 +0200 |
commit | ddda753f5272f95c6cec60c0492d61215c948488 (patch) | |
tree | 280cc66c82b077a7590862b9aa8ab861019e1589 | |
parent | APIDump: Basic CSS file makes tables visible (diff) | |
download | cuberite-ddda753f5272f95c6cec60c0492d61215c948488.tar cuberite-ddda753f5272f95c6cec60c0492d61215c948488.tar.gz cuberite-ddda753f5272f95c6cec60c0492d61215c948488.tar.bz2 cuberite-ddda753f5272f95c6cec60c0492d61215c948488.tar.lz cuberite-ddda753f5272f95c6cec60c0492d61215c948488.tar.xz cuberite-ddda753f5272f95c6cec60c0492d61215c948488.tar.zst cuberite-ddda753f5272f95c6cec60c0492d61215c948488.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index e7b759505..7fb001b76 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -14,7 +14,7 @@ g_APIDesc = { Desc = [[ This class is used when multiple adjacent blocks are to be manipulated. Because of chunking - and multithreading, manipulating single blocks using {{api:cWorld|cWorld:SetBlock}}() is a rather + and multithreading, manipulating single blocks using {{cWorld|cWorld:SetBlock}}() is a rather time-consuming operation (locks for exclusive access need to be obtained, chunk lookup is done for each block), so whenever you need to manipulate multiple adjacent blocks, it's better to wrap the operation into a cBlockArea access. cBlockArea is capable of reading / writing across chunk @@ -36,9 +36,9 @@ g_APIDesc = <p> Typical usage:<ul> <li>Create cBlockArea object</li> - <li>Read an area from the world</li> + <li>Read an area from the world / load from file / create anew</li> <li>Modify blocks inside cBlockArea</li> - <li>Write the area back to a world</li> + <li>Write the area back to a world / save to file</li> </ul></p> ]], Functions = |