summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-03-02 11:59:09 +0100
committerandrew <xdotftw@gmail.com>2014-03-02 11:59:09 +0100
commitf40f2ad9283bd5aa587cd0943adc5f8c7a3b41c1 (patch)
tree7458c516d2d40d2df676071a09d89b0c24326faf
parentRemoved g_BlockXXX arrays (diff)
downloadcuberite-f40f2ad9283bd5aa587cd0943adc5f8c7a3b41c1.tar
cuberite-f40f2ad9283bd5aa587cd0943adc5f8c7a3b41c1.tar.gz
cuberite-f40f2ad9283bd5aa587cd0943adc5f8c7a3b41c1.tar.bz2
cuberite-f40f2ad9283bd5aa587cd0943adc5f8c7a3b41c1.tar.lz
cuberite-f40f2ad9283bd5aa587cd0943adc5f8c7a3b41c1.tar.xz
cuberite-f40f2ad9283bd5aa587cd0943adc5f8c7a3b41c1.tar.zst
cuberite-f40f2ad9283bd5aa587cd0943adc5f8c7a3b41c1.zip
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 695d1a853..ed9c32d32 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -297,16 +297,16 @@ g_APIDesc =
]],
Functions =
{
- FullyOccupiesVoxel = { Params = "ID", Return = "bool", Notes = "Returns whether the specified block fully occupies its voxel." },
- GetById = { Params = "ID", Return = "{{cBlockInfo}}", Notes = "Returns the {{cBlockInfo}} structure for the block with the specified ID." },
- GetLightValue = { Params = "ID", Return = "number", Notes = "Returns how much light the specified block emits on its own." },
- GetSpreadLightFalloff = { Params = "ID", Return = "number", Notes = "Returns how much light the specified block consumes." },
- IsOneHitDig = { Params = "ID", Return = "bool", Notes = "Returns whether the specified block will be destroyed after a single hit." },
- IsPistonBreakable = { Params = "ID", Return = "bool", Notes = "Returns whether a piston can break the specified block." },
- IsSnowable = { Params = "ID", Return = "bool", Notes = "Returns whether the specified block can hold snow atop." },
- IsSolid = { Params = "ID", Return = "bool", Notes = "Returns whether the specified block is solid." },
- IsTransparent = { Params = "ID", Return = "bool", Notes = "Returns whether the specified block is transparent." },
- RequiresSpecialTool = { Params = "ID", Return = "bool", Notes = "Returns whether the specified block requires a special tool to drop." },
+ FullyOccupiesVoxel = { Params = "Type", Return = "bool", Notes = "Returns whether the specified block fully occupies its voxel." },
+ GetById = { Params = "Type", Return = "{{cBlockInfo}}", Notes = "Returns the {{cBlockInfo}} structure for the specified type." },
+ GetLightValue = { Params = "Type", Return = "number", Notes = "Returns how much light the specified block emits on its own." },
+ GetSpreadLightFalloff = { Params = "Type", Return = "number", Notes = "Returns how much light the specified block consumes." },
+ IsOneHitDig = { Params = "Type", Return = "bool", Notes = "Returns whether the specified block will be destroyed after a single hit." },
+ IsPistonBreakable = { Params = "Type", Return = "bool", Notes = "Returns whether a piston can break the specified block." },
+ IsSnowable = { Params = "Type", Return = "bool", Notes = "Returns whether the specified block can hold snow atop." },
+ IsSolid = { Params = "Type", Return = "bool", Notes = "Returns whether the specified block is solid." },
+ IsTransparent = { Params = "Type", Return = "bool", Notes = "Returns whether the specified block is transparent." },
+ RequiresSpecialTool = { Params = "Type", Return = "bool", Notes = "Returns whether the specified block requires a special tool to drop." },
},
Variables =
{