summaryrefslogtreecommitdiffstats
path: root/tests/Generating/Stubs.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-09-02 06:46:40 +0200
committerMattes D <github@xoft.cz>2019-09-06 16:12:33 +0200
commitd8d1e6e1d2f668cb7b34eae7484e59e2310e847a (patch)
treeb0465a99b335bdd509fb40adf5cca950997170b7 /tests/Generating/Stubs.cpp
parentMoved the generator defaults to ComposableGenerator. (diff)
downloadcuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar
cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.gz
cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.bz2
cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.lz
cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.xz
cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.tar.zst
cuberite-d8d1e6e1d2f668cb7b34eae7484e59e2310e847a.zip
Diffstat (limited to '')
-rw-r--r--tests/Generating/Stubs.cpp72
1 files changed, 72 insertions, 0 deletions
diff --git a/tests/Generating/Stubs.cpp b/tests/Generating/Stubs.cpp
index fb3ed5349..8a8095458 100644
--- a/tests/Generating/Stubs.cpp
+++ b/tests/Generating/Stubs.cpp
@@ -16,6 +16,12 @@
#include "Blocks/BlockHandler.h"
#include "Generating/ChunkDesc.h"
#include "DeadlockDetect.h"
+#include "Entities/Entity.h"
+#include "Mobs/Monster.h"
+#include "Simulator/FluidSimulator.h"
+#include "Simulator/FireSimulator.h"
+#include "MobSpawner.h"
+#include "ItemGrid.h"
@@ -110,6 +116,7 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray()
+
cBoundingBox::cBoundingBox(double, double, double, double, double, double)
{
}
@@ -352,3 +359,68 @@ bool cUUID::FromString(const AString&)
+
+void cEntity::SetPosition(const Vector3d & a_Position)
+{
+}
+
+
+
+
+
+void cEntity::SetHealth(float a_NewHealth)
+{
+}
+
+
+
+
+
+cMonster::eFamily cMonster::FamilyFromType(eMonsterType a_Type)
+{
+ return cMonster::mfAmbient;
+}
+
+
+
+
+
+std::unique_ptr<cMonster> cMonster::NewMonsterFromType(eMonsterType a_Type)
+{
+ return nullptr;
+}
+
+
+
+
+
+bool cFluidSimulator::CanWashAway(BLOCKTYPE a_BlockType)
+{
+ return false;
+}
+
+
+
+
+
+bool cFireSimulator::DoesBurnForever(BLOCKTYPE a_BlockType)
+{
+ return false;
+}
+
+
+
+
+
+void cItemGrid::GenerateRandomLootWithBooks(const cLootProbab * a_LootProbabs, size_t a_CountLootProbabs, int a_NumSlots, int a_Seed)
+{
+}
+
+
+
+
+
+std::set<eMonsterType> cMobSpawner::GetAllowedMobTypes(EMCSBiome a_Biome)
+{
+ return {};
+}