summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-06-07 11:10:25 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-06-28 22:54:21 +0200
commitddf352e1e3a5147031cefae1ca36ea2d21d821cc (patch)
treee4902cd6235ffc1934c26d26e7b91ccbe90597f7 /Server
parentRe-export SetBlockMeta (diff)
downloadcuberite-ddf352e1e3a5147031cefae1ca36ea2d21d821cc.tar
cuberite-ddf352e1e3a5147031cefae1ca36ea2d21d821cc.tar.gz
cuberite-ddf352e1e3a5147031cefae1ca36ea2d21d821cc.tar.bz2
cuberite-ddf352e1e3a5147031cefae1ca36ea2d21d821cc.tar.lz
cuberite-ddf352e1e3a5147031cefae1ca36ea2d21d821cc.tar.xz
cuberite-ddf352e1e3a5147031cefae1ca36ea2d21d821cc.tar.zst
cuberite-ddf352e1e3a5147031cefae1ca36ea2d21d821cc.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua73
1 files changed, 0 insertions, 73 deletions
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. <b>OBSOLETE</b>, 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. <b>OBSOLETE</b>, 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",