From fe4253834919d6c742c59c701d3d5ce8285f4504 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 24 Jun 2017 11:58:06 +0200 Subject: cBlockArea supports block entities. (#3795) --- tests/SchematicFileSerializer/Stubs.cpp | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'tests/SchematicFileSerializer') diff --git a/tests/SchematicFileSerializer/Stubs.cpp b/tests/SchematicFileSerializer/Stubs.cpp index 2fb500436..00f873b7a 100644 --- a/tests/SchematicFileSerializer/Stubs.cpp +++ b/tests/SchematicFileSerializer/Stubs.cpp @@ -7,6 +7,7 @@ #include "Globals.h" #include "BlockInfo.h" #include "Blocks/BlockHandler.h" +#include "BlockEntities/BlockEntity.h" @@ -191,3 +192,37 @@ bool cBlockHandler::IsInsideBlock(const Vector3d & a_Position, const BLOCKTYPE a +bool cBlockEntity::IsBlockEntityBlockType(BLOCKTYPE a_BlockType) +{ + return false; +} + + + + + +void cBlockEntity::SetPos(int a_BlockX, int a_BlockY, int a_BlockZ) +{ +} + + + + + +cBlockEntity * cBlockEntity::Clone(int a_BlockX, int a_BlockY, int a_BlockZ) +{ + return nullptr; +} + + + + + +cBlockEntity * cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World) +{ + return nullptr; +} + + + + -- cgit v1.2.3