summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-07 14:30:17 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-07 14:30:17 +0100
commit02301bc9871a707f34cbeb8b2b0cae02b16c1a4f (patch)
treef803a769a6bea4dfaa918188ea7c70477dede203
parentAdded a SpawnFallingBlock function so plugins can make other blocks fall. (diff)
downloadcuberite-02301bc9871a707f34cbeb8b2b0cae02b16c1a4f.tar
cuberite-02301bc9871a707f34cbeb8b2b0cae02b16c1a4f.tar.gz
cuberite-02301bc9871a707f34cbeb8b2b0cae02b16c1a4f.tar.bz2
cuberite-02301bc9871a707f34cbeb8b2b0cae02b16c1a4f.tar.lz
cuberite-02301bc9871a707f34cbeb8b2b0cae02b16c1a4f.tar.xz
cuberite-02301bc9871a707f34cbeb8b2b0cae02b16c1a4f.tar.zst
cuberite-02301bc9871a707f34cbeb8b2b0cae02b16c1a4f.zip
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index a08f6f24b..75d5c011f 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -2077,6 +2077,7 @@ end
{ Params = "{{cItems|Pickups}}, X, Y, Z, SpeedX, SpeedY, SpeedZ", Return = "", Notes = "Spawns the specified pickups at the position specified. All the pickups fly away from the spawn position using the specified speed." },
},
SpawnMob = { Params = "X, Y, Z, {{cMonster|MonsterType}}", Return = "EntityID", Notes = "Spawns the specified type of mob at the specified coords. Returns the EntityID of the creates entity, or -1 on failure. " },
+ SpawnFallingBlock = { Params = "X, Y, Z, BlockType, BlockMeta", Return = "EntityID", Notes = "Spawns an {{cFallingBlock|Falling Block}} entity at the specified coords with the given block type/meta" },
SpawnExperienceOrb = { Params = "X, Y, Z, Reward", Return = "EntityID", Notes = "Spawns an {{cExpOrb|experience orb}} at the specified coords, with the given reward" },
SpawnPrimedTNT = { Params = "X, Y, Z, FuseTimeSecs, InitialVelocityCoeff", Return = "", Notes = "Spawns a {{cTNTEntity|primed TNT entity}} at the specified coords, with the given fuse time. The entity gets a random speed multiplied by the InitialVelocityCoeff, 1 being the default value." },
TryGetHeight = { Params = "BlockX, BlockZ", Return = "IsValid, Height", Notes = "Returns true and height of the highest non-air block if the chunk is loaded, or false otherwise." },