summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-15 20:34:22 +0200
committermadmaxoft <github@xoft.cz>2013-09-15 20:34:22 +0200
commit4e200df18ce04f6bd0c495ea24a7c21c2f799ded (patch)
tree75dad24f4f8deddb5d7d41b408126409be164a0d /source/Blocks/BlockHandler.h
parentAPIDump: Added a first part of cWorld documentation. (diff)
parentPossible Linux compile fix (diff)
downloadcuberite-4e200df18ce04f6bd0c495ea24a7c21c2f799ded.tar
cuberite-4e200df18ce04f6bd0c495ea24a7c21c2f799ded.tar.gz
cuberite-4e200df18ce04f6bd0c495ea24a7c21c2f799ded.tar.bz2
cuberite-4e200df18ce04f6bd0c495ea24a7c21c2f799ded.tar.lz
cuberite-4e200df18ce04f6bd0c495ea24a7c21c2f799ded.tar.xz
cuberite-4e200df18ce04f6bd0c495ea24a7c21c2f799ded.tar.zst
cuberite-4e200df18ce04f6bd0c495ea24a7c21c2f799ded.zip
Diffstat (limited to 'source/Blocks/BlockHandler.h')
-rw-r--r--source/Blocks/BlockHandler.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/Blocks/BlockHandler.h b/source/Blocks/BlockHandler.h
index 228ce174b..0487505ee 100644
--- a/source/Blocks/BlockHandler.h
+++ b/source/Blocks/BlockHandler.h
@@ -83,10 +83,7 @@ public:
NOTE: This call doesn't actually place the block
*/
// virtual bool CanBePlacedAt(cWorld * a_World, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir);
-
- /// Called when the player tries to place a block on top of this block (Only if he aims directly on this block); return false to disallow
- virtual bool DoesAllowBlockOnTop(void);
-
+
/// Called to check whether this block supports a rclk action. If it returns true, OnUse() is called
virtual bool IsUseable(void);
@@ -99,9 +96,6 @@ public:
For example blocks placed "on" snow will be placed at the same position. So: Snow ignores Build collision
*/
virtual bool DoesIgnoreBuildCollision(void);
-
- /// Indicates this block can be placed on the side of other blocks. Default: true
- virtual bool CanBePlacedOnSide(void);
/// Does this block drop if it gets destroyed by an unsuitable situation? Default: true
virtual bool DoesDropOnUnsuitable(void);