summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes/BlockEntities.lua
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2020-10-13 22:59:11 +0200
committerGitHub <noreply@github.com>2020-10-13 22:59:11 +0200
commitaee4778bf7268212b918c2ef2b7a61801aaa97cf (patch)
tree856db0146b0ee3ab67b03b9ffd28d7f84dcd9d86 /Server/Plugins/APIDump/Classes/BlockEntities.lua
parentRemove debug output on PieceStructuresGen.cpp (#4984) (diff)
downloadcuberite-aee4778bf7268212b918c2ef2b7a61801aaa97cf.tar
cuberite-aee4778bf7268212b918c2ef2b7a61801aaa97cf.tar.gz
cuberite-aee4778bf7268212b918c2ef2b7a61801aaa97cf.tar.bz2
cuberite-aee4778bf7268212b918c2ef2b7a61801aaa97cf.tar.lz
cuberite-aee4778bf7268212b918c2ef2b7a61801aaa97cf.tar.xz
cuberite-aee4778bf7268212b918c2ef2b7a61801aaa97cf.tar.zst
cuberite-aee4778bf7268212b918c2ef2b7a61801aaa97cf.zip
Diffstat (limited to 'Server/Plugins/APIDump/Classes/BlockEntities.lua')
-rw-r--r--Server/Plugins/APIDump/Classes/BlockEntities.lua33
1 files changed, 5 insertions, 28 deletions
diff --git a/Server/Plugins/APIDump/Classes/BlockEntities.lua b/Server/Plugins/APIDump/Classes/BlockEntities.lua
index fc4f6ec0b..debefda7a 100644
--- a/Server/Plugins/APIDump/Classes/BlockEntities.lua
+++ b/Server/Plugins/APIDump/Classes/BlockEntities.lua
@@ -806,37 +806,14 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
Params =
{
{
- Name = "BlockX",
- Type = "number",
- },
- {
- Name = "BlockY",
- Type = "number",
- },
- {
- Name = "BlockZ",
- Type = "number",
+ Name = "BlockPos",
+ Type = "Vector3i",
},
{
Name = "BlockMeta",
Type = "number",
},
},
- Returns =
- {
- {
- Name = "BlockX",
- Type = "number",
- },
- {
- Name = "BlockY",
- Type = "number",
- },
- {
- Name = "BlockZ",
- Type = "number",
- },
- },
Notes = "Adjusts the block coords to where the dropspenser items materialize",
},
},
@@ -1586,11 +1563,11 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
Type = "number",
},
},
- Notes = "Returns the current pitch set for the block",
+ Notes = "(<b>DEPRECATED</b>) Please use cNoteEntity:GetNote. Returns the current pitch set for the block",
},
IncrementPitch =
{
- Notes = "Adds 1 to the current pitch. Wraps around to 0 when the pitch cannot go any higher.",
+ Notes = "(<b>DEPRECATED</b>) Please use cNoteEntity:IncrementNote. Adds 1 to the current pitch. Wraps around to 0 when the pitch cannot go any higher.",
},
MakeSound =
{
@@ -1605,7 +1582,7 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
Type = "number",
},
},
- Notes = "Sets a new note for the block.",
+ Notes = "(<b>DEPRECATED</b>) Please use cNoteEntity:SetNote. Sets a new note for the block.",
},
},
Inherits = "cBlockEntity",