summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-11-26 15:37:15 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-11-26 15:37:15 +0100
commit686e0c12e2fa1b8d8e0970306e57cbcfa247f5f5 (patch)
treef31bbc5567d815b4c000da682c71327a6f51a1ab /MCServer/Plugins/APIDump/APIDesc.lua
parentMerge pull request #368 from mc-server/ExpOrbs (diff)
downloadcuberite-686e0c12e2fa1b8d8e0970306e57cbcfa247f5f5.tar
cuberite-686e0c12e2fa1b8d8e0970306e57cbcfa247f5f5.tar.gz
cuberite-686e0c12e2fa1b8d8e0970306e57cbcfa247f5f5.tar.bz2
cuberite-686e0c12e2fa1b8d8e0970306e57cbcfa247f5f5.tar.lz
cuberite-686e0c12e2fa1b8d8e0970306e57cbcfa247f5f5.tar.xz
cuberite-686e0c12e2fa1b8d8e0970306e57cbcfa247f5f5.tar.zst
cuberite-686e0c12e2fa1b8d8e0970306e57cbcfa247f5f5.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/APIDesc.lua')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 9f558f58c..6545c1f9f 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -769,6 +769,7 @@ end
{
etBoat = { Notes = "The entity is a {{cBoat}}" },
etEntity = { Notes = "No further specialization available" },
+ etExpOrb = { Notes = "The entity is a {{cExpOrb}}" },
etFallingBlock = { Notes = "The entity is a {{cFallingBlock}}" },
etMob = { Notes = "The entity is a {{cMonster}} descendant" },
etMonster = { Notes = "The entity is a {{cMonster}} descendant" },
@@ -2075,7 +2076,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" },
+ 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." },
UnloadUnusedChunks = { Params = "", Return = "", Notes = "Unloads chunks that are no longer needed, and are saved. NOTE: This API is deprecated and will be removed soon." },