diff options
author | Mattes D <github@xoft.cz> | 2015-08-26 10:58:51 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-09-05 22:01:21 +0200 |
commit | dac97826f7d0c9b9135c1a08c4d5f16b61494bd1 (patch) | |
tree | ec17a9703fe734956e4f151cb5306befc4fd7571 /MCServer/Plugins/APIDump/Hooks/OnBlockSpread.lua | |
parent | Merge pull request #2459 from cuberite/fixes (diff) | |
download | cuberite-dac97826f7d0c9b9135c1a08c4d5f16b61494bd1.tar cuberite-dac97826f7d0c9b9135c1a08c4d5f16b61494bd1.tar.gz cuberite-dac97826f7d0c9b9135c1a08c4d5f16b61494bd1.tar.bz2 cuberite-dac97826f7d0c9b9135c1a08c4d5f16b61494bd1.tar.lz cuberite-dac97826f7d0c9b9135c1a08c4d5f16b61494bd1.tar.xz cuberite-dac97826f7d0c9b9135c1a08c4d5f16b61494bd1.tar.zst cuberite-dac97826f7d0c9b9135c1a08c4d5f16b61494bd1.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks/OnBlockSpread.lua')
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnBlockSpread.lua | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnBlockSpread.lua b/MCServer/Plugins/APIDump/Hooks/OnBlockSpread.lua deleted file mode 100644 index 7da796d4d..000000000 --- a/MCServer/Plugins/APIDump/Hooks/OnBlockSpread.lua +++ /dev/null @@ -1,40 +0,0 @@ -return -{ - HOOK_BLOCK_SPREAD = - { - CalledWhen = "Called when a block spreads based on world conditions", - DefaultFnName = "OnBlockSpread", -- also used as pagename - Desc = [[ - This hook is called when a block spreads.</p> - <p> - The spread carries with it the type of its source - whether it's a block spreads. - It also carries the identification of the actual source. The exact type of the identification - depends on the source kind: - <table> - <tr><th>Source</th><th>Notes</th></tr> - <tr><td>ssFireSpread</td><td>Fire spreading</td></tr> - <tr><td>ssGrassSpread</td><td>Grass spreading</td></tr> - <tr><td>ssMushroomSpread</td><td>Mushroom spreading</td></tr> - <tr><td>ssMycelSpread</td><td>Mycel spreading</td></tr> - <tr><td>ssVineSpread</td><td>Vine spreading</td></tr> - </table></p> - ]], - Params = - { - { Name = "World", Type = "{{cWorld}}", Notes = "The world in which the block resides" }, - { Name = "BlockX", Type = "number", Notes = "X-coord of the block" }, - { Name = "BlockY", Type = "number", Notes = "Y-coord of the block" }, - { Name = "BlockZ", Type = "number", Notes = "Z-coord of the block" }, - { Name = "Source", Type = "eSpreadSource", Notes = "Source of the spread. See the table above." }, - }, - Returns = [[ - If the function returns false or no value, the next plugin's callback is called, and finally - Cuberite will process the spread. If the function - returns true, no other callback is called for this event and the spread will not occur. - ]], - }, -- HOOK_BLOCK_SPREAD -} - - - - |