APIDump: ID -> Type

master
andrew 2014-03-02 12:59:09 +02:00
parent cff4ee11f1
commit f40f2ad928
1 changed files with 10 additions and 10 deletions

View File

@ -297,16 +297,16 @@ g_APIDesc =
]], ]],
Functions = Functions =
{ {
FullyOccupiesVoxel = { Params = "ID", Return = "bool", Notes = "Returns whether the specified block fully occupies its voxel." }, FullyOccupiesVoxel = { Params = "Type", 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." }, GetById = { Params = "Type", Return = "{{cBlockInfo}}", Notes = "Returns the {{cBlockInfo}} structure for the specified type." },
GetLightValue = { Params = "ID", Return = "number", Notes = "Returns how much light the specified block emits on its own." }, GetLightValue = { Params = "Type", 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." }, GetSpreadLightFalloff = { Params = "Type", 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." }, IsOneHitDig = { Params = "Type", 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." }, IsPistonBreakable = { Params = "Type", 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." }, IsSnowable = { Params = "Type", 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." }, IsSolid = { Params = "Type", Return = "bool", Notes = "Returns whether the specified block is solid." },
IsTransparent = { Params = "ID", Return = "bool", Notes = "Returns whether the specified block is transparent." }, IsTransparent = { Params = "Type", 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." }, RequiresSpecialTool = { Params = "Type", Return = "bool", Notes = "Returns whether the specified block requires a special tool to drop." },
}, },
Variables = Variables =
{ {