summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author[IPSA] Chris de Claverie <c.de-claverie@protonmail.com>2020-10-01 12:38:10 +0200
committerGitHub <noreply@github.com>2020-10-01 12:38:10 +0200
commitbe841b4769cac98a932148bcdf6013f2dcac4ea2 (patch)
tree1380521e9145440f9fbeee31c4528fd1a65be431
parentRevert travis changes (diff)
downloadcuberite-be841b4769cac98a932148bcdf6013f2dcac4ea2.tar
cuberite-be841b4769cac98a932148bcdf6013f2dcac4ea2.tar.gz
cuberite-be841b4769cac98a932148bcdf6013f2dcac4ea2.tar.bz2
cuberite-be841b4769cac98a932148bcdf6013f2dcac4ea2.tar.lz
cuberite-be841b4769cac98a932148bcdf6013f2dcac4ea2.tar.xz
cuberite-be841b4769cac98a932148bcdf6013f2dcac4ea2.tar.zst
cuberite-be841b4769cac98a932148bcdf6013f2dcac4ea2.zip
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua5
-rw-r--r--Server/Plugins/APIDump/Classes/BlockArea.lua5
-rw-r--r--Server/Plugins/APIDump/Classes/World.lua4
3 files changed, 9 insertions, 5 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 4a61fb55c..f339aa6d1 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -542,6 +542,7 @@ return
only used as a parameter for the {{OnChunkGenerating|OnChunkGenerating}} and
{{OnChunkGenerated|OnChunkGenerated}} hooks and cannot be constructed on its own. Plugins can use this
class in both those hooks to manipulate generated chunks.
+ Calls to any setter of this class will not trigger simulator updates (lava, water, redstone).
]],
Functions =
{
@@ -1119,7 +1120,7 @@ return
Type = "EMCSBiome",
},
},
- Notes = "Sets the biome at the specified relative coords",
+ Notes = "Sets the biome at the specified relative coords.",
},
SetBlockMeta =
{
@@ -1142,7 +1143,7 @@ return
Type = "number",
},
},
- Notes = "Sets the block meta at the specified relative coords",
+ Notes = "Sets the block meta at the specified relative coords.",
},
SetBlockType =
{
diff --git a/Server/Plugins/APIDump/Classes/BlockArea.lua b/Server/Plugins/APIDump/Classes/BlockArea.lua
index f4c47d063..a826bb713 100644
--- a/Server/Plugins/APIDump/Classes/BlockArea.lua
+++ b/Server/Plugins/APIDump/Classes/BlockArea.lua
@@ -37,6 +37,9 @@ return
<li>Modify blocks inside cBlockArea</li>
<li>Write the area back to a world / save to file</li>
</ul></p>
+ <p>
+ Calls to any setter of this class will not trigger simulator updates (lava, water, redstone).
+ </p>
]],
Functions =
{
@@ -1621,7 +1624,7 @@ return
Type = "number",
},
},
- Notes = "Sets the block meta at the specified absolute coords",
+ Notes = "Sets the block meta at the specified absolute coords.",
},
SetBlockSkyLight =
{
diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua
index 62e53ace6..b86a84e71 100644
--- a/Server/Plugins/APIDump/Classes/World.lua
+++ b/Server/Plugins/APIDump/Classes/World.lua
@@ -2802,7 +2802,7 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
Type = "number",
},
},
- Notes = "Sets the meta for the block at the specified coords.",
+ Notes = "Sets the meta for the block at the specified coords. Any call to SetBlockMeta will not generate a simulator update (water, lava, redstone), consider using SetBlock instead.",
},
{
Params =
@@ -2816,7 +2816,7 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
Type = "number",
},
},
- Notes = "Sets the meta for the block at the specified coords.",
+ Notes = "Sets the meta for the block at the specified coords. Any call to SetBlockMeta will not generate a simulator update (water, lava, redstone), consider using SetBlock instead.",
},
},
SetChunkAlwaysTicked =