From ddf352e1e3a5147031cefae1ca36ea2d21d821cc Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Mon, 7 Jun 2021 10:10:25 +0100 Subject: Remove orphaned API symbols https://github.com/cuberite/cuberite/issues/5195#issue-860458139 --- Server/Plugins/APIDump/APIDesc.lua | 73 -------------------------------------- 1 file changed, 73 deletions(-) (limited to 'Server') diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 5d571c799..2c6c5a142 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -114,24 +114,6 @@ return }, Notes = "Returns whether the specified block fully occupies its voxel.", }, - Get = - { - IsStatic = true, - Params = - { - { - Name = "BlockType", - Type = "number", - }, - }, - Returns = - { - { - Type = "cBlockInfo", - }, - }, - Notes = "Returns the {{cBlockInfo}} structure for the specified block type. OBSOLETE, use static functions instead", - }, GetHardness = { IsStatic = true, @@ -4249,31 +4231,6 @@ local Hash = cCryptoHash.sha1HexString("DataToHash") Notes = "Removes the entity from this world and starts moving it to the specified world. Note that to avoid deadlocks, the move is asynchronous - the entity is moved into a queue and will be moved from that queue into the destination world at some (unpredictable) time in the future. If ShouldSetPortalCooldown is false (default), doesn't set any portal cooldown, if it is true, the default portal cooldown is applied to the entity. ShouldSendRespawn is used only for players, it specifies whether the player should be sent a Respawn packet upon leaving the world (The client handles respawns only between different dimensions). The Position parameter specifies the location that the entity should be placed in, in the new world.", }, }, - ScheduleMoveToWorld = - { - Params = - { - { - Name = "World", - Type = "cWorld", - }, - { - Name = "NewPosition", - Type = "Vector3d", - }, - { - Name = "ShouldSetPortalCooldown", - Type = "boolean", - IsOptional = true, - }, - { - Name = "ShouldSendRespawn", - Type = "boolean", - IsOptional = true, - }, - }, - Notes = "Schedules a MoveToWorld call to occur on the next Tick of the entity. If ShouldSetPortalCooldown is false (default), doesn't set any portal cooldown, if it is true, the default portal cooldown is applied to the entity. If ShouldSendRespawn is false, no respawn packet is sent, if it is true (default) then a respawn packet is sent to the client. OBSOLETE, use MoveToWorld instead.", - }, SetGravity = { Params = @@ -9361,10 +9318,6 @@ a_Player:OpenWindow(Window); { Notes = "Family: hostile (blaze, cavespider, creeper, enderdragon, enderman, ghast, giant, magmacube, silverfish, skeleton, slime, spider, witch, wither, zombie, zombiepigman)", }, - mfMaxplusone = - { - Notes = "The maximum family value, plus one. Returned when monster family not recognized.", - }, mfPassive = { Notes = "Family: passive (chicken, cow, horse, irongolem, mooshroom, ocelot, pig, sheep, snowgolem, villager, wolf)", @@ -9589,16 +9542,6 @@ a_Player:OpenWindow(Window); Desc = "This class represents a painting in the world. These paintings are special and different from Vanilla in that they can be critical-hit.", Functions = { - GetDirection = - { - Returns = - { - { - Type = "number", - }, - }, - Notes = "Returns the direction the painting faces. Directions: ZP - 0, ZM - 2, XM - 1, XP - 3. Note that these are not the BLOCK_FACE constants.", - }, GetName = { Returns = @@ -18152,22 +18095,6 @@ end { Notes = "" }, - hMain = - { - Notes = "The main hand", - }, - hOff = - { - Notes = "The off hand", - }, - mhLeft = - { - Notes = "The left hand is the main hand", - }, - mhRight = - { - Notes = "The right hand is the main hand", - }, SKULL_TYPE_CREEPER = { Notes = "A creeper skull", -- cgit v1.2.3