summaryrefslogtreecommitdiffstats
path: root/source/BlockEntities/BlockEntity.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-20 21:53:29 +0100
committermadmaxoft <github@xoft.cz>2013-11-20 21:53:29 +0100
commita5c2d639c612031331a668a483339f3025c7041f (patch)
tree8268a6d541765ca1ac681344f4d5c37c80740674 /source/BlockEntities/BlockEntity.h
parentIgnoring SDF files. (diff)
downloadcuberite-a5c2d639c612031331a668a483339f3025c7041f.tar
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.gz
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.bz2
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.lz
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.xz
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.zst
cuberite-a5c2d639c612031331a668a483339f3025c7041f.zip
Diffstat (limited to 'source/BlockEntities/BlockEntity.h')
-rw-r--r--source/BlockEntities/BlockEntity.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/BlockEntities/BlockEntity.h b/source/BlockEntities/BlockEntity.h
index a2de3160a..0d358b556 100644
--- a/source/BlockEntities/BlockEntity.h
+++ b/source/BlockEntities/BlockEntity.h
@@ -52,6 +52,11 @@ public:
/// Returns NULL for unknown block types
static cBlockEntity * CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World = NULL);
+ static const char * GetClassStatic(void) // Needed for ManualBindings's ForEach templates
+ {
+ return "cBlockEntity";
+ }
+
// tolua_begin
// Position, in absolute block coordinates: