summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2020-11-06 16:00:59 +0100
committerGitHub <noreply@github.com>2020-11-06 16:00:59 +0100
commit36a67df105ab4774d2a250ef3c7d6336cb50566e (patch)
tree2725a48a3c8a8de5f6ef062d9415d019042ba486 /Server/Plugins/APIDump/APIDesc.lua
parentPlayers are no longer kicked when clicking on bedrock (#5023) (diff)
downloadcuberite-36a67df105ab4774d2a250ef3c7d6336cb50566e.tar
cuberite-36a67df105ab4774d2a250ef3c7d6336cb50566e.tar.gz
cuberite-36a67df105ab4774d2a250ef3c7d6336cb50566e.tar.bz2
cuberite-36a67df105ab4774d2a250ef3c7d6336cb50566e.tar.lz
cuberite-36a67df105ab4774d2a250ef3c7d6336cb50566e.tar.xz
cuberite-36a67df105ab4774d2a250ef3c7d6336cb50566e.tar.zst
cuberite-36a67df105ab4774d2a250ef3c7d6336cb50566e.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua97
1 files changed, 85 insertions, 12 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index fb74d8032..3b46577de 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -5061,8 +5061,8 @@ cFile:DeleteFile("/usr/bin/virus.exe");
{
Returns =
{
- Name = "BitePosition",
- Type = "Vector3d",
+ Name = "BitePosition",
+ Type = "Vector3d",
},
Notes = "Returns the position of the floater just before a fish bites. If a fish hasn't bitten the floater, this function returns the position the floater was cast from.",
},
@@ -8900,16 +8900,16 @@ a_Player:OpenWindow(Window);
]],
Functions =
{
- BurnsInDaylight =
- {
- Returns =
- {
- {
- Type = "boolean",
- },
- },
- Notes = "Returns whether the mob burns in daylight.",
- },
+ BurnsInDaylight =
+ {
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ },
+ Notes = "Returns whether the mob burns in daylight.",
+ },
CanBeLeashed =
{
Returns =
@@ -9539,6 +9539,79 @@ a_Player:OpenWindow(Window);
},
Inherits = "cEntity",
},
+ cEnderCrystal =
+ {
+ Desc = [[
+ This class represents an ender crystal. This entity can be spawned by using {{cWorld#SpawnEnderCrystal_1|cWorld:SpawnEnderCrystal}}.
+ ]],
+ Functions =
+ {
+ DisplaysBeam =
+ {
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ Notes = "Returns true if the ender crystal displays its beam.",
+ },
+ },
+ GetBeamTarget =
+ {
+ Returns =
+ {
+ {
+ Type = "Vector3i",
+ },
+ },
+ Notes = "Returns the Block position the beam is pointing to.",
+ },
+ SetBeamTarget =
+ {
+ Params =
+ {
+ {
+ Name = "BeamTarget",
+ Type = "Vector3i",
+ },
+ },
+ Notes = "Sets the target of the beam of this ender crystal.",
+ },
+ SetDisplayBeam =
+ {
+ Params =
+ {
+ {
+ Name = "DisplaysBeam",
+ Type = "boolean",
+ },
+ Notes = "Sets if the ender crystal should display its beam.",
+ },
+ },
+ SetShowBottom =
+ {
+ Params =
+ {
+ {
+ Name = "ShowsBottom",
+ Type = "boolean",
+ },
+ Notes = "Sets if the ender crystal should broadcast its bedrock base.",
+ },
+ },
+ ShowsBottom =
+ {
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ Notes = "Returns true if the bedrock base is displayed.",
+ },
+ },
+ },
+ Inherits = "cEntity",
+ },
cExpOrb =
{
Desc = [[