summaryrefslogtreecommitdiffstats
path: root/src/Blocks/WorldInterface.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-05 19:33:43 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-05 19:33:43 +0100
commit594ddd86a04d895fdecb1cd4767031abc5c8dcca (patch)
tree1743944ab90ca42c2d3935d1ef431a7df718be6f /src/Blocks/WorldInterface.h
parentSet tnt step sound to step.grass (diff)
downloadcuberite-594ddd86a04d895fdecb1cd4767031abc5c8dcca.tar
cuberite-594ddd86a04d895fdecb1cd4767031abc5c8dcca.tar.gz
cuberite-594ddd86a04d895fdecb1cd4767031abc5c8dcca.tar.bz2
cuberite-594ddd86a04d895fdecb1cd4767031abc5c8dcca.tar.lz
cuberite-594ddd86a04d895fdecb1cd4767031abc5c8dcca.tar.xz
cuberite-594ddd86a04d895fdecb1cd4767031abc5c8dcca.tar.zst
cuberite-594ddd86a04d895fdecb1cd4767031abc5c8dcca.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/WorldInterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Blocks/WorldInterface.h b/src/Blocks/WorldInterface.h
index b6f2f55a7..c38ffc6db 100644
--- a/src/Blocks/WorldInterface.h
+++ b/src/Blocks/WorldInterface.h
@@ -27,4 +27,7 @@ public:
/** Spawns a mob of the specified type. Returns the mob's EntityID if recognized and spawned, <0 otherwise */
virtual int SpawnMob(double a_PosX, double a_PosY, double a_PosZ, cMonster::eType a_MonsterType) = 0;
+
+ /** If there is a block entity at the specified coords, sends it to the client specified */
+ virtual void SendBlockTo(int a_BlockX, int a_BlockY, int a_BlockZ, cPlayer * a_Player) = 0;
};