diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2020-10-29 21:47:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 21:47:20 +0100 |
commit | 961d5eb420182add0b6cb4d92f260b885563389c (patch) | |
tree | c63fb7b3905d2ae59c539cca44845984128c27bb /Server/Plugins | |
parent | Remove BLOCKENTITY_PROTODEF (diff) | |
download | cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.gz cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.bz2 cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.lz cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.xz cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.zst cuberite-961d5eb420182add0b6cb4d92f260b885563389c.zip |
Diffstat (limited to 'Server/Plugins')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 2 | ||||
-rw-r--r-- | Server/Plugins/APIDump/Classes/World.lua | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index f1346ffee..fb74d8032 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -4500,7 +4500,7 @@ local Hash = cCryptoHash.sha1HexString("DataToHash") }, etEnderCrystal = { - Notes = "", + Notes = "The entity is a {{cEnderCrystal}}", }, etEntity = { diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua index 7f137cf72..0ddd66e60 100644 --- a/Server/Plugins/APIDump/Classes/World.lua +++ b/Server/Plugins/APIDump/Classes/World.lua @@ -3306,6 +3306,28 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i Notes = "Spawns a {{cBoat|boat}} at the specific coordinates. Returns the EntityID of the new boat, or {{cEntity#INVALID_ID|cEntity#INVALID_ID}} if no boat was created. (DEPRECATED, use vector-parametered version)", }, }, + SpawnEnderCrystal = + { + Params = + { + { + Name = "Pos", + Type = "Vector3i", + }, + { + Name = "ShowBottom", + Type = "boolean", + } + }, + Returns = + { + { + Name = "EntityID", + Type = "number", + }, + }, + Notes = "Spawns an {{cEnderCrystal|ender crystal}} at the specified coords. Returns the EntityID of the new ender crystal, or {{cEntity#INVALID_ID|cEntity#INVALID_ID}} if no ender crystal was created.", + }, SpawnExperienceOrb = { Params = |