diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-31 18:16:52 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-31 18:16:52 +0200 |
commit | c138d19c31ee85a38fe758bc2c69591bcfe42230 (patch) | |
tree | 8288899fad010955779ae64628dccbfdd77a4d5a | |
parent | Renamed "select..." methods to "set..." and better IsValidEffect() function. (diff) | |
download | cuberite-c138d19c31ee85a38fe758bc2c69591bcfe42230.tar cuberite-c138d19c31ee85a38fe758bc2c69591bcfe42230.tar.gz cuberite-c138d19c31ee85a38fe758bc2c69591bcfe42230.tar.bz2 cuberite-c138d19c31ee85a38fe758bc2c69591bcfe42230.tar.lz cuberite-c138d19c31ee85a38fe758bc2c69591bcfe42230.tar.xz cuberite-c138d19c31ee85a38fe758bc2c69591bcfe42230.tar.zst cuberite-c138d19c31ee85a38fe758bc2c69591bcfe42230.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/Classes/BlockEntities.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MCServer/Plugins/APIDump/Classes/BlockEntities.lua b/MCServer/Plugins/APIDump/Classes/BlockEntities.lua index 524087a8e..90ebf12e6 100644 --- a/MCServer/Plugins/APIDump/Classes/BlockEntities.lua +++ b/MCServer/Plugins/APIDump/Classes/BlockEntities.lua @@ -63,10 +63,10 @@ return { IsActive = { Params = "", Return = "bool", Notes = "Is the beacon active?" }, GetBeaconLevel = { Params = "", Return = "number", Notes = "Returns the beacon level. (0 - 4)" }, - GetPrimaryEffect = { Params = "", Return = "EffectType", Notes = "Returns the primary potion." }, - GetSecondaryEffect = { Params = "", Return = "EffectType", Notes = "Returns the secondary potion." }, - SelectPrimaryEffect = { Params = "EffectType", Return = "bool", Notes = "Select the primary effect. Returns false when the effect is invalid." }, - SelectSecondaryEffect = { Params = "EffectType", Return = "bool", Notes = "Select the secondary effect. Returns false when the effect is invalid." }, + GetPrimaryEffect = { Params = "", Return = "EffectType", Notes = "Returns the primary effect." }, + GetSecondaryEffect = { Params = "", Return = "EffectType", Notes = "Returns the secondary effect." }, + SetPrimaryEffect = { Params = "EffectType", Return = "bool", Notes = "Select the primary effect. Returns false when the effect is invalid." }, + SetSecondaryEffect = { Params = "EffectType", Return = "bool", Notes = "Select the secondary effect. Returns false when the effect is invalid." }, CalculatePyramidLevel = { Params = "", Return = "number", Notes = "Calculate the amount of layers the pyramid below the beacon has." }, IsBeaconBlocked = { Params = "", Return = "bool", Notes = "Is the beacon blocked by non-transparent blocks that are higher than the beacon?" }, UpdateBeacon = { Params = "", Return = "", Notes = "Update the beacon." }, |