diff options
author | Mattes D <github@xoft.cz> | 2013-11-26 10:48:46 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-11-26 10:48:46 +0100 |
commit | 6041fa1e62cc490c4595e6cd267eb96ac5b6e041 (patch) | |
tree | 00e3c895d8e0143275ba6d1a9a1ff0361714b53e /source/World.h | |
parent | Fixed cFile compilation on Linux. (diff) | |
parent | Added ExpOrb.cpp and ExpOrb.h to MCServer.vcproj. (diff) | |
download | cuberite-6041fa1e62cc490c4595e6cd267eb96ac5b6e041.tar cuberite-6041fa1e62cc490c4595e6cd267eb96ac5b6e041.tar.gz cuberite-6041fa1e62cc490c4595e6cd267eb96ac5b6e041.tar.bz2 cuberite-6041fa1e62cc490c4595e6cd267eb96ac5b6e041.tar.lz cuberite-6041fa1e62cc490c4595e6cd267eb96ac5b6e041.tar.xz cuberite-6041fa1e62cc490c4595e6cd267eb96ac5b6e041.tar.zst cuberite-6041fa1e62cc490c4595e6cd267eb96ac5b6e041.zip |
Diffstat (limited to '')
-rw-r--r-- | source/World.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/World.h b/source/World.h index d10aa3b78..9397f8b75 100644 --- a/source/World.h +++ b/source/World.h @@ -353,6 +353,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 experience orb at the given location with the given reward. + void SpawnExperienceOrb(double a_X, double a_Y, double a_Z, int a_Reward); + /// Spawns a new primed TNT entity at the specified block coords and specified fuse duration. Initial velocity is given based on the relative coefficient provided void SpawnPrimedTNT(double a_X, double a_Y, double a_Z, double a_FuseTimeInSec, double a_InitialVelocityCoeff = 1); |