summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-07 14:26:52 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-07 14:26:52 +0100
commitc0f091b1a38d90870d369af8cb5ceabdb59fc52d (patch)
tree94c9eef9eaeb1068d5bf725c22561fb688f27a06 /src/World.h
parentUpdated TRANSAPI (diff)
downloadcuberite-c0f091b1a38d90870d369af8cb5ceabdb59fc52d.tar
cuberite-c0f091b1a38d90870d369af8cb5ceabdb59fc52d.tar.gz
cuberite-c0f091b1a38d90870d369af8cb5ceabdb59fc52d.tar.bz2
cuberite-c0f091b1a38d90870d369af8cb5ceabdb59fc52d.tar.lz
cuberite-c0f091b1a38d90870d369af8cb5ceabdb59fc52d.tar.xz
cuberite-c0f091b1a38d90870d369af8cb5ceabdb59fc52d.tar.zst
cuberite-c0f091b1a38d90870d369af8cb5ceabdb59fc52d.zip
Diffstat (limited to '')
-rw-r--r--src/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index ea0db53e6..3b729c5ff 100644
--- a/src/World.h
+++ b/src/World.h
@@ -355,6 +355,9 @@ public:
/// Spawns item pickups for each item in the list. May compress pickups if too many entities. All pickups get the speed specified:
void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_SpeedX, double a_SpeedY, double a_SpeedZ, bool IsPlayerCreated = false);
+ /// Spawns an falling block entity at the given position. It returns the UniqueID of the spawned falling block.
+ int SpawnFallingBlock(int a_X, int a_Y, int a_Z, BLOCKTYPE BlockType, NIBBLETYPE BlockMeta);
+
/// Spawns an experience orb at the given location with the given reward. It returns the UniqueID of the spawned experience orb.
int SpawnExperienceOrb(double a_X, double a_Y, double a_Z, int a_Reward);