diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-12 14:33:32 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-12 14:33:32 +0100 |
commit | 6ff375273bf757da7c464f6b6a2b0d475a76f370 (patch) | |
tree | 95be0c87c7f86dc58d89c44fdfe2fa333e79b79f /src/World.h | |
parent | Merge pull request #533 from mc-server/CmakeMultiConfig (diff) | |
download | cuberite-6ff375273bf757da7c464f6b6a2b0d475a76f370.tar cuberite-6ff375273bf757da7c464f6b6a2b0d475a76f370.tar.gz cuberite-6ff375273bf757da7c464f6b6a2b0d475a76f370.tar.bz2 cuberite-6ff375273bf757da7c464f6b6a2b0d475a76f370.tar.lz cuberite-6ff375273bf757da7c464f6b6a2b0d475a76f370.tar.xz cuberite-6ff375273bf757da7c464f6b6a2b0d475a76f370.tar.zst cuberite-6ff375273bf757da7c464f6b6a2b0d475a76f370.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h index b61708d03..89a236b62 100644 --- a/src/World.h +++ b/src/World.h @@ -363,6 +363,9 @@ public: /// 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 minecart at the given coordinates. + int SpawnMinecart(double a_X, double a_Y, double a_Z, int a_MinecartType); + /// 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); |