summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-05-01 12:59:18 +0200
committerLukas Pioch <lukas@zgow.de>2017-05-02 06:10:36 +0200
commitf709f74aeb566fc0edf95e32f3914f007b2383d4 (patch)
tree149e6ad08c0c1c44689026a7b5ff5e6e24b284b9 /Server/Plugins/APIDump/APIDesc.lua
parentDon't return const ref params and removed functions from (diff)
downloadcuberite-f709f74aeb566fc0edf95e32f3914f007b2383d4.tar
cuberite-f709f74aeb566fc0edf95e32f3914f007b2383d4.tar.gz
cuberite-f709f74aeb566fc0edf95e32f3914f007b2383d4.tar.bz2
cuberite-f709f74aeb566fc0edf95e32f3914f007b2383d4.tar.lz
cuberite-f709f74aeb566fc0edf95e32f3914f007b2383d4.tar.xz
cuberite-f709f74aeb566fc0edf95e32f3914f007b2383d4.tar.zst
cuberite-f709f74aeb566fc0edf95e32f3914f007b2383d4.zip
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua72
1 files changed, 12 insertions, 60 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 9c017579c..6db4b056f 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -2128,6 +2128,12 @@ return
Type = "number",
},
},
+ Returns =
+ {
+ {
+ Type = "string",
+ },
+ },
Notes = "Returns the name of the sound that is played when placing the block of this type.",
},
GetSpreadLightFalloff =
@@ -2256,24 +2262,6 @@ return
},
Notes = "Returns whether a spectator can interact with the specified block.",
},
- RequiresSpecialTool =
- {
- IsStatic = true,
- Params =
- {
- {
- Name = "BlockType",
- Type = "number",
- },
- },
- Returns =
- {
- {
- Type = "boolean",
- },
- },
- Notes = "Returns whether the specified block requires a special tool to drop resources.",
- },
},
Variables =
{
@@ -5141,16 +5129,6 @@ local Hash = cCryptoHash.sha1HexString("DataToHash")
},
Notes = "Returns the roll (sideways rotation) of the entity. Currently unused.",
},
- GetRot =
- {
- Returns =
- {
- {
- Type = "Vector3f",
- },
- },
- Notes = "(OBSOLETE) Returns the entire rotation vector (Yaw, Pitch, Roll)",
- },
GetSpeed =
{
Returns =
@@ -5819,17 +5797,6 @@ local Hash = cCryptoHash.sha1HexString("DataToHash")
},
Notes = "Sets the roll (sideways rotation) of the entity. Currently unused.",
},
- SetRot =
- {
- Params =
- {
- {
- Name = "Rotation",
- Type = "Vector3f",
- },
- },
- Notes = "Sets the entire rotation vector (Yaw, Pitch, Roll)",
- },
SetSpeed =
{
{
@@ -8559,6 +8526,12 @@ These ItemGrids are available in the API and can be manipulated by the plugins,
IsLoreEmpty =
{
Notes = "Returns if the lore of the cItem is empty.",
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ },
},
IsSameType =
{
@@ -12641,16 +12614,6 @@ a_Player:OpenWindow(Window);
},
Notes = "Returns the cPluginManager object.",
},
- GetPrimaryServerVersion =
- {
- Returns =
- {
- {
- Type = "number",
- },
- },
- Notes = "Returns the servers primary server version.",
- },
GetProtocolVersionTextFromInt =
{
IsStatic = true,
@@ -12752,17 +12715,6 @@ a_Player:OpenWindow(Window);
{
Notes = "Saves all the chunks in all the worlds. Note that the saving is queued on each world's tick thread and this functions returns before the chunks are actually saved.",
},
- SetPrimaryServerVersion =
- {
- Params =
- {
- {
- Name = "Protocol Version",
- Type = "number",
- },
- },
- Notes = "Sets the servers PrimaryServerVersion to the given protocol number.",
- },
},
AdditionalInfo =
{