summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-01 21:21:11 +0200
committermadmaxoft <github@xoft.cz>2014-04-01 21:21:11 +0200
commite7e65b5005a39cd371230f7d6a4dac595cdc66a8 (patch)
tree3127513d415fafeba13e0b238bae9d499ca75acc /MCServer/Plugins
parentcBlockArea: Added the msMask merge strategy. (diff)
parentAPIDump: Gave msDifference it's own table. (diff)
downloadcuberite-e7e65b5005a39cd371230f7d6a4dac595cdc66a8.tar
cuberite-e7e65b5005a39cd371230f7d6a4dac595cdc66a8.tar.gz
cuberite-e7e65b5005a39cd371230f7d6a4dac595cdc66a8.tar.bz2
cuberite-e7e65b5005a39cd371230f7d6a4dac595cdc66a8.tar.lz
cuberite-e7e65b5005a39cd371230f7d6a4dac595cdc66a8.tar.xz
cuberite-e7e65b5005a39cd371230f7d6a4dac595cdc66a8.tar.zst
cuberite-e7e65b5005a39cd371230f7d6a4dac595cdc66a8.zip
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua18
1 files changed, 17 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 9bcd6edde..451b7364a 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -249,6 +249,9 @@ g_APIDesc =
<tr>
<td> A </td><td> B </td><td> B </td><td> A </td><td> B </td>
</tr>
+ <tr>
+ <td> A </td><td> A </td><td> A </td><td> A </td><td> A </td>
+ </td>
</tbody></table>
<p>
@@ -262,7 +265,20 @@ g_APIDesc =
<h3>Special strategies</h3>
<p>For each strategy, evaluate the table rows from top downwards, the first match wins.</p>
-
+
+ <p>
+ <strong>msDifference</strong> - changes all the blocks which are the same to air. Otherwise the source block gets placed.
+ </p>
+ <table><tbody<tr>
+ <th colspan="2"> area block </th><th> </th><th> Notes </th>
+ </tr><tr>
+ <td> * </td><td> B </td><td> B </td><td> The blocks are different so we use block B </td>
+ </tr><tr>
+ <td> B </td><td> B </td><td> Air </td><td> The blocks are the same so we get air. </td>
+ </tr>
+ </tbody></table>
+
+
<p>
<strong>msLake</strong> - used for merging areas with lava and water lakes, in the appropriate generator.
</p>