1
0

cBlockArea supports block entities. (#3795)

This commit is contained in:
Mattes D
2017-06-24 11:58:06 +02:00
committed by GitHub
parent cc3a67b9df
commit fe42538349
17 changed files with 4578 additions and 2668 deletions

View File

@@ -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;
}