summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2020-08-26 14:08:37 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-27 18:32:48 +0200
commitc98a2d9acfdf4350479b925f216a1b1fb49688f6 (patch)
tree54b74265f680dae0031cf2da4b83068d7cc3dbbd /Server/Plugins/APIDump
parentAdded a "reloadweb" command for reloading web admin config. (diff)
downloadcuberite-c98a2d9acfdf4350479b925f216a1b1fb49688f6.tar
cuberite-c98a2d9acfdf4350479b925f216a1b1fb49688f6.tar.gz
cuberite-c98a2d9acfdf4350479b925f216a1b1fb49688f6.tar.bz2
cuberite-c98a2d9acfdf4350479b925f216a1b1fb49688f6.tar.lz
cuberite-c98a2d9acfdf4350479b925f216a1b1fb49688f6.tar.xz
cuberite-c98a2d9acfdf4350479b925f216a1b1fb49688f6.tar.zst
cuberite-c98a2d9acfdf4350479b925f216a1b1fb49688f6.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/Classes/World.lua44
1 files changed, 8 insertions, 36 deletions
diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua
index 338935a7b..4de9c68f4 100644
--- a/Server/Plugins/APIDump/Classes/World.lua
+++ b/Server/Plugins/APIDump/Classes/World.lua
@@ -2178,7 +2178,7 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
{
{
Name = "BlockPos",
- Type = "number",
+ Type = "Vector3i",
},
},
Returns =
@@ -2224,16 +2224,8 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
Params =
{
{
- Name = "BlockX",
- Type = "number",
- },
- {
- Name = "BlockY",
- Type = "number",
- },
- {
- Name = "BlockZ",
- Type = "number",
+ Name = "BlockPos",
+ Type = "Vector3i",
},
},
Notes = "Grows a tree based at the specified coords. If there is a sapling there, grows the tree based on that sapling, otherwise chooses a tree image based on the biome.",
@@ -2243,16 +2235,8 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
Params =
{
{
- Name = "BlockX",
- Type = "number",
- },
- {
- Name = "BlockY",
- Type = "number",
- },
- {
- Name = "BlockZ",
- Type = "number",
+ Name = "BlockPos",
+ Type = "Vector3i",
},
},
Notes = "Grows a tree based at the specified coords. The tree type is picked from types available for the biome at those coords.",
@@ -2262,23 +2246,11 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
Params =
{
{
- Name = "BlockX",
- Type = "number",
- },
- {
- Name = "BlockY",
- Type = "number",
- },
- {
- Name = "BlockZ",
- Type = "number",
- },
- {
- Name = "SaplingMeta",
- Type = "number",
+ Name = "BlockPos",
+ Type = "Vector3i",
},
},
- Notes = "Grows a tree based at the specified coords. The tree type is determined from the sapling meta (the sapling itself needn't be present).",
+ Notes = "Grows a tree based at the specified coords. The tree type is determined from the sapling meta. If the sapling is part of a 2x2 sapling area, grows a large tree.",
},
IsBlockDirectlyWatered =
{