summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-03-08 13:42:34 +0100
committerMattes D <github@xoft.cz>2015-03-21 22:02:22 +0100
commit20a2e36087b3e21944917e344de89ac595c175c2 (patch)
tree773ba19999fdf1263731103b4a98b3ee2395be6e
parentAPIDump: Gave shrapnellevel it's own constantgroup (diff)
downloadcuberite-20a2e36087b3e21944917e344de89ac595c175c2.tar
cuberite-20a2e36087b3e21944917e344de89ac595c175c2.tar.gz
cuberite-20a2e36087b3e21944917e344de89ac595c175c2.tar.bz2
cuberite-20a2e36087b3e21944917e344de89ac595c175c2.tar.lz
cuberite-20a2e36087b3e21944917e344de89ac595c175c2.tar.xz
cuberite-20a2e36087b3e21944917e344de89ac595c175c2.tar.zst
cuberite-20a2e36087b3e21944917e344de89ac595c175c2.zip
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index c4e54fa79..e23d40187 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -2503,7 +2503,7 @@ local CompressedString = cStringCompression.CompressStringGZIP("DataToCompress")
GetStorageSaveQueueLength = { Params = "", Return = "number", Notes = "Returns the number of chunks queued up for saving" },
GetTicksUntilWeatherChange = { Params = "", Return = "number", Notes = "Returns the number of ticks that will pass before the weather is changed" },
GetTimeOfDay = { Params = "", Return = "number", Notes = "Returns the number of ticks that have passed from the sunrise, 0 .. 24000." },
- GetTNTShrapnelLevel = { Params = "", Return = "eShrapnelLevel", Notes = "Returns the level of Shrapnel." },
+ GetTNTShrapnelLevel = { Params = "", Return = "eShrapnelLevel", Notes = "Returns the shrapnel level, representing the block types that are propelled outwards following an explosion. Based on this value and a random picker, blocks are selectively converted to physics entities (FallingSand) and flung outwards." },
GetWeather = { Params = "", Return = "eWeather", Notes = "Returns the current weather in the world (wSunny, wRain, wStorm). To check for weather, use IsWeatherXXX() functions instead." },
GetWorldAge = { Params = "", Return = "number", Notes = "Returns the total age of the world, in ticks. The age always grows, cannot be set by plugins and is unrelated to TimeOfDay." },
GrowCactus = { Params = "BlockX, BlockY, BlockZ, NumBlocksToGrow", Return = "", Notes = "Grows a cactus block at the specified coords, by up to the specified number of blocks. Adheres to the world's maximum cactus growth (GetMaxCactusHeight())." },
@@ -3094,14 +3094,14 @@ end
These constants are used to differentiate the various sources of spreads, such as grass growing.
They are used in the {{OnBlockSpread|HOOK_BLOCK_SPREAD}} hook.
]],
- }
+ },
ShrapnelLevel =
{
Include = "^sl.*",
TextBefore = [[
The following constants define the block types that are propelled outwards after an explosion.
]],
- }
+ },
},
}, -- Globals
},