summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-30 22:19:51 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-30 22:19:51 +0200
commit81e095adda62e4067ab4c07b0e4c7ce0f3dbce39 (patch)
tree09687befe7c3a3e9b6eb6abf97455743c254d0c0 /src/World.cpp
parentAdded beacon. (diff)
downloadcuberite-81e095adda62e4067ab4c07b0e4c7ce0f3dbce39.tar
cuberite-81e095adda62e4067ab4c07b0e4c7ce0f3dbce39.tar.gz
cuberite-81e095adda62e4067ab4c07b0e4c7ce0f3dbce39.tar.bz2
cuberite-81e095adda62e4067ab4c07b0e4c7ce0f3dbce39.tar.lz
cuberite-81e095adda62e4067ab4c07b0e4c7ce0f3dbce39.tar.xz
cuberite-81e095adda62e4067ab4c07b0e4c7ce0f3dbce39.tar.zst
cuberite-81e095adda62e4067ab4c07b0e4c7ce0f3dbce39.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 348498693..b3c4b1de0 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -25,6 +25,7 @@
#include "Entities/TNTEntity.h"
#include "BlockEntities/CommandBlockEntity.h"
+#include "BlockEntities/BeaconEntity.h"
// Simulators:
#include "Simulator/SimulatorManager.h"
@@ -1232,6 +1233,15 @@ bool cWorld::DoWithBlockEntityAt(int a_BlockX, int a_BlockY, int a_BlockZ, cBloc
+bool cWorld::DoWithBeaconAt(int a_BlockX, int a_BlockY, int a_BlockZ, cBeaconCallback& a_Callback)
+{
+ return m_ChunkMap->DoWithBeaconAt(a_BlockX, a_BlockY, a_BlockZ, a_Callback);
+}
+
+
+
+
+
bool cWorld::DoWithChestAt(int a_BlockX, int a_BlockY, int a_BlockZ, cChestCallback & a_Callback)
{
return m_ChunkMap->DoWithChestAt(a_BlockX, a_BlockY, a_BlockZ, a_Callback);