summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-11-25 21:51:52 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-11-25 21:51:52 +0100
commita0c6342a294077b67f509b6f319468f56e39e344 (patch)
treeb2810cae8d7f3d63bc83a12c294f14c883c02305 /MCServer
parentExported cWorld::SpawnExperienceOrb() function to the Lua API. (diff)
downloadcuberite-a0c6342a294077b67f509b6f319468f56e39e344.tar
cuberite-a0c6342a294077b67f509b6f319468f56e39e344.tar.gz
cuberite-a0c6342a294077b67f509b6f319468f56e39e344.tar.bz2
cuberite-a0c6342a294077b67f509b6f319468f56e39e344.tar.lz
cuberite-a0c6342a294077b67f509b6f319468f56e39e344.tar.xz
cuberite-a0c6342a294077b67f509b6f319468f56e39e344.tar.zst
cuberite-a0c6342a294077b67f509b6f319468f56e39e344.zip
Diffstat (limited to 'MCServer')
-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 44e4bb35f..9f558f58c 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -2075,6 +2075,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. " },
+ SpawnExperienceOrb = { Params = "X, Y, Z, Reward", Return = "", 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." },
UnloadUnusedChunks = { Params = "", Return = "", Notes = "Unloads chunks that are no longer needed, and are saved. NOTE: This API is deprecated and will be removed soon." },