diff options
author | Lane Kolbly <lane@rscheme.org> | 2017-08-25 11:56:01 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2017-08-25 11:56:01 +0200 |
commit | 87c89a172782c5ea8e2114931bd48f9aa03543ce (patch) | |
tree | 6ddedb3ff20e4224d0c488ddabb5a7d22e71d2f8 /src/Blocks/WorldInterface.h | |
parent | Use ref instead of pointer (diff) | |
download | cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.gz cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.bz2 cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.lz cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.xz cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.zst cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.zip |
Diffstat (limited to 'src/Blocks/WorldInterface.h')
-rw-r--r-- | src/Blocks/WorldInterface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Blocks/WorldInterface.h b/src/Blocks/WorldInterface.h index 0c92a64e5..524e8d642 100644 --- a/src/Blocks/WorldInterface.h +++ b/src/Blocks/WorldInterface.h @@ -28,6 +28,8 @@ public: virtual void DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, bool a_CanCauseFire, eExplosionSource a_Source, void * a_SourceData) = 0; + virtual bool DoWithBedAt(int a_BlockX, int a_BlockY, int a_BlockZ, cBedCallback & a_Callback) = 0; + /** Spawns item pickups for each item in the list. May compress pickups if too many entities: */ virtual void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_FlyAwaySpeed = 1.0, bool IsPlayerCreated = false) = 0; |