summaryrefslogtreecommitdiffstats
path: root/src/Generating
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-11-11 10:32:42 +0100
committerMattes D <github@xoft.cz>2015-12-01 10:35:07 +0100
commitb8fbba5eb92cda32b13d65f3704adf778da82f38 (patch)
tree0c6e8f47ae152e5ffade6f0a7457505101764753 /src/Generating
parentMerge pull request #2696 from Gargaj/breeding (diff)
downloadcuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar
cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.gz
cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.bz2
cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.lz
cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.xz
cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.zst
cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.zip
Diffstat (limited to 'src/Generating')
-rw-r--r--src/Generating/CMakeLists.txt22
-rw-r--r--src/Generating/ComposableGenerator.cpp178
-rw-r--r--src/Generating/ComposableGenerator.h12
-rw-r--r--src/Generating/GridStructGen.cpp49
-rw-r--r--src/Generating/GridStructGen.h20
-rw-r--r--src/Generating/HeiGen.cpp42
-rw-r--r--src/Generating/HeiGen.h8
-rw-r--r--src/Generating/NetherFortGen.cpp134
-rw-r--r--src/Generating/NetherFortGen.h45
-rw-r--r--src/Generating/POCPieceGenerator.cpp275
-rw-r--r--src/Generating/POCPieceGenerator.h54
-rw-r--r--src/Generating/PieceGenerator.cpp173
-rw-r--r--src/Generating/PieceGenerator.h138
-rw-r--r--src/Generating/PieceStructuresGen.cpp129
-rw-r--r--src/Generating/PieceStructuresGen.h91
-rw-r--r--src/Generating/PrefabPiecePool.cpp232
-rw-r--r--src/Generating/PrefabPiecePool.h62
-rw-r--r--src/Generating/PrefabStructure.cpp74
-rw-r--r--src/Generating/PrefabStructure.h52
-rw-r--r--src/Generating/Prefabs/CMakeLists.txt25
-rw-r--r--src/Generating/Prefabs/NetherFortPrefabs.cpp6210
-rw-r--r--src/Generating/Prefabs/NetherFortPrefabs.h15
-rw-r--r--src/Generating/Prefabs/RainbowRoadPrefabs.cpp1406
-rw-r--r--src/Generating/Prefabs/RainbowRoadPrefabs.h15
-rw-r--r--src/Generating/Prefabs/TestRailsPrefabs.cpp484
-rw-r--r--src/Generating/Prefabs/TestRailsPrefabs.h15
-rw-r--r--src/Generating/Prefabs/UnderwaterBasePrefabs.cpp2263
-rw-r--r--src/Generating/Prefabs/UnderwaterBasePrefabs.h15
-rw-r--r--src/Generating/RainbowRoadsGen.cpp116
-rw-r--r--src/Generating/RainbowRoadsGen.h47
-rw-r--r--src/Generating/TestRailsGen.cpp116
-rw-r--r--src/Generating/TestRailsGen.h47
-rw-r--r--src/Generating/UnderwaterBaseGen.cpp143
-rw-r--r--src/Generating/UnderwaterBaseGen.h50
-rw-r--r--src/Generating/VerticalLimit.cpp414
-rw-r--r--src/Generating/VerticalLimit.h26
-rw-r--r--src/Generating/VerticalStrategy.cpp342
-rw-r--r--src/Generating/VerticalStrategy.h25
-rw-r--r--src/Generating/VillageGen.cpp24
-rw-r--r--src/Generating/VillageGen.h1
40 files changed, 1777 insertions, 11812 deletions
diff --git a/src/Generating/CMakeLists.txt b/src/Generating/CMakeLists.txt
index ecec0ea3f..d15d9eba0 100644
--- a/src/Generating/CMakeLists.txt
+++ b/src/Generating/CMakeLists.txt
@@ -19,20 +19,19 @@ SET (SRCS
GridStructGen.cpp
HeiGen.cpp
MineShafts.cpp
- NetherFortGen.cpp
Noise3DGenerator.cpp
- POCPieceGenerator.cpp
PieceGenerator.cpp
+ PieceStructuresGen.cpp
Prefab.cpp
PrefabPiecePool.cpp
- RainbowRoadsGen.cpp
+ PrefabStructure.cpp
Ravines.cpp
RoughRavines.cpp
StructGen.cpp
- TestRailsGen.cpp
Trees.cpp
TwoHeights.cpp
- UnderwaterBaseGen.cpp
+ VerticalLimit.cpp
+ VerticalStrategy.cpp
VillageGen.cpp
)
@@ -53,22 +52,21 @@ SET (HDRS
HeiGen.h
IntGen.h
MineShafts.h
- NetherFortGen.h
Noise3DGenerator.h
- POCPieceGenerator.h
PieceGenerator.h
+ PieceStructuresGen.h
Prefab.h
PrefabPiecePool.h
+ PrefabStructure.h
ProtIntGen.h
- RainbowRoadsGen.h
Ravines.h
RoughRavines.h
ShapeGen.cpp
StructGen.h
- TestRailsGen.h
Trees.h
TwoHeights.h
- UnderwaterBaseGen.h
+ VerticalLimit.h
+ VerticalStrategy.h
VillageGen.h
)
@@ -80,16 +78,12 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set_source_files_properties(EndGen.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast")
set_source_files_properties(FinishGen.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum -Wno-error=switch")
set_source_files_properties(HeiGen.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast")
- set_source_files_properties(NetherFortGen.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=global-constructors")
set_source_files_properties(Noise3DGenerator.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast")
set_source_files_properties(PieceGenerator.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=global-constructors")
set_source_files_properties(Prefab.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=global-constructors")
- set_source_files_properties(RainbowRoadsGen.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=global-constructors")
set_source_files_properties(Ravines.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast")
set_source_files_properties(RoughRavines.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=float-equal -Wno-error=old-style-cast")
set_source_files_properties(StructGen.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum -Wno-error=switch -Wno-error=old-style-cast")
- set_source_files_properties(TestRailsGen.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=global-constructors")
- set_source_files_properties(UnderwaterBaseGen.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=global-constructors -Wno-error=switch-enum")
set_source_files_properties(VillageGen.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=global-constructors -Wno-error=switch-enum")
endif()
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index fa8db8f93..e5e1b0477 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -26,15 +26,11 @@
#include "DungeonRoomsFinisher.h"
#include "EndGen.h"
#include "MineShafts.h"
-#include "NetherFortGen.h"
#include "Noise3DGenerator.h"
-#include "POCPieceGenerator.h"
-#include "RainbowRoadsGen.h"
#include "Ravines.h"
#include "RoughRavines.h"
-#include "TestRailsGen.h"
-#include "UnderwaterBaseGen.h"
#include "VillageGen.h"
+#include "PieceStructuresGen.h"
@@ -202,14 +198,13 @@ void cComposableGenerator::InitBiomeGen(cIniFile & a_IniFile)
m_BiomeGen = cBiomeGen::CreateBiomeGen(a_IniFile, m_ChunkGenerator.GetSeed(), CacheOffByDefault);
// Add a cache, if requested:
- int CacheSize = a_IniFile.GetValueSetI("Generator", "BiomeGenCacheSize", CacheOffByDefault ? 0 : 64);
-
+ // The default is 16 * 128 caches, which is 2 MiB of RAM. Reasonable, for the amount of work this is saving.
+ int CacheSize = a_IniFile.GetValueSetI("Generator", "BiomeGenCacheSize", CacheOffByDefault ? 0 : 16);
if (CacheSize <= 0)
{
return;
}
-
- int MultiCacheLength = a_IniFile.GetValueSetI("Generator", "BiomeGenMultiCacheLength", 4);
+ int MultiCacheLength = a_IniFile.GetValueSetI("Generator", "BiomeGenMultiCacheLength", 128);
if (CacheSize < 4)
{
LOGWARNING("Biomegen cache size set too low, would hurt performance instead of helping. Increasing from %d to %d",
@@ -221,11 +216,11 @@ void cComposableGenerator::InitBiomeGen(cIniFile & a_IniFile)
if (MultiCacheLength > 0)
{
LOGD("Enabling multicache for biomegen of length %d.", MultiCacheLength);
- m_BiomeGen = cBiomeGenPtr(new cBioGenMulticache(m_BiomeGen, static_cast<size_t>(CacheSize), static_cast<size_t>(MultiCacheLength)));
+ m_BiomeGen = std::make_shared<cBioGenMulticache>(m_BiomeGen, static_cast<size_t>(CacheSize), static_cast<size_t>(MultiCacheLength));
}
else
{
- m_BiomeGen = cBiomeGenPtr(new cBioGenCache(m_BiomeGen, static_cast<size_t>(CacheSize)));
+ m_BiomeGen = std::make_shared<cBioGenCache>(m_BiomeGen, static_cast<size_t>(CacheSize));
}
}
@@ -274,8 +269,8 @@ void cComposableGenerator::InitCompositionGen(cIniFile & a_IniFile)
}
// Create a cache of the composited heightmaps, so that finishers may use it:
- m_CompositedHeightCache = std::make_shared<cHeiGenMultiCache>(std::make_shared<cCompositedHeiGen>(m_BiomeGen, m_ShapeGen, m_CompositionGen), 16, 24);
- // 24 subcaches of depth 16 each = 96 KiB of RAM. Acceptable, for the amount of work this saves.
+ m_CompositedHeightCache = std::make_shared<cHeiGenMultiCache>(std::make_shared<cCompositedHeiGen>(m_BiomeGen, m_ShapeGen, m_CompositionGen), 16, 128);
+ // 128 subcaches of depth 16 each = 0.5 MiB of RAM. Acceptable, for the amount of work this saves.
}
@@ -286,6 +281,7 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
{
int Seed = m_ChunkGenerator.GetSeed();
eDimension Dimension = StringToDimension(a_IniFile.GetValue("General", "Dimension", "Overworld"));
+ auto seaLevel = a_IniFile.GetValueI("Generator", "SeaLevel");
AString Finishers = a_IniFile.GetValueSet("Generator", "Finishers", "");
@@ -293,18 +289,24 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
AStringVector Str = StringSplitAndTrim(Finishers, ",");
for (AStringVector::const_iterator itr = Str.begin(); itr != Str.end(); ++itr)
{
+ auto split = StringSplitAndTrim(*itr, ":");
+ if (split.empty())
+ {
+ continue;
+ }
+ const auto & finisher = split[0];
// Finishers, alpha-sorted:
- if (NoCaseCompare(*itr, "Animals") == 0)
+ if (NoCaseCompare(finisher, "Animals") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenPassiveMobs(Seed, a_IniFile, Dimension)));
}
- else if (NoCaseCompare(*itr, "BottomLava") == 0)
+ else if (NoCaseCompare(finisher, "BottomLava") == 0)
{
int DefaultBottomLavaLevel = (Dimension == dimNether) ? 30 : 10;
int BottomLavaLevel = a_IniFile.GetValueSetI("Generator", "BottomLavaLevel", DefaultBottomLavaLevel);
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenBottomLava(BottomLavaLevel)));
}
- else if (NoCaseCompare(*itr, "DeadBushes") == 0)
+ else if (NoCaseCompare(finisher, "DeadBushes") == 0)
{
// A list with all the allowed biomes.
cFinishGenSingleTopBlock::BiomeList AllowedBiomes;
@@ -326,11 +328,11 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenSingleTopBlock(Seed, E_BLOCK_DEAD_BUSH, AllowedBiomes, 2, AllowedBlocks)));
}
- else if (NoCaseCompare(*itr, "DirectOverhangs") == 0)
+ else if (NoCaseCompare(finisher, "DirectOverhangs") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cStructGenDirectOverhangs(Seed)));
}
- else if (NoCaseCompare(*itr, "DirtPockets") == 0)
+ else if (NoCaseCompare(finisher, "DirtPockets") == 0)
{
auto gen = std::make_shared<cFinishGenOrePockets>(Seed + 1, cFinishGenOrePockets::DefaultNaturalPatches());
if (gen->Initialize(a_IniFile, "DirtPockets"))
@@ -338,16 +340,16 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
m_FinishGens.push_back(gen);
}
}
- else if (NoCaseCompare(*itr, "DistortedMembraneOverhangs") == 0)
+ else if (NoCaseCompare(finisher, "DistortedMembraneOverhangs") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cStructGenDistortedMembraneOverhangs(Seed)));
}
- else if (NoCaseCompare(*itr, "DualRidgeCaves") == 0)
+ else if (NoCaseCompare(finisher, "DualRidgeCaves") == 0)
{
float Threshold = static_cast<float>(a_IniFile.GetValueSetF("Generator", "DualRidgeCavesThreshold", 0.3));
m_FinishGens.push_back(cFinishGenPtr(new cStructGenDualRidgeCaves(Seed, Threshold)));
}
- else if (NoCaseCompare(*itr, "DungeonRooms") == 0)
+ else if (NoCaseCompare(finisher, "DungeonRooms") == 0)
{
int GridSize = a_IniFile.GetValueSetI("Generator", "DungeonRoomsGridSize", 48);
int MaxSize = a_IniFile.GetValueSetI("Generator", "DungeonRoomsMaxSize", 7);
@@ -355,28 +357,42 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
AString HeightDistrib = a_IniFile.GetValueSet ("Generator", "DungeonRoomsHeightDistrib", "0, 0; 10, 10; 11, 500; 40, 500; 60, 40; 90, 1");
m_FinishGens.push_back(cFinishGenPtr(new cDungeonRoomsFinisher(m_ShapeGen, Seed, GridSize, MaxSize, MinSize, HeightDistrib)));
}
- else if (NoCaseCompare(*itr, "GlowStone") == 0)
+ else if (NoCaseCompare(finisher, "GlowStone") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenGlowStone(Seed)));
}
- else if (NoCaseCompare(*itr, "Ice") == 0)
+ else if (NoCaseCompare(finisher, "Ice") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenIce));
}
- else if (NoCaseCompare(*itr, "LavaLakes") == 0)
+ else if (NoCaseCompare(finisher, "LavaLakes") == 0)
{
int Probability = a_IniFile.GetValueSetI("Generator", "LavaLakesProbability", 10);
m_FinishGens.push_back(cFinishGenPtr(new cStructGenLakes(Seed * 5 + 16873, E_BLOCK_STATIONARY_LAVA, m_ShapeGen, Probability)));
}
- else if (NoCaseCompare(*itr, "LavaSprings") == 0)
+ else if (NoCaseCompare(finisher, "LavaSprings") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenFluidSprings(Seed, E_BLOCK_LAVA, a_IniFile, Dimension)));
}
- else if (NoCaseCompare(*itr, "MarbleCaves") == 0)
+ else if (NoCaseCompare(finisher, "Lilypads") == 0)
+ {
+ // A list with all the allowed biomes.
+ cFinishGenSingleTopBlock::BiomeList AllowedBiomes;
+ AllowedBiomes.push_back(biSwampland);
+ AllowedBiomes.push_back(biSwamplandM);
+
+ // A list with all the allowed blocks that can be below the lilypad.
+ cFinishGenSingleTopBlock::BlockList AllowedBlocks;
+ AllowedBlocks.push_back(E_BLOCK_WATER);
+ AllowedBlocks.push_back(E_BLOCK_STATIONARY_WATER);
+
+ m_FinishGens.push_back(cFinishGenPtr(new cFinishGenSingleTopBlock(Seed, E_BLOCK_LILY_PAD, AllowedBiomes, 4, AllowedBlocks)));
+ }
+ else if (NoCaseCompare(finisher, "MarbleCaves") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cStructGenMarbleCaves(Seed)));
}
- else if (NoCaseCompare(*itr, "MineShafts") == 0)
+ else if (NoCaseCompare(finisher, "MineShafts") == 0)
{
int GridSize = a_IniFile.GetValueSetI("Generator", "MineShaftsGridSize", 512);
int MaxOffset = a_IniFile.GetValueSetI("Generator", "MineShaftsMaxOffset", 256);
@@ -389,44 +405,32 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
ChanceCorridor, ChanceCrossing, ChanceStaircase
)));
}
- else if (NoCaseCompare(*itr, "Lilypads") == 0)
- {
- // A list with all the allowed biomes.
- cFinishGenSingleTopBlock::BiomeList AllowedBiomes;
- AllowedBiomes.push_back(biSwampland);
- AllowedBiomes.push_back(biSwamplandM);
-
- // A list with all the allowed blocks that can be below the lilypad.
- cFinishGenSingleTopBlock::BlockList AllowedBlocks;
- AllowedBlocks.push_back(E_BLOCK_WATER);
- AllowedBlocks.push_back(E_BLOCK_STATIONARY_WATER);
-
- m_FinishGens.push_back(cFinishGenPtr(new cFinishGenSingleTopBlock(Seed, E_BLOCK_LILY_PAD, AllowedBiomes, 4, AllowedBlocks)));
- }
- else if (NoCaseCompare(*itr, "NaturalPatches") == 0)
+ else if (NoCaseCompare(finisher, "NaturalPatches") == 0)
{
m_FinishGens.push_back(std::make_shared<cFinishGenOreNests>(Seed + 1, cFinishGenOreNests::DefaultNaturalPatches()));
}
- else if (NoCaseCompare(*itr, "NetherClumpFoliage") == 0)
+ else if (NoCaseCompare(finisher, "NetherClumpFoliage") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenNetherClumpFoliage(Seed)));
}
else if (NoCaseCompare(*itr, "NetherForts") == 0)
{
- int GridSize = a_IniFile.GetValueSetI("Generator", "NetherFortsGridSize", 512);
- int MaxOffset = a_IniFile.GetValueSetI("Generator", "NetherFortsMaxOffset", 128);
- int MaxDepth = a_IniFile.GetValueSetI("Generator", "NetherFortsMaxDepth", 12);
- m_FinishGens.push_back(cFinishGenPtr(new cNetherFortGen(Seed, GridSize, MaxOffset, MaxDepth)));
+ LOGINFO("The NetherForts finisher is obsolete, you should use \"PieceStructures: NetherForts\" instead.");
+ auto gen = std::make_shared<cPieceStructuresGen>(Seed);
+ if (gen->Initialize("NetherForts", seaLevel, m_BiomeGen, m_CompositedHeightCache))
+ {
+ m_FinishGens.push_back(gen);
+ }
}
- else if (NoCaseCompare(*itr, "NetherOreNests") == 0)
+ else if (NoCaseCompare(finisher, "NetherOreNests") == 0)
{
m_FinishGens.push_back(std::make_shared<cFinishGenOreNests>(Seed + 2, cFinishGenOreNests::DefaultNetherOres()));
}
- else if (NoCaseCompare(*itr, "OreNests") == 0)
+ else if (NoCaseCompare(finisher, "OreNests") == 0)
{
m_FinishGens.push_back(std::make_shared<cFinishGenOreNests>(Seed + 3, cFinishGenOreNests::DefaultOverworldOres()));
}
- else if (NoCaseCompare(*itr, "OrePockets") == 0)
+ else if (NoCaseCompare(finisher, "OrePockets") == 0)
{
auto gen = std::make_shared<cFinishGenOrePockets>(Seed + 2, cFinishGenOrePockets::DefaultOverworldOres());
if (gen->Initialize(a_IniFile, "OrePockets"))
@@ -434,11 +438,21 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
m_FinishGens.push_back(gen);
}
}
- else if (NoCaseCompare(*itr, "POCPieces") == 0)
+ else if (NoCaseCompare(finisher, "POCPieces") == 0)
{
- m_FinishGens.push_back(cFinishGenPtr(new cPOCPieceGenerator(Seed)));
+ if (split.size() < 2)
+ {
+ LOGWARNING("The PieceStructures generator needs the structures to use. Example: \"PieceStructures: NetherForts\".");
+ continue;
+ }
+
+ auto gen = std::make_shared<cPieceStructuresGen>(Seed);
+ if (gen->Initialize(split[1], seaLevel, m_BiomeGen, m_CompositedHeightCache))
+ {
+ m_FinishGens.push_back(gen);
+ }
}
- else if (NoCaseCompare(*itr, "PreSimulator") == 0)
+ else if (NoCaseCompare(finisher, "PreSimulator") == 0)
{
// Load the settings
bool PreSimulateFallingBlocks = a_IniFile.GetValueSetB("Generator", "PreSimulatorFallingBlocks", true);
@@ -447,19 +461,20 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenPreSimulator(PreSimulateFallingBlocks, PreSimulateWater, PreSimulateLava)));
}
- else if (NoCaseCompare(*itr, "RainbowRoads") == 0)
+ else if (NoCaseCompare(finisher, "RainbowRoads") == 0)
{
- int GridSize = a_IniFile.GetValueSetI("Generator", "RainbowRoadsGridSize", 512);
- int MaxOffset = a_IniFile.GetValueSetI("Generator", "RainbowRoadsMaxOffset", 128);
- int MaxDepth = a_IniFile.GetValueSetI("Generator", "RainbowRoadsMaxDepth", 30);
- int MaxSize = a_IniFile.GetValueSetI("Generator", "RainbowRoadsMaxSize", 260);
- m_FinishGens.push_back(cFinishGenPtr(new cRainbowRoadsGen(Seed, GridSize, MaxOffset, MaxDepth, MaxSize)));
+ LOGINFO("The RainbowRoads finisher is obsolete, you should use \"PieceStructures: RainbowRoads\" instead.");
+ auto gen = std::make_shared<cPieceStructuresGen>(Seed);
+ if (gen->Initialize("RainbowRoads", seaLevel, m_BiomeGen, m_CompositedHeightCache))
+ {
+ m_FinishGens.push_back(gen);
+ }
}
- else if (NoCaseCompare(*itr, "Ravines") == 0)
+ else if (NoCaseCompare(finisher, "Ravines") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cStructGenRavines(Seed, 128)));
}
- else if (NoCaseCompare(*itr, "RoughRavines") == 0)
+ else if (NoCaseCompare(finisher, "RoughRavines") == 0)
{
int GridSize = a_IniFile.GetValueSetI("Generator", "RoughRavinesGridSize", 256);
int MaxOffset = a_IniFile.GetValueSetI("Generator", "RoughRavinesMaxOffset", 128);
@@ -494,39 +509,36 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
GridSize, MaxOffset
)));
}
- else if (NoCaseCompare(*itr, "SoulsandRims") == 0)
+ else if (NoCaseCompare(finisher, "SoulsandRims") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenSoulsandRims(Seed)));
}
- else if (NoCaseCompare(*itr, "Snow") == 0)
+ else if (NoCaseCompare(finisher, "Snow") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenSnow));
}
- else if (NoCaseCompare(*itr, "SprinkleFoliage") == 0)
+ else if (NoCaseCompare(finisher, "SprinkleFoliage") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenSprinkleFoliage(Seed)));
}
- else if (NoCaseCompare(*itr, "TallGrass") == 0)
+ else if (NoCaseCompare(finisher, "TallGrass") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenTallGrass(Seed)));
}
- else if (NoCaseCompare(*itr, "TestRails") == 0)
- {
- m_FinishGens.push_back(cFinishGenPtr(new cTestRailsGen(Seed, 100, 1, 7, 50)));
- }
- else if (NoCaseCompare(*itr, "Trees") == 0)
+ else if (NoCaseCompare(finisher, "Trees") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cStructGenTrees(Seed, m_BiomeGen, m_ShapeGen, m_CompositionGen)));
}
- else if (NoCaseCompare(*itr, "UnderwaterBases") == 0)
+ else if (NoCaseCompare(finisher, "UnderwaterBases") == 0)
{
- int GridSize = a_IniFile.GetValueSetI("Generator", "UnderwaterBaseGridSize", 1024);
- int MaxOffset = a_IniFile.GetValueSetI("Generator", "UnderwaterBaseMaxOffset", 128);
- int MaxDepth = a_IniFile.GetValueSetI("Generator", "UnderwaterBaseMaxDepth", 7);
- int MaxSize = a_IniFile.GetValueSetI("Generator", "UnderwaterBaseMaxSize", 128);
- m_FinishGens.push_back(std::make_shared<cUnderwaterBaseGen>(Seed, GridSize, MaxOffset, MaxDepth, MaxSize, m_BiomeGen));
+ LOGINFO("The UnderwaterBases finisher is obsolete, you should use \"PieceStructures: UnderwaterBases\" instead.");
+ auto gen = std::make_shared<cPieceStructuresGen>(Seed);
+ if (gen->Initialize("UnderwaterBases", seaLevel, m_BiomeGen, m_CompositedHeightCache))
+ {
+ m_FinishGens.push_back(gen);
+ }
}
- else if (NoCaseCompare(*itr, "Villages") == 0)
+ else if (NoCaseCompare(finisher, "Villages") == 0)
{
int GridSize = a_IniFile.GetValueSetI("Generator", "VillageGridSize", 384);
int MaxOffset = a_IniFile.GetValueSetI("Generator", "VillageMaxOffset", 128);
@@ -536,23 +548,23 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
int MaxDensity = a_IniFile.GetValueSetI("Generator", "VillageMaxDensity", 80);
AString PrefabList = a_IniFile.GetValueSet("Generator", "VillagePrefabs", "PlainsVillage, SandVillage");
auto Prefabs = StringSplitAndTrim(PrefabList, ",");
- m_FinishGens.push_back(std::make_shared<cVillageGen>(Seed, GridSize, MaxOffset, MaxDepth, MaxSize, MinDensity, MaxDensity, m_BiomeGen, m_CompositedHeightCache, Prefabs));
+ m_FinishGens.push_back(std::make_shared<cVillageGen>(Seed, GridSize, MaxOffset, MaxDepth, MaxSize, MinDensity, MaxDensity, m_BiomeGen, m_CompositedHeightCache, seaLevel, Prefabs));
}
- else if (NoCaseCompare(*itr, "Vines") == 0)
+ else if (NoCaseCompare(finisher, "Vines") == 0)
{
int Level = a_IniFile.GetValueSetI("Generator", "VinesLevel", 40);
m_FinishGens.push_back(std::make_shared<cFinishGenVines>(Seed, Level));
}
- else if (NoCaseCompare(*itr, "WaterLakes") == 0)
+ else if (NoCaseCompare(finisher, "WaterLakes") == 0)
{
int Probability = a_IniFile.GetValueSetI("Generator", "WaterLakesProbability", 25);
m_FinishGens.push_back(cFinishGenPtr(new cStructGenLakes(Seed * 3 + 652, E_BLOCK_STATIONARY_WATER, m_ShapeGen, Probability)));
}
- else if (NoCaseCompare(*itr, "WaterSprings") == 0)
+ else if (NoCaseCompare(finisher, "WaterSprings") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenFluidSprings(Seed, E_BLOCK_WATER, a_IniFile, Dimension)));
}
- else if (NoCaseCompare(*itr, "WormNestCaves") == 0)
+ else if (NoCaseCompare(finisher, "WormNestCaves") == 0)
{
int Size = a_IniFile.GetValueSetI("Generator", "WormNestCavesSize", 64);
int Grid = a_IniFile.GetValueSetI("Generator", "WormNestCavesGrid", 96);
@@ -561,7 +573,7 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
}
else
{
- LOGWARNING("Unknown Finisher in the [Generator] section: \"%s\". Ignoring.", itr->c_str());
+ LOGWARNING("Unknown Finisher in the [Generator] section: \"%s\". Ignoring.", finisher.c_str());
}
} // for itr - Str[]
}
diff --git a/src/Generating/ComposableGenerator.h b/src/Generating/ComposableGenerator.h
index 86c30e090..41e4baf52 100644
--- a/src/Generating/ComposableGenerator.h
+++ b/src/Generating/ComposableGenerator.h
@@ -113,6 +113,18 @@ public:
/** Initializes the generator, reading its parameters from the INI file. */
virtual void InitializeHeightGen(cIniFile & a_IniFile) {}
+ /** Returns the height at the specified column.
+ The default implementation calls GenHeightMap(), and then queries the heightmap.
+ Descendants may provide a better-performing method. */
+ virtual HEIGHTTYPE GetHeightAt(int a_BlockX, int a_BlockZ)
+ {
+ int chunkX, chunkZ;
+ cChunkDef::BlockToChunk(a_BlockX, a_BlockZ, chunkX, chunkZ);
+ cChunkDef::HeightMap heightMap;
+ GenHeightMap(chunkX, chunkZ, heightMap);
+ return cChunkDef::GetHeight(heightMap, a_BlockX - chunkX * cChunkDef::Width, a_BlockZ - chunkZ * cChunkDef::Width);
+ }
+
/** Creates a cTerrainHeightGen descendant based on the INI file settings. */
static cTerrainHeightGenPtr CreateHeightGen(cIniFile & a_IniFile, cBiomeGenPtr a_BiomeGen, int a_Seed, bool & a_CacheOffByDefault);
} ;
diff --git a/src/Generating/GridStructGen.cpp b/src/Generating/GridStructGen.cpp
index 5adc60c4f..bcf66795c 100644
--- a/src/Generating/GridStructGen.cpp
+++ b/src/Generating/GridStructGen.cpp
@@ -9,6 +9,7 @@
+
////////////////////////////////////////////////////////////////////////////////
// cEmptyStructure:
@@ -79,6 +80,54 @@ cGridStructGen::cGridStructGen(
+cGridStructGen::cGridStructGen(int a_Seed):
+ m_BaseSeed(a_Seed),
+ m_Seed(a_Seed),
+ m_Noise(a_Seed),
+ m_GridSizeX(256),
+ m_GridSizeZ(256),
+ m_MaxOffsetX(128),
+ m_MaxOffsetZ(128),
+ m_MaxStructureSizeX(128),
+ m_MaxStructureSizeZ(128),
+ m_MaxCacheSize(256)
+{
+}
+
+
+
+
+
+void cGridStructGen::SetGeneratorParams(const AStringMap & a_GeneratorParams)
+{
+ ASSERT(m_Cache.empty()); // No changing the params after chunks are generated
+ m_GridSizeX = GetStringMapInteger<int>(a_GeneratorParams, "GridSizeX", m_GridSizeX);
+ m_GridSizeZ = GetStringMapInteger<int>(a_GeneratorParams, "GridSizeZ", m_GridSizeZ);
+ m_MaxOffsetX = GetStringMapInteger<int>(a_GeneratorParams, "MaxOffsetX", m_MaxOffsetX);
+ m_MaxOffsetZ = GetStringMapInteger<int>(a_GeneratorParams, "MaxOffsetZ", m_MaxOffsetZ);
+ m_MaxStructureSizeX = GetStringMapInteger<int>(a_GeneratorParams, "MaxStructureSizeX", m_MaxStructureSizeX);
+ m_MaxStructureSizeZ = GetStringMapInteger<int>(a_GeneratorParams, "MaxStructureSizeZ", m_MaxStructureSizeZ);
+
+ // Silently fix out-of-range parameters:
+ if (m_MaxOffsetX < 1)
+ {
+ m_MaxOffsetX = 1;
+ }
+ if (m_MaxOffsetZ < 1)
+ {
+ m_MaxOffsetZ = 1;
+ }
+
+ // Set the seed based on the seed offset from the parameters:
+ auto seedOffset = GetStringMapInteger<int>(a_GeneratorParams, "SeedOffset", 0);
+ m_Seed = m_BaseSeed + seedOffset;
+ m_Noise.SetSeed(m_Seed);
+}
+
+
+
+
+
void cGridStructGen::GetStructuresForChunk(int a_ChunkX, int a_ChunkZ, cStructurePtrs & a_Structures)
{
// Calculate the min and max grid coords of the structures to be returned:
diff --git a/src/Generating/GridStructGen.h b/src/Generating/GridStructGen.h
index b92fb2e9d..b27f218f4 100644
--- a/src/Generating/GridStructGen.h
+++ b/src/Generating/GridStructGen.h
@@ -85,9 +85,24 @@ public:
int a_MaxStructureSizeX, int a_MaxStructureSizeZ,
size_t a_MaxCacheSize
);
+
+ /** Creates a new instance that has the generation parameters set to defaults.
+ This is used for instances that are later loaded from a file. */
+ cGridStructGen(int a_Seed);
+
+ /** Sets the generator params based on the dictionary passed in.
+ Note that this must not be called anymore after generating a chunk. */
+ void SetGeneratorParams(const AStringMap & a_GeneratorParams);
+
+ // cFinishGen override:
+ virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
protected:
- /** Seed for generating grid offsets and also available for descendants. */
+ /** Base seed of the world for which the generator generates chunk. */
+ int m_BaseSeed;
+
+ /** Seed for generating grid offsets and also available for descendants.
+ Calculated from m_BaseSeed by adding the SeedOffset parameter loaded from the cubeset file (if applicable); otherwise the same as m_BaseSeed. */
int m_Seed;
/** The noise used for generating grid offsets. */
@@ -131,9 +146,6 @@ protected:
around their gridpoint intersects the chunk. */
void GetStructuresForChunk(int a_ChunkX, int a_ChunkZ, cStructurePtrs & a_Structures);
- // cFinishGen overrides:
- virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
-
// Functions for the descendants to override:
/** Create a new structure at the specified gridpoint */
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) = 0;
diff --git a/src/Generating/HeiGen.cpp b/src/Generating/HeiGen.cpp
index 76d0fbae8..2b3f342bb 100644
--- a/src/Generating/HeiGen.cpp
+++ b/src/Generating/HeiGen.cpp
@@ -192,6 +192,27 @@ void cHeiGenCache::GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap
+HEIGHTTYPE cHeiGenCache::GetHeightAt(int a_BlockX, int a_BlockZ)
+{
+ // First try if the chunk is already in the cache:
+ int chunkX, chunkZ;
+ cChunkDef::BlockToChunk(a_BlockX, a_BlockZ, chunkX, chunkZ);
+ HEIGHTTYPE res;
+ if (GetHeightAt(chunkX, chunkZ, a_BlockX - chunkX * cChunkDef::Width, a_BlockZ - chunkZ * cChunkDef::Width, res))
+ {
+ return res;
+ }
+
+ // Chunk not in cache, generate the chunk and ask again:
+ cChunkDef::HeightMap heightMap;
+ GenHeightMap(chunkX, chunkZ, heightMap);
+ return cChunkDef::GetHeight(heightMap, a_BlockX - chunkX * cChunkDef::Width, a_BlockZ - chunkZ * cChunkDef::Width);
+}
+
+
+
+
+
bool cHeiGenCache::GetHeightAt(int a_ChunkX, int a_ChunkZ, int a_RelX, int a_RelZ, HEIGHTTYPE & a_Height)
{
for (size_t i = 0; i < m_CacheSize; i++)
@@ -240,6 +261,27 @@ void cHeiGenMultiCache::GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::Heig
+HEIGHTTYPE cHeiGenMultiCache::GetHeightAt(int a_BlockX, int a_BlockZ)
+{
+ // First try if the chunk is already in the cache:
+ int chunkX, chunkZ;
+ cChunkDef::BlockToChunk(a_BlockX, a_BlockZ, chunkX, chunkZ);
+ HEIGHTTYPE res;
+ if (GetHeightAt(chunkX, chunkZ, a_BlockX - chunkX * cChunkDef::Width, a_BlockZ - chunkZ * cChunkDef::Width, res))
+ {
+ return res;
+ }
+
+ // Chunk not in cache, generate the chunk and ask again:
+ cChunkDef::HeightMap heightMap;
+ GenHeightMap(chunkX, chunkZ, heightMap);
+ return cChunkDef::GetHeight(heightMap, a_BlockX - chunkX * cChunkDef::Width, a_BlockZ - chunkZ * cChunkDef::Width);
+}
+
+
+
+
+
bool cHeiGenMultiCache::GetHeightAt(int a_ChunkX, int a_ChunkZ, int a_RelX, int a_RelZ, HEIGHTTYPE & a_Height)
{
// Get the subcache responsible for this chunk:
diff --git a/src/Generating/HeiGen.h b/src/Generating/HeiGen.h
index 0dc9c814b..e3b951b44 100644
--- a/src/Generating/HeiGen.h
+++ b/src/Generating/HeiGen.h
@@ -33,6 +33,7 @@ public:
// cTerrainHeightGen overrides:
virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override;
+ virtual HEIGHTTYPE GetHeightAt(int a_BlockX, int a_BlockZ) override;
/** Retrieves height at the specified point in the cache, returns true if found, false if not found */
bool GetHeightAt(int a_ChunkX, int a_ChunkZ, int a_RelX, int a_RelZ, HEIGHTTYPE & a_Height);
@@ -72,6 +73,7 @@ public:
// cTerrainHeightGen overrides:
virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override;
+ virtual HEIGHTTYPE GetHeightAt(int a_BlockX, int a_BlockZ) override;
/** Retrieves height at the specified point in the cache, returns true if found, false if not found */
bool GetHeightAt(int a_ChunkX, int a_ChunkZ, int a_RelX, int a_RelZ, HEIGHTTYPE & a_Height);
@@ -164,6 +166,8 @@ protected:
class cHeiGenBiomal :
public cTerrainHeightGen
{
+ typedef cTerrainHeightGen Super;
+
public:
cHeiGenBiomal(int a_Seed, cBiomeGenPtr a_BiomeGen) :
m_Noise(a_Seed),
@@ -173,6 +177,10 @@ public:
// cTerrainHeightGen overrides:
virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override;
+ virtual HEIGHTTYPE GetHeightAt(int a_BlockX, int a_BlockZ) override // Need to provide this override due to clang's overzealous detection of overloaded virtuals
+ {
+ return Super::GetHeightAt(a_BlockX, a_BlockZ);
+ }
virtual void InitializeHeightGen(cIniFile & a_IniFile) override;
protected:
diff --git a/src/Generating/NetherFortGen.cpp b/src/Generating/NetherFortGen.cpp
deleted file mode 100644
index d29ab8cd1..000000000
--- a/src/Generating/NetherFortGen.cpp
+++ /dev/null
@@ -1,134 +0,0 @@
-
-// NetherFortGen.cpp
-
-// Implements the cNetherFortGen class representing the nether fortress generator
-
-#include "Globals.h"
-#include "NetherFortGen.h"
-#include "Prefabs/NetherFortPrefabs.h"
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// cNetherFortGen::cNetherFort:
-
-class cNetherFortGen::cNetherFort :
- public cGridStructGen::cStructure
-{
- typedef cGridStructGen::cStructure super;
-
-public:
- cNetherFortGen & m_ParentGen;
- int m_GridSize;
- int m_Seed;
- cPlacedPieces m_Pieces;
-
-
- cNetherFort(cNetherFortGen & a_ParentGen, int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ, int a_GridSize, int a_MaxDepth, int a_Seed) :
- super(a_GridX, a_GridZ, a_OriginX, a_OriginZ),
- m_ParentGen(a_ParentGen),
- m_GridSize(a_GridSize),
- m_Seed(a_Seed)
- {
- // TODO: Proper Y-coord placement
- int BlockY = 64;
-
- // Generate pieces:
- for (int i = 0; m_Pieces.size() < static_cast<size_t>(a_MaxDepth * a_MaxDepth / 8 + a_MaxDepth); i++)
- {
- cBFSPieceGenerator pg(cNetherFortGen::m_PiecePool, a_Seed + i);
- pg.PlacePieces(a_OriginX, BlockY, a_OriginZ, a_MaxDepth, m_Pieces);
- }
- }
-
-
- ~cNetherFort()
- {
- cPieceGenerator::FreePieces(m_Pieces);
- }
-
-
- /** Carves the system into the chunk data */
- virtual void DrawIntoChunk(cChunkDesc & a_Chunk)
- {
- for (cPlacedPieces::const_iterator itr = m_Pieces.begin(), end = m_Pieces.end(); itr != end; ++itr)
- {
- const cPrefab & Prefab = static_cast<const cPrefab &>((*itr)->GetPiece());
- Prefab.Draw(a_Chunk, *itr);
- } // for itr - m_PlacedPieces[]
- }
-};
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Performance test of the NetherFort generator:
-
-/*
-#include "OSSupport/Timer.h"
-static class cNetherFortPerfTest
-{
-public:
- cNetherFortPerfTest(void)
- {
- cTimer Timer;
- long long StartTime = Timer.GetNowTime();
-
- const int GridSize = 512;
- const int MaxDepth = 12;
- const int NumIterations = 100;
- for (int i = 0; i < NumIterations; i++)
- {
- cNetherFortGen FortGen(i, GridSize, MaxDepth);
- delete new cNetherFortGen::cNetherFort(FortGen, 0, 0, GridSize, MaxDepth, i);
- }
-
- long long EndTime = Timer.GetNowTime();
- printf("%d forts took %lld msec (%f sec) to generate\n", NumIterations, EndTime - StartTime, ((double)(EndTime - StartTime)) / 1000);
- exit(0);
- }
-
-} g_PerfTest;
-//*/
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// cNetherFortGen:
-
-cPrefabPiecePool cNetherFortGen::m_PiecePool(g_NetherFortPrefabs, g_NetherFortPrefabsCount, g_NetherFortStartingPrefabs, g_NetherFortStartingPrefabsCount);
-
-
-
-
-
-cNetherFortGen::cNetherFortGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth) :
- super(a_Seed, a_GridSize, a_GridSize, a_MaxOffset, a_MaxOffset, a_MaxDepth * 10, a_MaxDepth * 10, 200),
- m_MaxDepth(a_MaxDepth)
-{
- /*
- // DEBUG: Try one round of placement:
- cPlacedPieces Pieces;
- cBFSPieceGenerator pg(m_PiecePool, a_Seed);
- pg.PlacePieces(0, 64, 0, a_MaxDepth, Pieces);
- //*/
-}
-
-
-
-
-
-cGridStructGen::cStructurePtr cNetherFortGen::CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ)
-{
- return cStructurePtr(new cNetherFort(*this, a_GridX, a_GridZ, a_OriginX, a_OriginZ, m_GridSizeX, m_MaxDepth, m_Seed));
-}
-
-
-
-
diff --git a/src/Generating/NetherFortGen.h b/src/Generating/NetherFortGen.h
deleted file mode 100644
index 9b31aa0e2..000000000
--- a/src/Generating/NetherFortGen.h
+++ /dev/null
@@ -1,45 +0,0 @@
-
-// NetherFortGen.h
-
-// Declares the cNetherFortGen class representing the nether fortress generator
-
-
-
-
-
-#pragma once
-
-#include "ComposableGenerator.h"
-#include "PrefabPiecePool.h"
-#include "GridStructGen.h"
-
-
-
-
-
-class cNetherFortGen :
- public cGridStructGen
-{
- typedef cGridStructGen super;
-
-public:
- cNetherFortGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth);
-
-protected:
- friend class cNetherFortPerfTest; // fwd: NetherFortGen.cpp
- class cNetherFort; // fwd: NetherFortGen.cpp
-
- /** Maximum depth of the piece-generator tree */
- int m_MaxDepth;
-
- /** The pool of pieces to use for generating. Static, so that it's shared by multiple generators. */
- static cPrefabPiecePool m_PiecePool;
-
-
- // cGridStructGen overrides:
- virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
-} ;
-
-
-
-
diff --git a/src/Generating/POCPieceGenerator.cpp b/src/Generating/POCPieceGenerator.cpp
deleted file mode 100644
index 834e3887f..000000000
--- a/src/Generating/POCPieceGenerator.cpp
+++ /dev/null
@@ -1,275 +0,0 @@
-
-// POCPieceGenerator.cpp
-
-// Implements the cPOCPieceGenerator class representing a Proof-Of_Concept structure generator using the cPieceGenerator technique
-// The generator generates a maze of rooms at {0, 50, 0}
-
-#include "Globals.h"
-#include "POCPieceGenerator.h"
-#include "ChunkDesc.h"
-
-
-
-
-
-/** POC pieces are simple boxes that have connectors in the middle of their walls.
-Each wall has one connector, there are 3 connector types that get assigned semi-randomly.
-The piece also knows how to imprint itself in a cChunkDesc, each piece has a different color glass
-and each connector is uses a different color wool frame. */
-class cPOCPiece :
- public cPiece
-{
-public:
- cPOCPiece(int a_SizeXZ, int a_Height) :
- m_SizeXZ(a_SizeXZ),
- m_Height(a_Height)
- {
- m_Connectors.push_back(cConnector(m_SizeXZ / 2, a_Height / 2, 0, 0, BLOCK_FACE_ZM));
- m_Connectors.push_back(cConnector(m_SizeXZ / 2, a_Height / 2, m_SizeXZ - 1, 1, BLOCK_FACE_ZP));
- m_Connectors.push_back(cConnector(0, a_Height / 2, m_SizeXZ / 2, 2, BLOCK_FACE_XM));
- m_Connectors.push_back(cConnector(m_SizeXZ - 1, a_Height - 1, m_SizeXZ / 2, m_SizeXZ % 3, BLOCK_FACE_XP));
- }
-
-
- /** Imprints the piece in the specified chunk. Assumes they intersect. */
- void ImprintInChunk(cChunkDesc & a_ChunkDesc, const Vector3i & a_Pos, int a_NumCCWRotations) const
- {
- int BlockX = a_ChunkDesc.GetChunkX() * cChunkDef::Width;
- int BlockZ = a_ChunkDesc.GetChunkZ() * cChunkDef::Width;
- Vector3i Min = a_Pos;
- Min.Move(-BlockX, 0, -BlockZ);
- Vector3i Max = Min;
- Max.Move(m_SizeXZ - 1, m_Height - 1, m_SizeXZ - 1);
- ASSERT(Min.x < cChunkDef::Width);
- ASSERT(Min.z < cChunkDef::Width);
- ASSERT(Max.x >= 0);
- ASSERT(Max.z >= 0);
- if (Min.x >= 0)
- {
- // Draw the XM wall:
- a_ChunkDesc.FillRelCuboid(Min.x, Min.x, Min.y, Max.y, Min.z, Max.z, E_BLOCK_STAINED_GLASS, m_SizeXZ % 16);
- }
- if (Min.z >= 0)
- {
- // Draw the ZM wall:
- a_ChunkDesc.FillRelCuboid(Min.x, Max.x, Min.y, Max.y, Min.z, Min.z, E_BLOCK_STAINED_GLASS, m_SizeXZ % 16);
- }
- if (Max.x < cChunkDef::Width)
- {
- // Draw the XP wall:
- a_ChunkDesc.FillRelCuboid(Max.x, Max.x, Min.y, Max.y, Min.z, Max.z, E_BLOCK_STAINED_GLASS, m_SizeXZ % 16);
- }
- if (Max.z < cChunkDef::Width)
- {
- // Draw the ZP wall:
- a_ChunkDesc.FillRelCuboid(Min.x, Max.x, Min.y, Max.y, Max.z, Max.z, E_BLOCK_STAINED_GLASS, m_SizeXZ % 16);
- }
-
- // Draw all the connectors:
- for (cConnectors::const_iterator itr = m_Connectors.begin(), end = m_Connectors.end(); itr != end; ++itr)
- {
- cConnector Conn = cPiece::RotateMoveConnector(*itr, a_NumCCWRotations, a_Pos.x, a_Pos.y, a_Pos.z);
- Conn.m_Pos.Move(-BlockX, 0, -BlockZ);
- if (
- (Conn.m_Pos.x >= 0) && (Conn.m_Pos.x < cChunkDef::Width) &&
- (Conn.m_Pos.z >= 0) && (Conn.m_Pos.z < cChunkDef::Width)
- )
- {
- a_ChunkDesc.SetBlockTypeMeta(Conn.m_Pos.x, Conn.m_Pos.y, Conn.m_Pos.z, E_BLOCK_WOOL, itr->m_Type % 16);
- }
-
- /*
- // TODO: Frame the connectors
- switch (itr->m_Direction)
- {
- case BLOCK_FACE_XM:
- case BLOCK_FACE_XP:
- {
- // TODO
- break;
- }
-
- case BLOCK_FACE_ZM:
- case BLOCK_FACE_ZP:
- {
- // TODO
- break;
- }
- }
- */
- } // for itr - m_Connectors[]
- }
-
-protected:
- int m_SizeXZ;
- int m_Height;
- cConnectors m_Connectors;
-
- // cPiece overrides:
- virtual cConnectors GetConnectors(void) const override
- {
- return m_Connectors;
- }
-
- virtual Vector3i GetSize(void) const override
- {
- return Vector3i(m_SizeXZ, m_Height, m_SizeXZ);
- }
-
- virtual cCuboid GetHitBox(void) const override
- {
- return cCuboid(0, 0, 0, m_SizeXZ - 1, m_Height - 1, m_SizeXZ - 1);
- }
-
- virtual bool CanRotateCCW(int a_NumRotations) const override
- {
- return true;
- }
-};
-
-
-
-
-
-/*
-static void DebugPieces(const cPlacedPieces & a_Pieces)
-{
- size_t idx = 0;
- for (cPlacedPieces::const_iterator itr = a_Pieces.begin(), end = a_Pieces.end(); itr != end; ++itr, ++idx)
- {
- const cCuboid & HitBox = (*itr)->GetHitBox();
- printf(" %u: %d rotations, {%d - %d, %d - %d}\n",
- idx, (*itr)->GetNumCCWRotations(),
- HitBox.p1.x, HitBox.p2.x, HitBox.p1.z, HitBox.p2.z
- );
- } // for itr - a_Pieces[]
-}
-//*/
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// cPOCPieceGenerator:
-
-cPOCPieceGenerator::cPOCPieceGenerator(int a_Seed) :
- m_Seed(a_Seed)
-{
- // Prepare a vector of available pieces:
- m_AvailPieces.push_back(new cPOCPiece(5, 3));
- m_AvailPieces.push_back(new cPOCPiece(7, 5));
- m_AvailPieces.push_back(new cPOCPiece(9, 5));
- m_AvailPieces.push_back(new cPOCPiece(5, 7));
-
- // Generate the structure:
- cBFSPieceGenerator Gen(*this, a_Seed);
- Gen.PlacePieces(0, 50, 0, 6, m_Pieces);
-
- // DebugPieces(m_Pieces);
-
- // Get the smallest cuboid encompassing the entire generated structure:
- cCuboid Bounds(0, 50, 0, 0, 50, 0);
- for (cPlacedPieces::const_iterator itr = m_Pieces.begin(), end = m_Pieces.end(); itr != end; ++itr)
- {
- Vector3i MinCoords = (*itr)->GetCoords();
- Bounds.Engulf(MinCoords);
- Bounds.Engulf(MinCoords + (*itr)->GetPiece().GetSize());
- } // for itr - m_Pieces[]
- m_Bounds = Bounds;
-}
-
-
-
-
-
-cPOCPieceGenerator::~cPOCPieceGenerator()
-{
- cPieceGenerator::FreePieces(m_Pieces);
- for (cPieces::iterator itr = m_AvailPieces.begin(), end = m_AvailPieces.end(); itr != end; ++itr)
- {
- delete *itr;
- }
- m_AvailPieces.clear();
-}
-
-
-
-
-
-void cPOCPieceGenerator::GenFinish(cChunkDesc & a_ChunkDesc)
-{
- int BlockX = a_ChunkDesc.GetChunkX() * cChunkDef::Width;
- int BlockZ = a_ChunkDesc.GetChunkZ() * cChunkDef::Width;
- if (
- (BlockX + 16 < m_Bounds.p1.x) || (BlockX > m_Bounds.p2.x) || // X coords out of bounds of the generated structure
- (BlockZ + 16 < m_Bounds.p1.z) || (BlockZ > m_Bounds.p2.z) // Z coords out of bounds of the generated structure
- )
- {
- return;
- }
-
- // Imprint each piece in the chunk:
- for (cPlacedPieces::const_iterator itr = m_Pieces.begin(), end = m_Pieces.end(); itr != end; ++itr)
- {
- const Vector3i & Pos = (*itr)->GetCoords();
- Vector3i Size = (*itr)->GetPiece().GetSize();
- if (((*itr)->GetNumCCWRotations() % 2) == 1)
- {
- std::swap(Size.x, Size.z);
- }
- if (
- (Pos.x >= BlockX + 16) || (Pos.x + Size.x - 1 < BlockX) ||
- (Pos.z >= BlockZ + 16) || (Pos.z + Size.z - 1 < BlockZ)
- )
- {
- // This piece doesn't intersect the chunk
- continue;
- }
-
- (static_cast<const cPOCPiece &>((*itr)->GetPiece())).ImprintInChunk(a_ChunkDesc, Pos, (*itr)->GetNumCCWRotations());
- } // for itr - m_Pieces[]
- a_ChunkDesc.UpdateHeightmap();
-}
-
-
-
-
-
-cPieces cPOCPieceGenerator::GetPiecesWithConnector(int a_ConnectorType)
-{
- // Each piece has each connector
- return m_AvailPieces;
-}
-
-
-
-
-
-cPieces cPOCPieceGenerator::GetStartingPieces(void)
-{
- // Any piece can be a starting piece
- return m_AvailPieces;
-}
-
-
-
-
-
-void cPOCPieceGenerator::PiecePlaced(const cPiece & a_Piece)
-{
- UNUSED(a_Piece);
-}
-
-
-
-
-
-void cPOCPieceGenerator::Reset(void)
-{
- // Nothing needed
-}
-
-
-
-
diff --git a/src/Generating/POCPieceGenerator.h b/src/Generating/POCPieceGenerator.h
deleted file mode 100644
index de3114ce0..000000000
--- a/src/Generating/POCPieceGenerator.h
+++ /dev/null
@@ -1,54 +0,0 @@
-
-// POCPieceGenerator.h
-
-// Declares the cPOCPieceGenerator class representing a Proof-Of_Concept structure generator using the cPieceGenerator technique
-// The generator generates a maze of rooms at {0, 100, 0}
-
-
-
-
-
-#pragma once
-
-#include "PieceGenerator.h"
-#include "ComposableGenerator.h"
-
-
-
-
-
-class cPOCPieceGenerator :
- public cFinishGen,
- protected cPiecePool
-{
-public:
- cPOCPieceGenerator(int a_Seed);
- ~cPOCPieceGenerator();
-
-protected:
- int m_Seed;
-
- /** The pieces from which the generated structure is built. */
- cPieces m_AvailPieces;
-
- /** The placed pieces of the generated structure. */
- cPlacedPieces m_Pieces;
-
- /** Bounds of the complete structure, to save on processing outside chunks. */
- cCuboid m_Bounds;
-
-
- // cFinishGen overrides:
- virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
-
- // cPiecePool overrides:
- virtual cPieces GetPiecesWithConnector(int a_ConnectorType) override;
- virtual cPieces GetStartingPieces(void) override;
- virtual void PiecePlaced(const cPiece & a_Piece) override;
- virtual void Reset(void) override;
-} ;
-
-
-
-
-
diff --git a/src/Generating/PieceGenerator.cpp b/src/Generating/PieceGenerator.cpp
index 93e7179e2..1d58157ba 100644
--- a/src/Generating/PieceGenerator.cpp
+++ b/src/Generating/PieceGenerator.cpp
@@ -7,149 +7,46 @@
#include "Globals.h"
#include "PieceGenerator.h"
#include "../SelfTests.h"
+#include "VerticalStrategy.h"
+#include "VerticalLimit.h"
-#ifdef SELF_TEST
-
////////////////////////////////////////////////////////////////////////////////
-// Self-test:
+// cPiece:
-static class cPieceGeneratorSelfTest :
- public cPiecePool
+bool cPiece::SetVerticalStrategyFromString(const AString & a_StrategyDesc, bool a_LogWarnings)
{
-public:
- cPieceGeneratorSelfTest(void)
+ auto strategy = CreateVerticalStrategyFromString(a_StrategyDesc, a_LogWarnings);
+ if (strategy == nullptr)
{
- cSelfTests::Get().Register(std::bind(&cPieceGeneratorSelfTest::Test, this), "PieceGenerator");
+ return false;
}
+ m_VerticalStrategy = strategy;
+ return true;
+}
+
+
- void Test(void)
- {
- // Prepare the internal state:
- InitializePieces();
-
- // Generate:
- cBFSPieceGenerator Gen(*this, 0);
- cPlacedPieces OutPieces;
- Gen.PlacePieces(500, 50, 500, 3, OutPieces);
-
- // Print out the pieces:
- LOG("OutPieces.size() = " SIZE_T_FMT, OutPieces.size());
- size_t idx = 0;
- for (cPlacedPieces::const_iterator itr = OutPieces.begin(), end = OutPieces.end(); itr != end; ++itr, ++idx)
- {
- const Vector3i & Coords = (*itr)->GetCoords();
- cCuboid Hitbox = (*itr)->GetHitBox();
- Hitbox.Sort();
- LOG(SIZE_T_FMT ": {%d, %d, %d}, rot %d, hitbox {%d, %d, %d} - {%d, %d, %d} (%d * %d * %d)", idx,
- Coords.x, Coords.y, Coords.z,
- (*itr)->GetNumCCWRotations(),
- Hitbox.p1.x, Hitbox.p1.y, Hitbox.p1.z,
- Hitbox.p2.x, Hitbox.p2.y, Hitbox.p2.z,
- Hitbox.DifX() + 1, Hitbox.DifY() + 1, Hitbox.DifZ() + 1
- );
- } // itr - OutPieces[]
- LOG("Done.");
-
- // Free the placed pieces properly:
- Gen.FreePieces(OutPieces);
- }
-
- ~cPieceGeneratorSelfTest()
- {
- // Dealloc all the pieces:
- for (cPieces::iterator itr = m_Pieces.begin(), end = m_Pieces.end(); itr != end; ++itr)
- {
- delete *itr;
- }
- m_Pieces.clear();
- }
-
-protected:
- class cTestPiece :
- public cPiece
- {
- int m_Size;
- public:
- cTestPiece(int a_Size) :
- m_Size(a_Size)
- {
- }
-
- virtual cConnectors GetConnectors(void) const override
- {
- // Each piece has 4 connectors, one of each type, plus one extra, at the center of its walls:
- cConnectors res;
- res.push_back(cConnector(m_Size / 2, 1, 0, 0, BLOCK_FACE_ZM));
- res.push_back(cConnector(m_Size / 2, 1, m_Size - 1, 1, BLOCK_FACE_ZP));
- res.push_back(cConnector(0, 1, m_Size / 2, 2, BLOCK_FACE_XM));
- res.push_back(cConnector(m_Size - 1, 1, m_Size / 2, m_Size % 3, BLOCK_FACE_XP));
- return res;
- }
-
- virtual Vector3i GetSize(void) const override
- {
- return Vector3i(m_Size, 5, m_Size);
- }
-
- virtual cCuboid GetHitBox(void) const override
- {
- return cCuboid(0, 0, 0, m_Size - 1, 4, m_Size - 1);
- }
-
- virtual bool CanRotateCCW(int a_NumCCWRotations) const override
- {
- return true;
- }
- };
-
- cPieces m_Pieces;
-
- virtual cPieces GetPiecesWithConnector(int a_ConnectorType) override
- {
- // Each piece contains each connector
- return m_Pieces;
- }
-
-
- virtual cPieces GetStartingPieces(void) override
- {
- return m_Pieces;
- }
-
-
- virtual void PiecePlaced(const cPiece & a_Piece) override
- {
- UNUSED(a_Piece);
- }
-
-
- virtual void Reset(void) override
- {
- }
-
-
- void InitializePieces(void)
- {
- m_Pieces.push_back(new cTestPiece(5));
- m_Pieces.push_back(new cTestPiece(7));
- m_Pieces.push_back(new cTestPiece(9));
- }
-} g_Test;
-#endif // SELF_TEST
+bool cPiece::SetVerticalLimitFromString(const AString & a_LimitDesc, bool a_LogWarnings)
+{
+ auto limit = CreateVerticalLimitFromString(a_LimitDesc, a_LogWarnings);
+ if (limit == nullptr)
+ {
+ return false;
+ }
+ m_VerticalLimit = limit;
+ return true;
+}
-////////////////////////////////////////////////////////////////////////////////
-// cPiece:
-
Vector3i cPiece::RotatePos(const Vector3i & a_Pos, int a_NumCCWRotations) const
{
Vector3i Size = GetSize();
@@ -361,10 +258,10 @@ void cPieceGenerator::FreePieces(cPlacedPieces & a_PlacedPieces)
-cPlacedPiece * cPieceGenerator::PlaceStartingPiece(int a_BlockX, int a_BlockY, int a_BlockZ, cFreeConnectors & a_OutConnectors)
+cPlacedPiece * cPieceGenerator::PlaceStartingPiece(int a_BlockX, int a_BlockZ, cFreeConnectors & a_OutConnectors)
{
m_PiecePool.Reset();
- int rnd = m_Noise.IntNoise3DInt(a_BlockX, a_BlockY, a_BlockZ) / 7;
+ int rnd = m_Noise.IntNoise2DInt(a_BlockX, a_BlockZ) / 7;
// Choose a random one of the starting pieces:
cPieces StartingPieces = m_PiecePool.GetStartingPieces();
@@ -407,15 +304,17 @@ cPlacedPiece * cPieceGenerator::PlaceStartingPiece(int a_BlockX, int a_BlockY, i
}
}
int Rotation = Rotations[rnd % NumRotations];
-
- cPlacedPiece * res = new cPlacedPiece(nullptr, *StartingPiece, Vector3i(a_BlockX, a_BlockY, a_BlockZ), Rotation);
+ int BlockY = StartingPiece->GetStartingPieceHeight(a_BlockX, a_BlockZ);
+ ASSERT(BlockY >= 0); // The vertical strategy should have been provided and should give valid coords
+
+ cPlacedPiece * res = new cPlacedPiece(nullptr, *StartingPiece, Vector3i(a_BlockX, BlockY, a_BlockZ), Rotation);
// Place the piece's connectors into a_OutConnectors:
const cPiece::cConnectors & Conn = StartingPiece->GetConnectors();
for (cPiece::cConnectors::const_iterator itr = Conn.begin(), end = Conn.end(); itr != end; ++itr)
{
a_OutConnectors.push_back(
- cFreeConnector(res, StartingPiece->RotateMoveConnector(*itr, Rotation, a_BlockX, a_BlockY, a_BlockZ))
+ cFreeConnector(res, StartingPiece->RotateMoveConnector(*itr, Rotation, a_BlockX, BlockY, a_BlockZ))
);
}
@@ -466,6 +365,7 @@ bool cPieceGenerator::TryPlacePieceAtConnector(
// Try fitting each of the piece's connector:
cPiece::cConnectors Connectors = (*itrP)->GetConnectors();
+ auto verticalLimit = (*itrP)->GetVerticalLimit();
for (cPiece::cConnectors::iterator itrC = Connectors.begin(), endC = Connectors.end(); itrC != endC; ++itrC)
{
if (itrC->m_Type != WantedConnectorType)
@@ -479,6 +379,13 @@ bool cPieceGenerator::TryPlacePieceAtConnector(
// Doesn't support this rotation
continue;
}
+
+ // Check if the piece's VerticalLimit allows this connection:
+ if ((verticalLimit != nullptr) && (!verticalLimit->CanBeAtHeight(ConnPos.x, ConnPos.z, ConnPos.y - itrC->m_Pos.y)))
+ {
+ continue;
+ }
+
if (!CheckConnection(a_Connector, ConnPos, **itrP, *itrC, NumCCWRotations, a_OutPieces))
{
// Doesn't fit in this rotation
@@ -627,13 +534,13 @@ cBFSPieceGenerator::cBFSPieceGenerator(cPiecePool & a_PiecePool, int a_Seed) :
-void cBFSPieceGenerator::PlacePieces(int a_BlockX, int a_BlockY, int a_BlockZ, int a_MaxDepth, cPlacedPieces & a_OutPieces)
+void cBFSPieceGenerator::PlacePieces(int a_BlockX, int a_BlockZ, int a_MaxDepth, cPlacedPieces & a_OutPieces)
{
a_OutPieces.clear();
cFreeConnectors ConnectorPool;
// Place the starting piece:
- a_OutPieces.push_back(PlaceStartingPiece(a_BlockX, a_BlockY, a_BlockZ, ConnectorPool));
+ a_OutPieces.push_back(PlaceStartingPiece(a_BlockX, a_BlockZ, ConnectorPool));
/*
// DEBUG:
@@ -681,9 +588,7 @@ void cBFSPieceGenerator::PlacePieces(int a_BlockX, int a_BlockY, int a_BlockZ, i
NumProcessed++;
if (NumProcessed > 1000)
{
-
typedef cPieceGenerator::cFreeConnectors::difference_type difType;
-
ConnectorPool.erase(ConnectorPool.begin(), ConnectorPool.begin() + static_cast<difType>(NumProcessed));
NumProcessed = 0;
}
diff --git a/src/Generating/PieceGenerator.h b/src/Generating/PieceGenerator.h
index 43ffed7a2..13ef05e42 100644
--- a/src/Generating/PieceGenerator.h
+++ b/src/Generating/PieceGenerator.h
@@ -18,6 +18,7 @@ Each uses a slightly different approach to generating:
#pragma once
+#include "ComposableGenerator.h"
#include "../Defines.h"
#include "../Cuboid.h"
#include "../Noise/Noise.h"
@@ -49,9 +50,70 @@ public:
cConnector(int a_X, int a_Y, int a_Z, int a_Type, eBlockFace a_Direction);
cConnector(const Vector3i & a_Pos, int a_Type, eBlockFace a_Direction);
};
-
+
typedef std::vector<cConnector> cConnectors;
-
+
+
+ /** Base class (interface) for strategies for placing the starting pieces vertically.
+ Descendants can override the GetVerticalPlacement() method to provide custom placement decisions. */
+ class cVerticalStrategy
+ {
+ public:
+ // Force a virtual destructor in descendants
+ virtual ~cVerticalStrategy() {}
+
+ /** Returns the Y coord of the piece */
+ virtual int GetVerticalPlacement(int a_BlockX, int a_BlockZ) = 0;
+
+ /** Initializes the strategy's parameters from the string representation.
+ a_Params is the string containing only the parameters (substring after the first pipe character in the strategy description string).
+ If a_LogWarnings is true, logs any problems to the console.
+ Returns true if successful, false if the string parsing failed.
+ Used when loading the strategy from a file. */
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) = 0;
+
+ /** Called when the piece pool is assigned to a generator,
+ so that the strategies may bind to the underlying subgenerators. */
+ virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_TerrainHeightGen, int a_SeaLevel) {}
+ };
+
+ typedef SharedPtr<cVerticalStrategy> cVerticalStrategyPtr;
+
+
+ /** Base class (interface) for the vertical limit of piece placement.
+ Each placed piece can have a limit, represented by this class, that gets queried for validity of the placement. */
+ class cVerticalLimit
+ {
+ public:
+ virtual ~cVerticalLimit() {}
+
+ /** Called to inquire whether the specified piece can be placed at the specified height.
+ a_BlockX, a_BlockZ is the column of the connector that is being queried.
+ a_Height is the requested height of the piece's lowest block. */
+ virtual bool CanBeAtHeight(int a_BlockX, int a_BlockZ, int a_Height) = 0;
+
+ /** Initializes the limit's parameters from the string representation.
+ a_Params is the string containing only the parameters (substring after the first pipe character in the limit description string).
+ Returns true if successful, false if the string parsing failed.
+ If a_LogWarnings is true, any error while parsing the string is output to the server console.
+ Used when loading the limit from a file. */
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) = 0;
+
+ /** Called when the piece pool is assigned to a generator,
+ so that the limits may bind to the underlying subgenerators. */
+ virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_TerrainHeightGen, int a_SeaLevel) {}
+ };
+
+ typedef SharedPtr<cVerticalLimit> cVerticalLimitPtr;
+
+
+ /** The strategy used for vertical placement of this piece when it is used as a starting piece. */
+ cVerticalStrategyPtr m_VerticalStrategy;
+
+ /** The checker that verifies each placement's vertical position. */
+ cVerticalLimitPtr m_VerticalLimit;
+
+
/** Returns all of the available connectors that the piece has.
Each connector has a (relative) position in the piece, and a type associated with it. */
virtual cConnectors GetConnectors(void) const = 0;
@@ -66,7 +128,43 @@ public:
/** Returns true if the piece can be rotated CCW the specific number of 90-degree turns. */
virtual bool CanRotateCCW(int a_NumRotations) const = 0;
+
+ /** Returns the height, based on m_VerticalStrategy, for this piece when used as the starting piece.
+ If there's no strategy assigned to this piece, returns -1. */
+ int GetStartingPieceHeight(int a_BlockX, int a_BlockZ)
+ {
+ if (m_VerticalStrategy != nullptr)
+ {
+ return m_VerticalStrategy->GetVerticalPlacement(a_BlockX, a_BlockZ);
+ }
+ return -1;
+ }
+ void SetVerticalStrategy(cVerticalStrategyPtr a_VerticalStrategy)
+ {
+ m_VerticalStrategy = a_VerticalStrategy;
+ }
+
+ cVerticalStrategyPtr GetVerticalStrategy(void) const
+ {
+ return m_VerticalStrategy;
+ }
+
+ cVerticalLimitPtr GetVerticalLimit(void) const
+ {
+ return m_VerticalLimit;
+ }
+
+ /** Sets the vertical strategy based on the description in the string.
+ If a_LogWarnings is true, logs the parsing problems into the server console.
+ Returns true if successful, false if strategy parsing failed (no strategy assigned). */
+ bool SetVerticalStrategyFromString(const AString & a_StrategyDesc, bool a_LogWarnings);
+
+ /** Sets the vertical limit based on the description string.
+ Returns true if successful, false if limit parsing failed (no limit assigned).
+ If a_LogWarnings is true, any problem is reported into the server console. */
+ bool SetVerticalLimitFromString(const AString & a_LimitDesc, bool a_LogWarnings);
+
/** Returns a copy of the a_Pos after rotating the piece the specified number of CCW rotations. */
Vector3i RotatePos(const Vector3i & a_Pos, int a_NumCCWRotations) const;
@@ -112,22 +210,24 @@ public:
/** Returns the relative weight with which the a_NewPiece is to be selected for placing under a_PlacedPiece through a_ExistingConnector.
a_ExistingConnector is the original connector, before any movement or rotation is applied to it.
This allows the pool to tweak the piece's chances, based on the previous pieces in the tree and the connector used.
- The higher the number returned, the higher the chance the piece will be chosen. 0 means the piece will never be chosen.
- */
+ The higher the number returned, the higher the chance the piece will be chosen. 0 means the piece will never be chosen. */
virtual int GetPieceWeight(
const cPlacedPiece & a_PlacedPiece,
const cPiece::cConnector & a_ExistingConnector,
const cPiece & a_NewPiece
- ) { return 1; }
+ )
+ {
+ return 1;
+ }
/** Returns the relative weight with which the a_NewPiece is to be selected for placing as the first piece.
This allows the pool to tweak the piece's chances.
The higher the number returned, the higher the chance the piece will be chosen. 0 means the piece will not be chosen.
- If all pieces return 0, a random piece is chosen, with all equal chances.
- */
- virtual int GetStartingPieceWeight(
- const cPiece & a_NewPiece
- ) { return 1; }
+ If all pieces return 0, a random piece is chosen, with all equal chances. */
+ virtual int GetStartingPieceWeight(const cPiece & a_NewPiece)
+ {
+ return 1;
+ }
/** Called after a piece is placed, to notify the pool that it has been used.
The pool may adjust the pieces it will return the next time. */
@@ -229,9 +329,9 @@ protected:
int m_Seed;
- /** Selects a starting piece and places it, including the rotations.
+ /** Selects a starting piece and places it, including its height and rotation.
Also puts the piece's connectors in a_OutConnectors. */
- cPlacedPiece * PlaceStartingPiece(int a_BlockX, int a_BlockY, int a_BlockZ, cFreeConnectors & a_OutConnectors);
+ cPlacedPiece * PlaceStartingPiece(int a_BlockX, int a_BlockZ, cFreeConnectors & a_OutConnectors);
/** Tries to place a new piece at the specified (placed) connector. Returns true if successful. */
bool TryPlacePieceAtConnector(
@@ -269,13 +369,14 @@ class cBFSPieceGenerator :
public cPieceGenerator
{
typedef cPieceGenerator super;
-
+
public:
cBFSPieceGenerator(cPiecePool & a_PiecePool, int a_Seed);
-
+
/** Generates a placement for pieces at the specified coords.
- Caller must free each individual cPlacedPiece in a_OutPieces. */
- void PlacePieces(int a_BlockX, int a_BlockY, int a_BlockZ, int a_MaxDepth, cPlacedPieces & a_OutPieces);
+ The Y coord is generated automatically based on the starting piece that is chosen.
+ Caller must free each individual cPlacedPiece in a_OutPieces using cPieceGenerator::FreePieces(). */
+ void PlacePieces(int a_BlockX, int a_BlockZ, int a_MaxDepth, cPlacedPieces & a_OutPieces);
};
@@ -289,8 +390,9 @@ public:
cDFSPieceGenerator(cPiecePool & a_PiecePool, int a_Seed);
/** Generates a placement for pieces at the specified coords.
- Caller must free each individual cPlacedPiece in a_OutPieces. */
- void PlacePieces(int a_BlockX, int a_BlockY, int a_BlockZ, cPlacedPieces & a_OutPieces);
+ The Y coord is generated automatically based on the starting piece that is chosen.
+ Caller must free each individual cPlacedPiece in a_OutPieces using cPieceGenerator::FreePieces(). */
+ void PlacePieces(int a_BlockX, int a_BlockZ, cPlacedPieces & a_OutPieces);
};
diff --git a/src/Generating/PieceStructuresGen.cpp b/src/Generating/PieceStructuresGen.cpp
new file mode 100644
index 000000000..4cbf8b032
--- /dev/null
+++ b/src/Generating/PieceStructuresGen.cpp
@@ -0,0 +1,129 @@
+
+// PieceStructuresGen.cpp
+
+// Declares the cPieceStructuresGen class representing the PieceStructures finisher generator
+
+#include "Globals.h"
+#include "PieceStructuresGen.h"
+#include "PrefabStructure.h"
+#include "IniFile.h"
+#include "../Stopwatch.h"
+
+
+
+
+
+
+cPieceStructuresGen::cPieceStructuresGen(int a_Seed):
+ m_Seed(a_Seed)
+{
+}
+
+
+
+
+
+bool cPieceStructuresGen::Initialize(const AString & a_Prefabs, int a_SeaLevel, cBiomeGenPtr a_BiomeGen, cTerrainHeightGenPtr a_HeightGen)
+{
+ // Load each piecepool:
+ auto structures = StringSplitAndTrim(a_Prefabs, "|");
+ for (const auto & s: structures)
+ {
+ auto fileName = Printf("Prefabs%cPieceStructures%c%s.cubeset", cFile::PathSeparator, cFile::PathSeparator, s.c_str());
+ if (!cFile::IsFile(fileName))
+ {
+ fileName.append(".gz");
+ if (!cFile::IsFile(fileName))
+ {
+ LOGWARNING("Cannot load PieceStructures cubeset file %s", fileName.c_str());
+ continue;
+ }
+ }
+ auto gen = std::make_shared<cGen>(m_Seed, a_BiomeGen, a_HeightGen, a_SeaLevel, s);
+ if (gen->LoadFromFile(fileName))
+ {
+ m_Gens.push_back(gen);
+ }
+ }
+
+ // Report a warning if no generators available:
+ if (m_Gens.empty())
+ {
+ LOGWARNING("The PieceStructures generator was asked to generate \"%s\", but none of them are valid.", a_Prefabs.c_str());
+ return false;
+ }
+ return true;
+}
+
+
+
+
+
+void cPieceStructuresGen::GenFinish(cChunkDesc & a_Chunk)
+{
+ for (auto & gen: m_Gens)
+ {
+ gen->GenFinish(a_Chunk);
+ }
+}
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+// cPieceStructuresGen::cGen:
+
+cPieceStructuresGen::cGen::cGen(int a_Seed, cBiomeGenPtr a_BiomeGen, cTerrainHeightGenPtr a_HeightGen, int a_SeaLevel, const AString & a_Name):
+ Super(a_Seed),
+ m_BiomeGen(a_BiomeGen),
+ m_HeightGen(a_HeightGen),
+ m_SeaLevel(a_SeaLevel),
+ m_Name(a_Name),
+ m_MaxDepth(5)
+{
+}
+
+
+
+
+
+bool cPieceStructuresGen::cGen::LoadFromFile(const AString & a_FileName)
+{
+ // Load the piecepool from the file, log any warnings:
+ if (!m_Pool.LoadFromFile(a_FileName, true))
+ {
+ return false;
+ }
+ if (NoCaseCompare(m_Pool.GetIntendedUse(), "PieceStructures") != 0)
+ {
+ LOGWARNING("PieceStructures generator: File %s is intended for use in \"%s\", rather than piece structures. Loading the file, but the generator may behave unexpectedly.",
+ a_FileName.c_str(), m_Pool.GetIntendedUse().c_str()
+ );
+ }
+ m_Pool.AssignGens(m_Seed, m_BiomeGen, m_HeightGen, m_SeaLevel);
+
+ // Apply generator params from the piecepool (in the metadata) into the generator:
+ auto & generatorParams = m_Pool.GetAllMetadata();
+ SetGeneratorParams(generatorParams);
+ m_MaxDepth = GetStringMapInteger<int>(generatorParams, "MaxDepth", m_MaxDepth);
+
+ return true;
+}
+
+
+
+
+
+cGridStructGen::cStructurePtr cPieceStructuresGen::cGen::CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ)
+{
+ cStopwatch sw(Printf("CreateStructure for %s at <%d, %d>", m_Name.c_str(), a_GridX, a_GridZ));
+ cBFSPieceGenerator pg(m_Pool, m_Seed);
+ cPlacedPieces outPieces;
+ pg.PlacePieces(a_OriginX, a_OriginZ, m_MaxDepth, outPieces);
+ return std::make_shared<cPrefabStructure>(a_GridX, a_GridZ, a_OriginX, a_OriginZ, outPieces, m_HeightGen);
+}
+
+
+
+
diff --git a/src/Generating/PieceStructuresGen.h b/src/Generating/PieceStructuresGen.h
new file mode 100644
index 000000000..bcad86353
--- /dev/null
+++ b/src/Generating/PieceStructuresGen.h
@@ -0,0 +1,91 @@
+
+// PieceStructuresGen.h
+
+// Declares the cPieceStructuresGen class representing the PieceStructures finisher generator
+
+/*
+This generator loads various pieces from "piecepool" files, and each such piecepool is then used in a separate
+cPieceGenerator instance.
+*/
+
+
+
+
+
+#pragma once
+
+#include "ComposableGenerator.h"
+#include "PrefabPiecePool.h"
+#include "GridStructGen.h"
+
+
+
+
+
+class cPieceStructuresGen :
+ public cFinishGen
+{
+ typedef cFinishGen Super;
+
+public:
+ cPieceStructuresGen(int a_Seed);
+
+ /** Initializes the generator based on the specified prefab sets.
+ a_Prefabs contains the list of prefab sets that should be activated, "|"-separated.
+ All problems are logged to the console and the generator skips over them.
+ Returns true if at least one prefab set is valid (the generator should be kept). */
+ bool Initialize(const AString & a_Prefabs, int a_SeaLevel, cBiomeGenPtr a_BiomeGen, cTerrainHeightGenPtr a_HeightGen);
+
+ // cFinishGen override:
+ virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
+
+protected:
+ class cGen:
+ public cGridStructGen
+ {
+ typedef cGridStructGen Super;
+ public:
+ cGen(int a_Seed, cBiomeGenPtr a_BiomeGen, cTerrainHeightGenPtr a_HeightGen, int a_SeaLevel, const AString & a_Name);
+
+ /** Loads the piecepool from a file.
+ Returns true on success, logs warning and returns false on failure. */
+ bool LoadFromFile(const AString & a_FileName);
+
+ // cGridStructGen overrides:
+ virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
+
+ protected:
+
+ /** The underlying biome generator that defines whether the structure is created or not */
+ cBiomeGenPtr m_BiomeGen;
+
+ /** The underlying height generator, used to position the prefabs crossing chunk borders if they are set to FitGround. */
+ cTerrainHeightGenPtr m_HeightGen;
+
+ /** The world's sea level, if available. Used for some cVerticalStrategy descendants. */
+ int m_SeaLevel;
+
+ /** The name that is used for reporting. */
+ AString m_Name;
+
+ /** All available prefabs. */
+ cPrefabPiecePool m_Pool;
+
+ /** Maximum depth of the generated piece tree. */
+ int m_MaxDepth;
+ };
+
+ typedef SharedPtr<cGen> cGenPtr;
+ typedef std::vector<cGenPtr> cGenPtrs;
+
+
+ /** The individual structure generators, one per piecepool. */
+ cGenPtrs m_Gens;
+
+ /** The seed for the random number generator */
+ int m_Seed;
+};
+
+
+
+
diff --git a/src/Generating/PrefabPiecePool.cpp b/src/Generating/PrefabPiecePool.cpp
index 8431500ce..d4235f9dd 100644
--- a/src/Generating/PrefabPiecePool.cpp
+++ b/src/Generating/PrefabPiecePool.cpp
@@ -8,6 +8,8 @@
#include "../Bindings/LuaState.h"
#include "SelfTests.h"
#include "WorldStorage/SchematicFileSerializer.h"
+#include "VerticalStrategy.h"
+#include "../StringCompression.h"
@@ -60,13 +62,14 @@ cPrefabPiecePool::cPrefabPiecePool(void)
cPrefabPiecePool::cPrefabPiecePool(
const cPrefab::sDef * a_PieceDefs, size_t a_NumPieceDefs,
- const cPrefab::sDef * a_StartingPieceDefs, size_t a_NumStartingPieceDefs
+ const cPrefab::sDef * a_StartingPieceDefs, size_t a_NumStartingPieceDefs,
+ int a_DefaultStartingPieceHeight
)
{
AddPieceDefs(a_PieceDefs, a_NumPieceDefs);
if (a_StartingPieceDefs != nullptr)
{
- AddStartingPieceDefs(a_StartingPieceDefs, a_NumStartingPieceDefs);
+ AddStartingPieceDefs(a_StartingPieceDefs, a_NumStartingPieceDefs, a_DefaultStartingPieceHeight);
}
}
@@ -126,12 +129,21 @@ void cPrefabPiecePool::AddPieceDefs(const cPrefab::sDef * a_PieceDefs, size_t a_
-void cPrefabPiecePool::AddStartingPieceDefs(const cPrefab::sDef * a_StartingPieceDefs, size_t a_NumStartingPieceDefs)
+void cPrefabPiecePool::AddStartingPieceDefs(
+ const cPrefab::sDef * a_StartingPieceDefs,
+ size_t a_NumStartingPieceDefs,
+ int a_DefaultPieceHeight
+)
{
ASSERT(a_StartingPieceDefs != nullptr);
+ auto verticalStrategy = CreateVerticalStrategyFromString(Printf("Fixed|%d", a_DefaultPieceHeight), false);
for (size_t i = 0; i < a_NumStartingPieceDefs; i++)
{
cPrefab * Prefab = new cPrefab(a_StartingPieceDefs[i]);
+ if (a_DefaultPieceHeight >= 0)
+ {
+ Prefab->SetVerticalStrategy(verticalStrategy);
+ }
m_StartingPieces.push_back(Prefab);
}
}
@@ -142,21 +154,43 @@ void cPrefabPiecePool::AddStartingPieceDefs(const cPrefab::sDef * a_StartingPiec
bool cPrefabPiecePool::LoadFromFile(const AString & a_FileName, bool a_LogWarnings)
{
- // Read the first 4 KiB of the file in order to auto-detect format:
- cFile f;
- if (!f.Open(a_FileName, cFile::fmRead))
+ // Read the file into a string buffer, load from string:
+ auto contents = cFile::ReadWholeFile(a_FileName);
+ if (contents.empty())
{
- CONDWARNING(a_LogWarnings, "Cannot open file %s for reading", a_FileName.c_str());
+ CONDWARNING(a_LogWarnings, "Cannot read data from file %s", a_FileName.c_str());
return false;
}
- char buf[4096];
- auto len = f.Read(buf, sizeof(buf));
- f.Close();
- AString Header(buf, static_cast<size_t>(len));
+ return LoadFromString(contents, a_FileName, a_LogWarnings);
+}
+
+
+
+
+
+bool cPrefabPiecePool::LoadFromString(const AString & a_Contents, const AString & a_FileName, bool a_LogWarnings)
+{
+ // If the contents start with GZip signature, ungzip and retry:
+ if (a_Contents.substr(0, 3) == "\x1f\x8b\x08")
+ {
+ AString Uncompressed;
+ auto res = UncompressStringGZIP(a_Contents.data(), a_Contents.size(), Uncompressed);
+ if (res == Z_OK)
+ {
+ return LoadFromString(Uncompressed, a_FileName, a_LogWarnings);
+ }
+ else
+ {
+ CONDWARNING(a_LogWarnings, "Failed to decompress Gzip data in file %s: %d", a_FileName.c_str(), res);
+ return false;
+ }
+ }
+ // Read the first 4 KiB of the file in order to auto-detect format:
+ auto Header = a_Contents.substr(0, 4096);
if (Header.find("CubesetFormatVersion =") != AString::npos)
{
- return LoadFromCubesetFile(a_FileName, a_LogWarnings);
+ return LoadFromCubeset(a_Contents, a_FileName, a_LogWarnings);
}
CONDWARNING(a_LogWarnings, "Cannot load prefabs from file %s, unknown file format", a_FileName.c_str());
return false;
@@ -166,12 +200,12 @@ bool cPrefabPiecePool::LoadFromFile(const AString & a_FileName, bool a_LogWarnin
-bool cPrefabPiecePool::LoadFromCubesetFile(const AString & a_FileName, bool a_LogWarnings)
+bool cPrefabPiecePool::LoadFromCubeset(const AString & a_Contents, const AString & a_FileName, bool a_LogWarnings)
{
// Load the file in the Lua interpreter:
cLuaState Lua(Printf("LoadablePiecePool %s", a_FileName.c_str()));
Lua.Create();
- if (!Lua.LoadFile(a_FileName, a_LogWarnings))
+ if (!Lua.LoadString(a_Contents, a_FileName, a_LogWarnings))
{
// Reason for failure has already been logged in LoadFile()
return false;
@@ -188,7 +222,7 @@ bool cPrefabPiecePool::LoadFromCubesetFile(const AString & a_FileName, bool a_Lo
// Load the data, using the correct version loader:
if (Version == 1)
{
- return LoadFromCubesetFileVer1(a_FileName, Lua, a_LogWarnings);
+ return LoadFromCubesetVer1(a_FileName, Lua, a_LogWarnings);
}
// Unknown version:
@@ -213,15 +247,14 @@ void cPrefabPiecePool::AddToPerConnectorMap(cPrefab * a_Prefab)
-bool cPrefabPiecePool::LoadFromCubesetFileVer1(const AString & a_FileName, cLuaState & a_LuaState, bool a_LogWarnings)
+bool cPrefabPiecePool::LoadFromCubesetVer1(const AString & a_FileName, cLuaState & a_LuaState, bool a_LogWarnings)
{
- // Load the metadata:
- ApplyPoolMetadataCubesetVer1(a_FileName, a_LuaState, a_LogWarnings);
+ // Load the metadata and apply the known ones:
+ ReadPoolMetadataCubesetVer1(a_FileName, a_LuaState, a_LogWarnings);
+ ApplyBaseMetadataCubesetVer1(a_FileName, a_LogWarnings);
// Push the Cubeset.Pieces global value on the stack:
- lua_getglobal(a_LuaState, "_G");
- cLuaState::cStackValue stk(a_LuaState);
- auto pieces = a_LuaState.WalkToValue("Cubeset.Pieces");
+ auto pieces = a_LuaState.WalkToNamedGlobal("Cubeset.Pieces");
if (!pieces.IsValid() || !lua_istable(a_LuaState, -1))
{
CONDWARNING(a_LogWarnings, "The cubeset file %s doesn't contain any pieces", a_FileName.c_str());
@@ -300,17 +333,29 @@ bool cPrefabPiecePool::LoadCubesetPieceVer1(const AString & a_FileName, cLuaStat
a_LuaState.GetNamedValue("Metadata.AllowedRotations", AllowedRotations);
prefab->SetAllowedRotations(AllowedRotations);
- // Apply the relevant metadata:
- if (!ApplyPieceMetadataCubesetVer1(a_FileName, a_LuaState, PieceName, prefab.get(), a_LogWarnings))
+ // Read the relevant metadata for the piece:
+ if (!ReadPieceMetadataCubesetVer1(a_FileName, a_LuaState, PieceName, prefab.get(), a_LogWarnings))
{
return false;
}
- // Add the prefab into the list of pieces:
+ // If the piece is a starting piece, check that it has a vertical strategy:
int IsStartingPiece = 0;
a_LuaState.GetNamedValue("Metadata.IsStarting", IsStartingPiece);
if (IsStartingPiece != 0)
{
+ if (prefab->GetVerticalStrategy() == nullptr)
+ {
+ CONDWARNING(a_LogWarnings, "Starting prefab %s in file %s doesn't have its VerticalStrategy set. Setting to Fixed|150.",
+ PieceName.c_str(), a_FileName.c_str()
+ );
+ VERIFY(prefab->SetVerticalStrategyFromString("Fixed|150", false));
+ }
+ }
+
+ // Add the prefab into the list of pieces:
+ if (IsStartingPiece != 0)
+ {
m_StartingPieces.push_back(prefab.release());
}
else
@@ -319,6 +364,7 @@ bool cPrefabPiecePool::LoadCubesetPieceVer1(const AString & a_FileName, cLuaStat
m_AllPieces.push_back(p);
AddToPerConnectorMap(p);
}
+
return true;
}
@@ -465,7 +511,7 @@ bool cPrefabPiecePool::ReadConnectorsCubesetVer1(
-bool cPrefabPiecePool::ApplyPieceMetadataCubesetVer1(
+bool cPrefabPiecePool::ReadPieceMetadataCubesetVer1(
const AString & a_FileName,
cLuaState & a_LuaState,
const AString & a_PieceName,
@@ -482,13 +528,15 @@ bool cPrefabPiecePool::ApplyPieceMetadataCubesetVer1(
// Get the values:
int AddWeightIfSame = 0, DefaultWeight = 100, MoveToGround = 0, ShouldExpandFloor = 0;
- AString DepthWeight, MergeStrategy;
+ AString DepthWeight, MergeStrategy, VerticalLimit, VerticalStrategy;
a_LuaState.GetNamedValue("AddWeightIfSame", AddWeightIfSame);
a_LuaState.GetNamedValue("DefaultWeight", DefaultWeight);
a_LuaState.GetNamedValue("DepthWeight", DepthWeight);
a_LuaState.GetNamedValue("MergeStrategy", MergeStrategy);
a_LuaState.GetNamedValue("MoveToGround", MoveToGround);
a_LuaState.GetNamedValue("ShouldExpandFloor", ShouldExpandFloor);
+ a_LuaState.GetNamedValue("VerticalLimit", VerticalLimit);
+ a_LuaState.GetNamedValue("VerticalStrategy", VerticalStrategy);
// Apply the values:
a_Prefab->SetAddWeightIfSame(AddWeightIfSame);
@@ -509,6 +557,16 @@ bool cPrefabPiecePool::ApplyPieceMetadataCubesetVer1(
}
a_Prefab->SetMoveToGround(MoveToGround != 0);
a_Prefab->SetExtendFloor(ShouldExpandFloor != 0);
+ if (!VerticalLimit.empty())
+ {
+ if (!a_Prefab->SetVerticalLimitFromString(VerticalLimit, a_LogWarnings))
+ {
+ CONDWARNING(a_LogWarnings, "Unknown VerticalLimit (\"%s\") specified for piece %s in file %s. Using no limit instead.",
+ VerticalLimit.c_str(), a_PieceName.c_str(), a_FileName.c_str()
+ );
+ }
+ }
+ a_Prefab->SetVerticalStrategyFromString(VerticalStrategy, a_LogWarnings);
return true;
}
@@ -517,21 +575,11 @@ bool cPrefabPiecePool::ApplyPieceMetadataCubesetVer1(
-bool cPrefabPiecePool::ApplyPoolMetadataCubesetVer1(
+void cPrefabPiecePool::ApplyBaseMetadataCubesetVer1(
const AString & a_FileName,
- cLuaState & a_LuaState,
bool a_LogWarnings
)
{
- // Push the Cubeset.Metadata table on top of the Lua stack:
- lua_getglobal(a_LuaState, "_G");
- auto md = a_LuaState.WalkToValue("Cubeset.Metadata");
- if (!md.IsValid())
- {
- CONDWARNING(a_LogWarnings, "Cannot load cubeset from file %s: Cubeset.Metadata table is missing", a_FileName.c_str());
- return false;
- }
-
// Set the metadata values to defaults:
m_MinDensity = 100;
m_MaxDensity = 100;
@@ -541,15 +589,29 @@ bool cPrefabPiecePool::ApplyPoolMetadataCubesetVer1(
m_VillageWaterRoadBlockMeta = 0;
// Read the metadata values:
- a_LuaState.GetNamedValue("IntendedUse", m_IntendedUse);
- a_LuaState.GetNamedValue("MaxDensity", m_MaxDensity);
- a_LuaState.GetNamedValue("MinDensity", m_MinDensity);
- a_LuaState.GetNamedValue("VillageRoadBlockType", m_VillageRoadBlockType);
- a_LuaState.GetNamedValue("VillageRoadBlockMeta", m_VillageRoadBlockMeta);
- a_LuaState.GetNamedValue("VillageWaterRoadBlockType", m_VillageWaterRoadBlockType);
- a_LuaState.GetNamedValue("VillageWaterRoadBlockMeta", m_VillageWaterRoadBlockMeta);
- AString allowedBiomes;
- if (a_LuaState.GetNamedValue("AllowedBiomes", allowedBiomes))
+ m_IntendedUse = GetMetadata("IntendedUse");
+ GetStringMapInteger(m_Metadata, "MaxDensity", m_MaxDensity);
+ GetStringMapInteger(m_Metadata, "MinDensity", m_MinDensity);
+ GetStringMapInteger(m_Metadata, "VillageRoadBlockType", m_VillageRoadBlockType);
+ GetStringMapInteger(m_Metadata, "VillageRoadBlockMeta", m_VillageRoadBlockMeta);
+ GetStringMapInteger(m_Metadata, "VillageWaterRoadBlockType", m_VillageWaterRoadBlockType);
+ GetStringMapInteger(m_Metadata, "VillageWaterRoadBlockMeta", m_VillageWaterRoadBlockMeta);
+
+ // Read the allowed biomes:
+ AString allowedBiomes = GetMetadata("AllowedBiomes");
+ if (allowedBiomes.empty())
+ {
+ // All biomes are allowed:
+ for (int b = biFirstBiome; b <= biMaxBiome; b++)
+ {
+ m_AllowedBiomes.insert(static_cast<EMCSBiome>(b));
+ }
+ for (int b = biFirstVariantBiome; b <= biMaxVariantBiome; b++)
+ {
+ m_AllowedBiomes.insert(static_cast<EMCSBiome>(b));
+ }
+ }
+ else
{
auto biomes = StringSplitAndTrim(allowedBiomes, ",");
for (const auto & biome: biomes)
@@ -565,19 +627,77 @@ bool cPrefabPiecePool::ApplyPoolMetadataCubesetVer1(
m_AllowedBiomes.insert(b);
}
}
- else
+}
+
+
+
+
+
+bool cPrefabPiecePool::ReadPoolMetadataCubesetVer1(
+ const AString & a_FileName,
+ cLuaState & a_LuaState,
+ bool a_LogWarnings
+)
+{
+ // Push the Cubeset.Metadata table on top of the Lua stack:
+ auto gp = a_LuaState.WalkToNamedGlobal("Cubeset.Metadata");
+ if (!gp.IsValid())
{
- // All biomes are allowed:
- for (int b = biFirstBiome; b <= biMaxBiome; b++)
+ return true;
+ }
+
+ // Iterate over elements in the table, put them into the m_GeneratorParams map:
+ lua_pushnil(a_LuaState); // Table is at index -2, starting key (nil) at index -1
+ while (lua_next(a_LuaState, -2) != 0)
+ {
+ // Table at index -3, key at index -2, value at index -1
+ AString key, val;
+ a_LuaState.GetStackValues(-2, key, val);
+ m_Metadata[key] = val;
+ lua_pop(a_LuaState, 1); // Table at index -2, key at index -1
+ }
+ return true;
+}
+
+
+
+
+
+AString cPrefabPiecePool::GetMetadata(const AString & a_ParamName) const
+{
+ auto itr = m_Metadata.find(a_ParamName);
+ if (itr == m_Metadata.end())
+ {
+ return AString();
+ }
+ return itr->second;
+}
+
+
+
+
+
+void cPrefabPiecePool::AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_HeightGen, int a_SeaLevel)
+{
+ // Assign the generator linkage to all starting pieces' VerticalStrategies:
+ for (auto & piece: m_StartingPieces)
+ {
+ auto verticalStrategy = piece->GetVerticalStrategy();
+ if (verticalStrategy != nullptr)
{
- m_AllowedBiomes.insert(static_cast<EMCSBiome>(b));
+ verticalStrategy->AssignGens(a_Seed, a_BiomeGen, a_HeightGen, a_SeaLevel);
}
- for (int b = biFirstVariantBiome; b <= biMaxVariantBiome; b++)
+ } // for piece - m_StartingPieces[]
+
+ // Assign the generator linkage to all pieces' VerticalLimits:
+ for (auto & piece: m_AllPieces)
+ {
+ auto verticalLimit = piece->GetVerticalLimit();
+ if (verticalLimit != nullptr)
{
- m_AllowedBiomes.insert(static_cast<EMCSBiome>(b));
+ verticalLimit->AssignGens(a_Seed, a_BiomeGen, a_HeightGen, a_SeaLevel);
}
- }
- return true;
+ } // for piece - m_AllPieces[]
}
@@ -611,7 +731,7 @@ cPieces cPrefabPiecePool::GetStartingPieces(void)
int cPrefabPiecePool::GetPieceWeight(const cPlacedPiece & a_PlacedPiece, const cPiece::cConnector & a_ExistingConnector, const cPiece & a_NewPiece)
{
- return (static_cast<const cPrefab &>(a_NewPiece)).GetPieceWeight(a_PlacedPiece, a_ExistingConnector);
+ return (reinterpret_cast<const cPrefab &>(a_NewPiece)).GetPieceWeight(a_PlacedPiece, a_ExistingConnector);
}
@@ -620,7 +740,7 @@ int cPrefabPiecePool::GetPieceWeight(const cPlacedPiece & a_PlacedPiece, const c
int cPrefabPiecePool::GetStartingPieceWeight(const cPiece & a_NewPiece)
{
- return (static_cast<const cPrefab &>(a_NewPiece)).GetDefaultWeight();
+ return (reinterpret_cast<const cPrefab &>(a_NewPiece)).GetDefaultWeight();
}
diff --git a/src/Generating/PrefabPiecePool.h b/src/Generating/PrefabPiecePool.h
index f7bf41994..1c51c4963 100644
--- a/src/Generating/PrefabPiecePool.h
+++ b/src/Generating/PrefabPiecePool.h
@@ -36,10 +36,13 @@ public:
pieces for the pool, and they do not participate in the generation any further.
If only a_PieceDefs is given, any such piece can be chosen as a starting piece, and all the pieces are used
for generating.
- More pieces can be added to the instance afterwards by calling AddPieceDefs() and AddStartingPieceDefs(). */
+ More pieces can be added to the instance afterwards by calling AddPieceDefs() and AddStartingPieceDefs().
+ If a_DefaultStartingPieceHeight is non-negative, it is applied to each starting piece as its fixed
+ height (for the GetStartingPieceHeight() call). */
cPrefabPiecePool(
const cPrefab::sDef * a_PieceDefs, size_t a_NumPieceDefs,
- const cPrefab::sDef * a_StartingPieceDefs, size_t a_NumStartingPieceDefs
+ const cPrefab::sDef * a_StartingPieceDefs, size_t a_NumStartingPieceDefs,
+ int a_DefaultStartingPieceHeight = -1
);
/** Creates a pool and loads the contents of the specified file into it.
@@ -59,16 +62,30 @@ public:
/** Adds pieces from the specified definitions into m_StartingPieces. Doesn't add them to
the m_PiecesByConnector map.
- May be called multiple times with different PieceDefs, will add all such pieces. */
- void AddStartingPieceDefs(const cPrefab::sDef * a_StartingPieceDefs, size_t a_NumStartingPieceDefs);
+ May be called multiple times with different PieceDefs, will add all such pieces.
+ If a_DefaultPieceHeight is non-negative, it is applied to each piece as its fixed
+ height (for the GetStartingPieceHeight() call). */
+ void AddStartingPieceDefs(
+ const cPrefab::sDef * a_StartingPieceDefs,
+ size_t a_NumStartingPieceDefs,
+ int a_DefaultPieceHeight = -1
+ );
/** Loads the pieces from the specified file. Returns true if successful, false on error.
If a_LogWarnings is true, logs a warning to console when loading fails. */
bool LoadFromFile(const AString & a_FileName, bool a_LogWarnings);
- /** Loads the pieces from the specified Cubeset file. Returns true if successful, false on error.
+ /** Loads the pieces from the specified string.
+ Returns true if successful, false on error.
+ a_FileName is used only logging.
+ If a_LogWarnings is true, logs a warning to console when loading fails. */
+ bool LoadFromString(const AString & a_Contents, const AString & a_FileName, bool a_LogWarnings);
+
+ /** Loads the pieces from the specified string containing Cubeset file data.
+ Returns true if successful, false on error.
+ a_FileName is used only logging.
If a_LogWarnings is true, logs a warning to console when loading fails. */
- bool LoadFromCubesetFile(const AString & a_FileName, bool a_LogWarnings);
+ bool LoadFromCubeset(const AString & a_Contents, const AString & a_FileName, bool a_LogWarnings);
/** Returns the number of regular (non-starting) pieces. */
size_t GetAllPiecesCount(void) const { return m_AllPieces.size(); }
@@ -88,6 +105,16 @@ public:
/** Returns true if a_Biome is among the accepted biomes in the m_AcceptedBiomes metadata member. */
bool IsBiomeAllowed(EMCSBiome a_Biome) const { return (m_AllowedBiomes.find(a_Biome) != m_AllowedBiomes.end()); }
+ /** Returns the specified value from the metadata map.
+ Returns an empty string if no such value had been read. */
+ AString GetMetadata(const AString & a_ParamName) const;
+
+ const AStringMap & GetAllMetadata(void) const { return m_Metadata; }
+
+ /** Called when the piece pool is assigned to a generator,
+ so that the individual starting pieces' vertical strategies may bind to the underlying subgenerators. */
+ void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_HeightGen, int a_SeaLevel);
+
// cPiecePool overrides:
virtual cPieces GetPiecesWithConnector(int a_ConnectorType) override;
virtual cPieces GetStartingPieces(void) override;
@@ -100,7 +127,8 @@ protected:
/** The type used to map a connector type to the list of pieces with that connector */
typedef std::map<int, cPieces> cPiecesMap;
-
+
+
/** All the pieces that are allowed for building.
This is the list that's used for memory allocation and deallocation for the pieces. */
cPieces m_AllPieces;
@@ -137,14 +165,18 @@ protected:
/** A set of allowed biomes for the pool. The pool will only be used within the specified biomes. */
std::unordered_set<EMCSBiome, BiomeHasher> m_AllowedBiomes;
+ /** A dictionary of pool-wide metadata, as read from the cubeset file. */
+ AStringMap m_Metadata;
+
/** Adds the prefab to the m_PiecesByConnector map for all its connectors. */
void AddToPerConnectorMap(cPrefab * a_Prefab);
/** Loads the pieces from the cubeset file parsed into the specified Lua state.
Returns true on success, false on error.
+ a_FileName is used only logging.
If a_LogWarnings is true, logs a warning to console when loading fails. */
- bool LoadFromCubesetFileVer1(const AString & a_FileName, cLuaState & a_LuaState, bool a_LogWarnings);
+ bool LoadFromCubesetVer1(const AString & a_FileName, cLuaState & a_LuaState, bool a_LogWarnings);
/** Loads a single piece from the cubeset file parsed into the specified Lua state.
The piece's definition table is expected to be at the top of the Lua stack.
@@ -187,7 +219,7 @@ protected:
The metadata is applied into the a_Prefab object.
a_PieceName is the identification of the piece, used for logging only.
If a_LogWarnings is true, logs a warning to console when loading fails. */
- bool ApplyPieceMetadataCubesetVer1(
+ bool ReadPieceMetadataCubesetVer1(
const AString & a_FileName,
cLuaState & a_LuaState,
const AString & a_PieceName,
@@ -195,15 +227,21 @@ protected:
bool a_LogWarnings
);
- /** Reads the metadata for the entire pool from the cubeset file parsed into the specified Lua state.
+ /** Reads the metadata for the entire pool from the cubeset file, stores it in the m_Metadata map.
Returns true on success, false on failure.
- The metadata is applied into "this".
If a_LogWarnings is true, logs a warning to console when loading fails. */
- bool ApplyPoolMetadataCubesetVer1(
+ bool ReadPoolMetadataCubesetVer1(
const AString & a_FileName,
cLuaState & a_LuaState,
bool a_LogWarnings
);
+
+ /** Applies the base known metadata from the m_Metadata map into this pool.
+ If a_LogWarnings is true, logs a warning to console when loading fails. */
+ void ApplyBaseMetadataCubesetVer1(
+ const AString & a_FileName,
+ bool a_LogWarnings
+ );
} ;
diff --git a/src/Generating/PrefabStructure.cpp b/src/Generating/PrefabStructure.cpp
new file mode 100644
index 000000000..3ebbe8143
--- /dev/null
+++ b/src/Generating/PrefabStructure.cpp
@@ -0,0 +1,74 @@
+
+// PrefabStructure.cpp
+
+// Implements the cPrefabStructure class representing a cGridStructGen::cStructure descendant based on placed cPrefab instances
+
+#include "Globals.h"
+#include "PrefabStructure.h"
+#include "Prefab.h"
+
+
+
+
+
+cPrefabStructure::cPrefabStructure(
+ int a_GridX, int a_GridZ,
+ int a_OriginX, int a_OriginZ,
+ cPlacedPieces & a_Pieces,
+ cTerrainHeightGenPtr a_HeightGen
+):
+ Super(a_GridX, a_GridZ, a_OriginX, a_OriginZ),
+ m_Pieces(a_Pieces),
+ m_HeightGen(a_HeightGen)
+{
+}
+
+
+
+
+
+cPrefabStructure::~cPrefabStructure()
+{
+ cPieceGenerator::FreePieces(m_Pieces);
+}
+
+
+
+
+
+void cPrefabStructure::DrawIntoChunk(cChunkDesc & a_Chunk)
+{
+ // Iterate over all items
+ // Each intersecting prefab is placed on ground, if requested, then drawn
+ for (cPlacedPieces::iterator itr = m_Pieces.begin(), end = m_Pieces.end(); itr != end; ++itr)
+ {
+ const cPrefab & Prefab = static_cast<const cPrefab &>((*itr)->GetPiece());
+ if (Prefab.ShouldMoveToGround() && !(*itr)->HasBeenMovedToGround())
+ {
+ PlacePieceOnGround(**itr);
+ }
+ Prefab.Draw(a_Chunk, *itr);
+ } // for itr - m_PlacedPieces[]
+}
+
+
+
+
+
+void cPrefabStructure::PlacePieceOnGround(cPlacedPiece & a_Piece)
+{
+ cPiece::cConnector FirstConnector = a_Piece.GetRotatedConnector(0);
+ int ChunkX, ChunkZ;
+ int BlockX = FirstConnector.m_Pos.x;
+ int BlockZ = FirstConnector.m_Pos.z;
+ int BlockY;
+ cChunkDef::AbsoluteToRelative(BlockX, BlockY, BlockZ, ChunkX, ChunkZ);
+ cChunkDef::HeightMap HeightMap;
+ m_HeightGen->GenHeightMap(ChunkX, ChunkZ, HeightMap);
+ int TerrainHeight = cChunkDef::GetHeight(HeightMap, BlockX, BlockZ);
+ a_Piece.MoveToGroundBy(TerrainHeight - FirstConnector.m_Pos.y + 1);
+}
+
+
+
+
diff --git a/src/Generating/PrefabStructure.h b/src/Generating/PrefabStructure.h
new file mode 100644
index 000000000..29a506494
--- /dev/null
+++ b/src/Generating/PrefabStructure.h
@@ -0,0 +1,52 @@
+
+// PrefabStructure.h
+
+// Declares the cPrefabStructure class representing a cGridStructGen::cStructure descendant based on placed cPrefab instances
+
+
+
+
+
+#pragma once
+
+#include "GridStructGen.h"
+#include "PieceGenerator.h"
+
+
+
+
+
+class cPrefabStructure:
+ public cGridStructGen::cStructure
+{
+ typedef cGridStructGen::cStructure Super;
+
+public:
+ cPrefabStructure(
+ int a_GridX, int a_GridZ,
+ int a_OriginX, int a_OriginZ,
+ cPlacedPieces & a_Pieces,
+ cTerrainHeightGenPtr a_HeightGen
+ );
+
+ virtual ~cPrefabStructure();
+
+protected:
+ /** The pieces placed by the generator. */
+ cPlacedPieces m_Pieces;
+
+ /** The height generator used when adjusting pieces onto the ground. */
+ cTerrainHeightGenPtr m_HeightGen;
+
+
+ // cGridStructGen::cStructure overrides:
+ virtual void DrawIntoChunk(cChunkDesc & a_Chunk) override;
+
+ /** Adjusts the Y coord of the given piece so that the piece is on the ground.
+ Ground level is assumed to be represented by the first connector in the piece. */
+ void PlacePieceOnGround(cPlacedPiece & a_Piece);
+};
+
+
+
+
diff --git a/src/Generating/Prefabs/CMakeLists.txt b/src/Generating/Prefabs/CMakeLists.txt
deleted file mode 100644
index 1b130636f..000000000
--- a/src/Generating/Prefabs/CMakeLists.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-
-cmake_minimum_required (VERSION 2.6)
-project (MCServer)
-
-include_directories ("${PROJECT_SOURCE_DIR}/../../")
-
-SET (SRCS
- NetherFortPrefabs.cpp
- RainbowRoadPrefabs.cpp
- TestRailsPrefabs.cpp
- UnderwaterBasePrefabs.cpp
-)
-
-SET (HDRS
- NetherFortPrefabs.h
- RainbowRoadPrefabs.h
- TestRailsPrefabs.h
- UnderwaterBasePrefabs.h
-)
-
-if(NOT MSVC)
- add_library(Generating_Prefabs ${SRCS} ${HDRS})
-
- target_link_libraries(Generating_Prefabs OSSupport Blocks)
-endif()
diff --git a/src/Generating/Prefabs/NetherFortPrefabs.cpp b/src/Generating/Prefabs/NetherFortPrefabs.cpp
deleted file mode 100644
index a3e3da158..000000000
--- a/src/Generating/Prefabs/NetherFortPrefabs.cpp
+++ /dev/null
@@ -1,6210 +0,0 @@
-
-// NetherFortPrefabs.cpp
-
-// Defines the prefabs in the group NetherFort
-
-// NOTE: This file has been generated automatically by GalExport!
-// Any manual changes will be overwritten by the next automatic export!
-
-#include "Globals.h"
-#include "NetherFortPrefabs.h"
-
-
-
-
-
-const cPrefab::sDef g_NetherFortPrefabs[] =
-{
- ////////////////////////////////////////////////////////////////////////////////
- // BalconyCorridor:
- // The data has been exported from the gallery Nether, area index 37, ID 288, created by Aloe_vera
- {
- // Size:
- 13, 7, 9, // SizeX = 13, SizeY = 7, SizeZ = 9
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 12, 6, 8, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 4\n" /* netherbrickstairs */
- "c:114: 7\n" /* netherbrickstairs */
- "d:114: 5\n" /* netherbrickstairs */
- "e: 44: 6\n" /* step */
- "f:113: 0\n" /* netherbrickfence */
- "g:114: 2\n" /* netherbrickstairs */
- "h:114: 3\n" /* netherbrickstairs */
- "i:114: 0\n" /* netherbrickstairs */
- "j:114: 1\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "mmmmaaaaammmm"
- /* 6 */ "mmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaa.aaa.aaaa"
- /* 5 */ "mmbcaaaaacdmm"
- /* 6 */ "mmmbcccccdmmm"
- /* 7 */ "mmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmm"
-
- // Level 2
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "............."
- /* 2 */ "............."
- /* 3 */ "............."
- /* 4 */ "aaaa.eee.aaaa"
- /* 5 */ "mmaaaaaaaaamm"
- /* 6 */ "mmaaaaaaaaamm"
- /* 7 */ "mmaaaaaaaaamm"
- /* 8 */ "mmaaaaaaaaamm"
-
- // Level 3
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "afafafafafafa"
- /* 1 */ "............."
- /* 2 */ "............."
- /* 3 */ "............."
- /* 4 */ "afaa.....aafa"
- /* 5 */ "mmaaa...aaamm"
- /* 6 */ "mmf.......fmm"
- /* 7 */ "mmf.......fmm"
- /* 8 */ "mmfffffffffmm"
-
- // Level 4
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "afafafafafafa"
- /* 1 */ "............."
- /* 2 */ "............."
- /* 3 */ "............."
- /* 4 */ "afaa.....aafa"
- /* 5 */ "mmaaa...aaamm"
- /* 6 */ "mm.........mm"
- /* 7 */ "mm.........mm"
- /* 8 */ "mm.........mm"
-
- // Level 5
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "afafafafafafa"
- /* 1 */ "............."
- /* 2 */ "............."
- /* 3 */ "............."
- /* 4 */ "afaa.....aafa"
- /* 5 */ "mmaaa...aaamm"
- /* 6 */ "mm.........mm"
- /* 7 */ "mm.........mm"
- /* 8 */ "mm.........mm"
-
- // Level 6
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "ggggggggggggg"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "hhiaaaaaaahhh"
- /* 5 */ "mmihhhhhhhjmm"
- /* 6 */ "mmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmm",
-
- // Connectors:
- "1: 12, 2, 2: 5\n" /* Type 1, direction X+ */
- "1: 0, 2, 2: 4\n" /* Type 1, direction X- */
- "-1: 12, 2, 2: 5\n" /* Type -1, direction X+ */
- "-1: 0, 2, 2: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 20,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BalconyCorridor
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BalconyTee2:
- // The data has been exported from the gallery Nether, area index 38, ID 289, created by Aloe_vera
- {
- // Size:
- 13, 7, 11, // SizeX = 13, SizeY = 7, SizeZ = 11
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 12, 6, 10, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 4\n" /* netherbrickstairs */
- "c:114: 7\n" /* netherbrickstairs */
- "d:114: 5\n" /* netherbrickstairs */
- "e: 44: 6\n" /* step */
- "f:113: 0\n" /* netherbrickfence */
- "g:114: 0\n" /* netherbrickstairs */
- "h:114: 1\n" /* netherbrickstairs */
- "i:114: 2\n" /* netherbrickstairs */
- "j:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmaaaaammmm"
- /* 1 */ "mmmmaaaaammmm"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaa"
- /* 7 */ "mmmmaaaaammmm"
- /* 8 */ "mmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmaaaaammmm"
- /* 1 */ "mmmmaaaaammmm"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "aaaa.aaa.aaaa"
- /* 7 */ "mmbcaaaaacdmm"
- /* 8 */ "mmmbcccccdmmm"
- /* 9 */ "mmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmm"
-
- // Level 2
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmma...ammmm"
- /* 2 */ "aaaaa...aaaaa"
- /* 3 */ "............."
- /* 4 */ "............."
- /* 5 */ "............."
- /* 6 */ "aaaa.eee.aaaa"
- /* 7 */ "mmaaaaaaaaamm"
- /* 8 */ "mmaaaaaaaaamm"
- /* 9 */ "mmaaaaaaaaamm"
- /* 10 */ "mmaaaaaaaaamm"
-
- // Level 3
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmmf...fmmmm"
- /* 2 */ "afafa...afafa"
- /* 3 */ "............."
- /* 4 */ "............."
- /* 5 */ "............."
- /* 6 */ "afaa.....aafa"
- /* 7 */ "mmaaa...aaamm"
- /* 8 */ "mmf.......fmm"
- /* 9 */ "mmf.......fmm"
- /* 10 */ "mmfffffffffmm"
-
- // Level 4
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmmf...fmmmm"
- /* 2 */ "afafa...afafa"
- /* 3 */ "............."
- /* 4 */ "............."
- /* 5 */ "............."
- /* 6 */ "afaa.....aafa"
- /* 7 */ "mmaaa...aaamm"
- /* 8 */ "mm.........mm"
- /* 9 */ "mm.........mm"
- /* 10 */ "mm.........mm"
-
- // Level 5
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmmf...fmmmm"
- /* 2 */ "afafa...afafa"
- /* 3 */ "............."
- /* 4 */ "............."
- /* 5 */ "............."
- /* 6 */ "afaa.....aafa"
- /* 7 */ "mmaaa...aaamm"
- /* 8 */ "mm.........mm"
- /* 9 */ "mm.........mm"
- /* 10 */ "mm.........mm"
-
- // Level 6
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmgaaahmmmm"
- /* 1 */ "mmmmgaaahmmmm"
- /* 2 */ "iiiiiaaaiiiii"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "jjgaaaaaaajjj"
- /* 7 */ "mmgjjjjjjjhmm"
- /* 8 */ "mmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmm",
-
- // Connectors:
- "1: 12, 2, 4: 5\n" /* Type 1, direction X+ */
- "1: 6, 2, 0: 2\n" /* Type 1, direction Z- */
- "1: 0, 2, 4: 4\n" /* Type 1, direction X- */
- "-1: 12, 2, 4: 5\n" /* Type -1, direction X+ */
- "-1: 6, 2, 0: 2\n" /* Type -1, direction Z- */
- "-1: 0, 2, 4: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 20,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BalconyTee2
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BlazePlatform:
- // The data has been exported from the gallery Nether, area index 26, ID 276, created by tonibm1999
- {
- // Size:
- 10, 7, 7, // SizeX = 10, SizeY = 7, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 9, 6, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b: 52: 0\n" /* mobspawner */
- "c:113: 0\n" /* netherbrickfence */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "mmmmmmmmmm"
- /* 1 */ "aaaaaaaaaa"
- /* 2 */ "aaaaaaaaaa"
- /* 3 */ "aaaaaaaaaa"
- /* 4 */ "aaaaaaaaaa"
- /* 5 */ "aaaaaaaaaa"
- /* 6 */ "mmmmmmmmmm"
-
- // Level 1
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "mmmmmmmmmm"
- /* 1 */ "aaaaaaaaaa"
- /* 2 */ "..aaaaaaaa"
- /* 3 */ "..aaaaaaaa"
- /* 4 */ "..aaaaaaaa"
- /* 5 */ "aaaaaaaaaa"
- /* 6 */ "mmmmmmmmmm"
-
- // Level 2
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "mmmmaaaaaa"
- /* 1 */ "aaaaaaaaaa"
- /* 2 */ "...aaaaaaa"
- /* 3 */ "...aaaaaaa"
- /* 4 */ "...aaaaaaa"
- /* 5 */ "aaaaaaaaaa"
- /* 6 */ "mmmmaaaaaa"
-
- // Level 3
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "mmmmaaaaaa"
- /* 1 */ "mmaaa....a"
- /* 2 */ ".........a"
- /* 3 */ "......b..a"
- /* 4 */ ".........a"
- /* 5 */ "mmaaa....a"
- /* 6 */ "mmmmaaaaaa"
-
- // Level 4
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "mmmmcccccc"
- /* 1 */ "mmmcc....c"
- /* 2 */ ".........c"
- /* 3 */ ".........c"
- /* 4 */ ".........c"
- /* 5 */ "mmmcc....c"
- /* 6 */ "mmmmcccccc"
-
- // Level 5
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "mmmmmmmmmm"
- /* 1 */ "mmmmm....c"
- /* 2 */ "m........c"
- /* 3 */ "m........c"
- /* 4 */ "m........c"
- /* 5 */ "mmmmm....c"
- /* 6 */ "mmmmmmmmmm"
-
- // Level 6
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "mmmmmmmmmm"
- /* 1 */ "mmmmm....m"
- /* 2 */ "mm.......c"
- /* 3 */ "mm.......c"
- /* 4 */ "mm.......c"
- /* 5 */ "mmmmm....m"
- /* 6 */ "mmmmmmmmmm",
-
- // Connectors:
- "0: 0, 1, 3: 4\n" /* Type 0, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "1:0|2:0|3:0|4:0|5:0",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BlazePlatform
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BlazePlatformOverhang:
- // The data has been exported from the gallery Nether, area index 20, ID 162, created by STR_Warrior
- {
- // Size:
- 14, 11, 7, // SizeX = 14, SizeY = 11, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 13, 20, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 5\n" /* netherbrickstairs */
- "c: 44:14\n" /* step */
- "d:114: 6\n" /* netherbrickstairs */
- "e:114: 7\n" /* netherbrickstairs */
- "f:114: 0\n" /* netherbrickstairs */
- "g:114: 4\n" /* netherbrickstairs */
- "h:113: 0\n" /* netherbrickfence */
- "i: 52: 0\n" /* mobspawner */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "aammmmmmmmmmmm"
- /* 3 */ "aammmmmmmmmmmm"
- /* 4 */ "aammmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "aabcmmmmmmmmmm"
- /* 3 */ "aabcmmmmmmmmmm"
- /* 4 */ "aabcmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmm"
-
- // Level 2
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "aaaaabmmmmmmmm"
- /* 3 */ "aaaaabmmmmmmmm"
- /* 4 */ "aaaaabmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmm"
-
- // Level 3
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "dddddddmmmmmmm"
- /* 2 */ "aaaaaabmmmmmmm"
- /* 3 */ "aaaaaabmmmmmmm"
- /* 4 */ "aaaaaabmmmmmmm"
- /* 5 */ "eeeeeeemmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmm"
-
- // Level 4
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "aaaaaaadmmmmmm"
- /* 2 */ "aaaaaaabmmmmmm"
- /* 3 */ "aaaaaaabmmmmmm"
- /* 4 */ "aaaaaaabmmmmmm"
- /* 5 */ "aaaaaaaemmmmmm"
- /* 6 */ "mmmmmmmmmmmmmm"
-
- // Level 5
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "aaaaaaaabddddm"
- /* 2 */ "......faaaaabm"
- /* 3 */ "......faaaaabm"
- /* 4 */ "......faaaaabm"
- /* 5 */ "aaaaaaaaabeebm"
- /* 6 */ "mmmmmmmmmmmmmm"
-
- // Level 6
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmgdddbm"
- /* 1 */ "mmmmmmaaaaaaad"
- /* 2 */ ".......faaaaab"
- /* 3 */ ".......faaaaab"
- /* 4 */ ".......faaaaab"
- /* 5 */ "mmmmmmaaaaaaae"
- /* 6 */ "mmmmmmmmgeeebm"
-
- // Level 7
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmaaaaam"
- /* 1 */ "mmmmmmhaa...aa"
- /* 2 */ ".............a"
- /* 3 */ "..........i..a"
- /* 4 */ ".............a"
- /* 5 */ "mmmmmmhaa...aa"
- /* 6 */ "mmmmmmmmaaaaam"
-
- // Level 8
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmhhhhhm"
- /* 1 */ "mmmmmmhhh...hh"
- /* 2 */ "mm...........h"
- /* 3 */ "mm...........h"
- /* 4 */ "mm...........h"
- /* 5 */ "mmmmmmhhh...hh"
- /* 6 */ "mmmmmmmmhhhhhm"
-
- // Level 9
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmm.....m"
- /* 1 */ "mmmmmm........"
- /* 2 */ "mmmm.........."
- /* 3 */ "mmmm.........."
- /* 4 */ "mmmm.........."
- /* 5 */ "mmmmmm........"
- /* 6 */ "mmmmmmmm.....m"
-
- // Level 10
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmm.....m"
- /* 1 */ "mmmmmm........"
- /* 2 */ "mmmmmm........"
- /* 3 */ "mmmmmm........"
- /* 4 */ "mmmmmm........"
- /* 5 */ "mmmmmm........"
- /* 6 */ "mmmmmmmm.....m",
-
- // Connectors:
- "0: 0, 5, 3: 4\n" /* Type 0, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "1:0|2:0|3:0|4:0|5:0",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BlazePlatformOverhang
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeCircleCrossing:
- // The data has been exported from the gallery Nether, area index 49, ID 308, created by Aloe_vera
- {
- // Size:
- 15, 8, 15, // SizeX = 15, SizeY = 8, SizeZ = 15
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 14, 17, 14, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 7\n" /* netherbrickstairs */
- "c:114: 5\n" /* netherbrickstairs */
- "d:114: 4\n" /* netherbrickstairs */
- "e:114: 6\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmaaammmmmm"
- /* 1 */ "mmmmmmaaammmmmm"
- /* 2 */ "mmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "aammmmmmmmmmmaa"
- /* 7 */ "aammmmmmmmmmmaa"
- /* 8 */ "aammmmmmmmmmmaa"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmaaammmmmm"
- /* 14 */ "mmmmmmaaammmmmm"
-
- // Level 1
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmaaammmmmm"
- /* 1 */ "mmmmmmaaammmmmm"
- /* 2 */ "mmmmmmbbbmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "aacmmmmmmmmmdaa"
- /* 7 */ "aacmmmmmmmmmdaa"
- /* 8 */ "aacmmmmmmmmmdaa"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmeeemmmmmm"
- /* 13 */ "mmmmmmaaammmmmm"
- /* 14 */ "mmmmmmaaammmmmm"
-
- // Level 2
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmaaammmmmm"
- /* 1 */ "mmmmmeaaammmmmm"
- /* 2 */ "mmmmmdaaammmmmm"
- /* 3 */ "mmmmmdbbbmmmmmm"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mdeemmmmmmmeecm"
- /* 6 */ "aaacmmmmmmmdaaa"
- /* 7 */ "aaacmmmmmmmdaaa"
- /* 8 */ "aaacmmmmmmmdaaa"
- /* 9 */ "mdbcmmmmmmmbbcm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmdeeecmmmmm"
- /* 12 */ "mmmmmdaaacmmmmm"
- /* 13 */ "mmmmmbaaabmmmmm"
- /* 14 */ "mmmmmmaaammmmmm"
-
- // Level 3
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "deeeedaaaceeeec"
- /* 1 */ "daaaaaaaaaaaaac"
- /* 2 */ "daaaaaaaaaaaaac"
- /* 3 */ "daaaaaaaaaaaaac"
- /* 4 */ "daaacbbaabdaaac"
- /* 5 */ "eaaacmmmmmdaaae"
- /* 6 */ "aaaacmmmmmdaaaa"
- /* 7 */ "aaaacmmmmmdaaaa"
- /* 8 */ "aaaacmmmmmdaaaa"
- /* 9 */ "baaacmmmmmdaaab"
- /* 10 */ "daaaceeeeedaaac"
- /* 11 */ "daaaaaaaaaaaaac"
- /* 12 */ "daaaaaaaaaaaaac"
- /* 13 */ "daaaaaaaaaaaaac"
- /* 14 */ "dbbbbdaaacbbbbb"
-
- // Level 4
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaaa"
- /* 5 */ "aaaaammmmmaaaaa"
- /* 6 */ "aaaaammmmmaaaaa"
- /* 7 */ "aaaaammmmmaaaaa"
- /* 8 */ "aaaaammmmmaaaaa"
- /* 9 */ "aaaaammmmmaaaaa"
- /* 10 */ "aaaaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaaaaa"
-
- // Level 5
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaa...aaaaaa"
- /* 1 */ "a.............a"
- /* 2 */ "a.............a"
- /* 3 */ "a.............a"
- /* 4 */ "a...aaaaaaa...a"
- /* 5 */ "a...ammmmma...a"
- /* 6 */ "....ammmmma...."
- /* 7 */ "....ammmmma...."
- /* 8 */ "....ammmmma...."
- /* 9 */ "a...ammmmma...a"
- /* 10 */ "a...aaaaaaa...a"
- /* 11 */ "a.............a"
- /* 12 */ "a.............a"
- /* 13 */ "a.............a"
- /* 14 */ "aaaaaa...aaaaaa"
-
- // Level 6
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmm...mmmmmm"
- /* 1 */ "m.............m"
- /* 2 */ "m.............m"
- /* 3 */ "m.............m"
- /* 4 */ "m.............m"
- /* 5 */ "m....mmmmm....m"
- /* 6 */ ".....mmmmm....."
- /* 7 */ ".....mmmmm....."
- /* 8 */ ".....mmmmm....."
- /* 9 */ "m....mmmmm....m"
- /* 10 */ "m.............m"
- /* 11 */ "m.............m"
- /* 12 */ "m.............m"
- /* 13 */ "m.............m"
- /* 14 */ "mmmmmm...mmmmmm"
-
- // Level 7
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmm...mmmmmm"
- /* 1 */ "m.............m"
- /* 2 */ "m.............m"
- /* 3 */ "m.............m"
- /* 4 */ "m.............m"
- /* 5 */ "m....mmmmm....m"
- /* 6 */ ".....mmmmm....."
- /* 7 */ ".....mmmmm....."
- /* 8 */ ".....mmmmm....."
- /* 9 */ "m....mmmmm....m"
- /* 10 */ "m.............m"
- /* 11 */ "m.............m"
- /* 12 */ "m.............m"
- /* 13 */ "m.............m"
- /* 14 */ "mmmmmm...mmmmmm",
-
- // Connectors:
- "0: 0, 5, 7: 4\n" /* Type 0, direction X- */
- "0: 7, 5, 0: 2\n" /* Type 0, direction Z- */
- "0: 14, 5, 7: 5\n" /* Type 0, direction X+ */
- "0: 7, 5, 14: 3\n" /* Type 0, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 5,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- -1000,
-
- // MoveToGround:
- false,
- }, // BridgeCircleCrossing
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeCrossing:
- // The data has been exported from the gallery Nether, area index 17, ID 159, created by Aloe_vera
- {
- // Size:
- 15, 8, 15, // SizeX = 15, SizeY = 8, SizeZ = 15
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 14, 17, 14, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 7\n" /* netherbrickstairs */
- "c:114: 5\n" /* netherbrickstairs */
- "d:114: 4\n" /* netherbrickstairs */
- "e:114: 6\n" /* netherbrickstairs */
- "f: 44:14\n" /* step */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmaaammmmmm"
- /* 1 */ "mmmmmmaaammmmmm"
- /* 2 */ "mmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "aammmmmmmmmmmaa"
- /* 7 */ "aammmmmmmmmmmaa"
- /* 8 */ "aammmmmmmmmmmaa"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmaaammmmmm"
- /* 14 */ "mmmmmmaaammmmmm"
-
- // Level 1
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmaaammmmmm"
- /* 1 */ "mmmmmmaaammmmmm"
- /* 2 */ "mmmmmmbbbmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "aacmmmmmmmmmdaa"
- /* 7 */ "aacmmmmmmmmmdaa"
- /* 8 */ "aacmmmmmmmmmdaa"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmeeemmmmmm"
- /* 13 */ "mmmmmmaaammmmmm"
- /* 14 */ "mmmmmmaaammmmmm"
-
- // Level 2
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmaaammmmmm"
- /* 1 */ "mmmmmmaaammmmmm"
- /* 2 */ "mmmmmmaaammmmmm"
- /* 3 */ "mmmmmmbbbmmmmmm"
- /* 4 */ "mmmmmmfffmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "aaacfmmmmmfdaaa"
- /* 7 */ "aaacfmmmmmfdaaa"
- /* 8 */ "aaacfmmmmmfdaaa"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmfffmmmmmm"
- /* 11 */ "mmmmmmeeemmmmmm"
- /* 12 */ "mmmmmmaaammmmmm"
- /* 13 */ "mmmmmmaaammmmmm"
- /* 14 */ "mmmmmmaaammmmmm"
-
- // Level 3
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmdaaacmmmmm"
- /* 1 */ "mmmmmdaaacmmmmm"
- /* 2 */ "mmmmmdaaacmmmmm"
- /* 3 */ "mmmmmdaaacmmmmm"
- /* 4 */ "mmmmmdaaacmmmmm"
- /* 5 */ "eeeeeeaaaeeeeee"
- /* 6 */ "aaaaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaaaa"
- /* 9 */ "bbbbbdaaacbbbbb"
- /* 10 */ "mmmmmdaaacmmmmm"
- /* 11 */ "mmmmmdaaacmmmmm"
- /* 12 */ "mmmmmdaaacmmmmm"
- /* 13 */ "mmmmmdaaacmmmmm"
- /* 14 */ "mmmmmdaaacmmmmm"
-
- // Level 4
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmaaaaammmmm"
- /* 1 */ "mmmmmaaaaammmmm"
- /* 2 */ "mmmmmaaaaammmmm"
- /* 3 */ "mmmmmaaaaammmmm"
- /* 4 */ "mmmmmaaaaammmmm"
- /* 5 */ "aaaaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaaaaa"
- /* 10 */ "mmmmmaaaaammmmm"
- /* 11 */ "mmmmmaaaaammmmm"
- /* 12 */ "mmmmmaaaaammmmm"
- /* 13 */ "mmmmmaaaaammmmm"
- /* 14 */ "mmmmmaaaaammmmm"
-
- // Level 5
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmma...ammmmm"
- /* 1 */ "mmmmma...ammmmm"
- /* 2 */ "mmmmma...ammmmm"
- /* 3 */ "mmmmma...ammmmm"
- /* 4 */ "mmmmma...ammmmm"
- /* 5 */ "aaaaaa...aaaaaa"
- /* 6 */ "..............."
- /* 7 */ "..............."
- /* 8 */ "..............."
- /* 9 */ "aaaaaa...aaaaaa"
- /* 10 */ "mmmmma...ammmmm"
- /* 11 */ "mmmmma...ammmmm"
- /* 12 */ "mmmmma...ammmmm"
- /* 13 */ "mmmmma...ammmmm"
- /* 14 */ "mmmmma...ammmmm"
-
- // Level 6
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmm...mmmmmm"
- /* 1 */ "mmmmmm...mmmmmm"
- /* 2 */ "mmmmmm...mmmmmm"
- /* 3 */ "mmmmmm...mmmmmm"
- /* 4 */ "mmmmmm...mmmmmm"
- /* 5 */ "mmmmmm...mmmmmm"
- /* 6 */ "..............."
- /* 7 */ "..............."
- /* 8 */ "..............."
- /* 9 */ "mmmmmm...mmmmmm"
- /* 10 */ "mmmmmm...mmmmmm"
- /* 11 */ "mmmmmm...mmmmmm"
- /* 12 */ "mmmmmm...mmmmmm"
- /* 13 */ "mmmmmm...mmmmmm"
- /* 14 */ "mmmmmm...mmmmmm"
-
- // Level 7
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmm...mmmmmm"
- /* 1 */ "mmmmmm...mmmmmm"
- /* 2 */ "mmmmmm...mmmmmm"
- /* 3 */ "mmmmmm...mmmmmm"
- /* 4 */ "mmmmmm...mmmmmm"
- /* 5 */ "mmmmmm...mmmmmm"
- /* 6 */ "..............."
- /* 7 */ "..............."
- /* 8 */ "..............."
- /* 9 */ "mmmmmm...mmmmmm"
- /* 10 */ "mmmmmm...mmmmmm"
- /* 11 */ "mmmmmm...mmmmmm"
- /* 12 */ "mmmmmm...mmmmmm"
- /* 13 */ "mmmmmm...mmmmmm"
- /* 14 */ "mmmmmm...mmmmmm",
-
- // Connectors:
- "0: 0, 5, 7: 4\n" /* Type 0, direction X- */
- "0: 7, 5, 0: 2\n" /* Type 0, direction Z- */
- "0: 7, 5, 14: 3\n" /* Type 0, direction Z+ */
- "0: 14, 5, 7: 5\n" /* Type 0, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 10,
-
- // DepthWeight:
- "1:1000",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BridgeCrossing
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeCrumble1:
- // The data has been exported from the gallery Nether, area index 19, ID 161, created by Aloe_vera
- {
- // Size:
- 9, 6, 5, // SizeX = 9, SizeY = 6, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 8, 15, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 5\n" /* netherbrickstairs */
- "c: 44:14\n" /* step */
- "d:114: 6\n" /* netherbrickstairs */
- "e:114: 7\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 012345678 */
- /* 0 */ "mmmmmmmmm"
- /* 1 */ "aammmmmmm"
- /* 2 */ "aammmmmmm"
- /* 3 */ "aammmmmmm"
- /* 4 */ "mmmmmmmmm"
-
- // Level 1
- /* z\x* 012345678 */
- /* 0 */ "mmmmmmmmm"
- /* 1 */ "aabmmmmmm"
- /* 2 */ "aabmmmmmm"
- /* 3 */ "aabmmmmmm"
- /* 4 */ "mmmmmmmmm"
-
- // Level 2
- /* z\x* 012345678 */
- /* 0 */ "mmmmmmmmm"
- /* 1 */ "aaabcmmmm"
- /* 2 */ "aaabcmmmm"
- /* 3 */ "aaabcmmmm"
- /* 4 */ "mmmmmmmmm"
-
- // Level 3
- /* z\x* 012345678 */
- /* 0 */ "dddddddmm"
- /* 1 */ "aaaaaaaam"
- /* 2 */ "aaaaaaaaa"
- /* 3 */ "aaaaaaamm"
- /* 4 */ "eeeeemmmm"
-
- // Level 4
- /* z\x* 012345678 */
- /* 0 */ "aaaaaaaaa"
- /* 1 */ "aaaaammmm"
- /* 2 */ "aaaaaammm"
- /* 3 */ "aaaaaammm"
- /* 4 */ "aaaaaaaam"
-
- // Level 5
- /* z\x* 012345678 */
- /* 0 */ "aaaaaammm"
- /* 1 */ "mmmmmmmmm"
- /* 2 */ "mmmmmmmmm"
- /* 3 */ "mmmmmmmmm"
- /* 4 */ "aaaaaaamm",
-
- // Connectors:
- "1: 0, 5, 2: 4\n" /* Type 1, direction X- */
- "0: 0, 5, 2: 4\n" /* Type 0, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "1:0|2:0|3:0|4:0|5:0",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BridgeCrumble1
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeCrumble2:
- // The data has been exported from the gallery Nether, area index 18, ID 160, created by Aloe_vera
- {
- // Size:
- 13, 6, 5, // SizeX = 13, SizeY = 6, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 12, 15, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 5\n" /* netherbrickstairs */
- "c: 44:14\n" /* step */
- "d:114: 6\n" /* netherbrickstairs */
- "e:114: 7\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmm"
- /* 2 */ "aammmmmmmmmmm"
- /* 3 */ "aammmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmmmmmmmmmm"
- /* 1 */ "aabmmmmmmmmmm"
- /* 2 */ "aabmmmmmmmmmm"
- /* 3 */ "aabmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmm"
-
- // Level 2
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmmmmmmmmmm"
- /* 1 */ "aaabcmmmmmmmm"
- /* 2 */ "aaabcmmmmmmmm"
- /* 3 */ "aaabcmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmm"
-
- // Level 3
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "dddddddddmmmm"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaammmm"
- /* 3 */ "aaaaaaaaaaaam"
- /* 4 */ "eeeeeeeeemmmm"
-
- // Level 4
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaam"
- /* 1 */ "aaaaaaaaaammm"
- /* 2 */ "aaaaaaaaaaamm"
- /* 3 */ "aaaaaaaaammmm"
- /* 4 */ "aaaaaaaaaaaaa"
-
- // Level 5
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaammmm"
- /* 1 */ "mmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmm"
- /* 4 */ "aaaaaaaaaammm",
-
- // Connectors:
- "0: 0, 5, 2: 4\n" /* Type 0, direction X- */
- "1: 0, 5, 2: 4\n" /* Type 1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "1:0|2:0|3:0|4:0|5:0",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BridgeCrumble2
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeDoubleCrumble:
- // The data has been exported from the gallery Nether, area index 46, ID 305, created by STR_Warrior
- {
- // Size:
- 5, 7, 16, // SizeX = 5, SizeY = 7, SizeZ = 16
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 4, 16, 15, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 7\n" /* netherbrickstairs */
- "c:114: 6\n" /* netherbrickstairs */
- "d:114: 4\n" /* netherbrickstairs */
- "e:114: 5\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 01234 */
- /* 0 */ "maaam"
- /* 1 */ "maaam"
- /* 2 */ "mmmmm"
- /* 3 */ "mmmmm"
- /* 4 */ "mmmmm"
- /* 5 */ "mmmmm"
- /* 6 */ "mmmmm"
- /* 7 */ "mmmmm"
- /* 8 */ "mmmmm"
- /* 9 */ "mmmmm"
- /* 10 */ "mmmmm"
- /* 11 */ "mmmmm"
- /* 12 */ "mmmmm"
- /* 13 */ "mmmmm"
- /* 14 */ "maaam"
- /* 15 */ "maaam"
-
- // Level 1
- /* z\x* 01234 */
- /* 0 */ "maaam"
- /* 1 */ "maaam"
- /* 2 */ "mbbbm"
- /* 3 */ "mmmmm"
- /* 4 */ "mmmmm"
- /* 5 */ "mmmmm"
- /* 6 */ "mmmmm"
- /* 7 */ "mmmmm"
- /* 8 */ "mmmmm"
- /* 9 */ "mmmmm"
- /* 10 */ "mmmmm"
- /* 11 */ "mmmmm"
- /* 12 */ "mmmmm"
- /* 13 */ "mcccm"
- /* 14 */ "maaam"
- /* 15 */ "maaam"
-
- // Level 2
- /* z\x* 01234 */
- /* 0 */ "daaae"
- /* 1 */ "daaae"
- /* 2 */ "daaae"
- /* 3 */ "daaae"
- /* 4 */ "daaae"
- /* 5 */ "mamae"
- /* 6 */ "mmmam"
- /* 7 */ "mmmmm"
- /* 8 */ "mmmmm"
- /* 9 */ "mmmmm"
- /* 10 */ "mmmae"
- /* 11 */ "dmaae"
- /* 12 */ "daaae"
- /* 13 */ "daaae"
- /* 14 */ "daaae"
- /* 15 */ "daaae"
-
- // Level 3
- /* z\x* 01234 */
- /* 0 */ "aaaaa"
- /* 1 */ "aaaaa"
- /* 2 */ "aaaaa"
- /* 3 */ "aaama"
- /* 4 */ "mamaa"
- /* 5 */ "mmmmm"
- /* 6 */ "mmmmm"
- /* 7 */ "mmmmm"
- /* 8 */ "mmmmm"
- /* 9 */ "mmmmm"
- /* 10 */ "mmmma"
- /* 11 */ "mmmaa"
- /* 12 */ "amaaa"
- /* 13 */ "aaaaa"
- /* 14 */ "aaaaa"
- /* 15 */ "aaaaa"
-
- // Level 4
- /* z\x* 01234 */
- /* 0 */ "ammma"
- /* 1 */ "ammma"
- /* 2 */ "ammma"
- /* 3 */ "mmmma"
- /* 4 */ "mmmmm"
- /* 5 */ "mmmmm"
- /* 6 */ "mmmmm"
- /* 7 */ "mmmmm"
- /* 8 */ "mmmmm"
- /* 9 */ "mmmmm"
- /* 10 */ "mmmmm"
- /* 11 */ "mmmma"
- /* 12 */ "mmmmm"
- /* 13 */ "ammma"
- /* 14 */ "ammma"
- /* 15 */ "ammma"
-
- // Level 5
- /* z\x* 01234 */
- /* 0 */ "mmmmm"
- /* 1 */ "mmmmm"
- /* 2 */ "mmmmm"
- /* 3 */ "mmmmm"
- /* 4 */ "mmmmm"
- /* 5 */ "mmmmm"
- /* 6 */ "mmmmm"
- /* 7 */ "mmmmm"
- /* 8 */ "mmmmm"
- /* 9 */ "mmmmm"
- /* 10 */ "mmmmm"
- /* 11 */ "mmmmm"
- /* 12 */ "mmmmm"
- /* 13 */ "mmmmm"
- /* 14 */ "mmmmm"
- /* 15 */ "mmmmm"
-
- // Level 6
- /* z\x* 01234 */
- /* 0 */ "mmmmm"
- /* 1 */ "mmmmm"
- /* 2 */ "mmmmm"
- /* 3 */ "mmmmm"
- /* 4 */ "mmmmm"
- /* 5 */ "mmmmm"
- /* 6 */ "mmmmm"
- /* 7 */ "mmmmm"
- /* 8 */ "mmmmm"
- /* 9 */ "mmmmm"
- /* 10 */ "mmmmm"
- /* 11 */ "mmmmm"
- /* 12 */ "mmmmm"
- /* 13 */ "mmmmm"
- /* 14 */ "mmmmm"
- /* 15 */ "mmmmm",
-
- // Connectors:
- "0: 2, 4, 0: 2\n" /* Type 0, direction Z- */
- "0: 2, 4, 15: 3\n" /* Type 0, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 10,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 1000,
-
- // MoveToGround:
- false,
- }, // BridgeDoubleCrumble
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeDoubleStairs:
- // The data has been exported from the gallery Nether, area index 115, ID 810, created by STR_Warrior
- {
- // Size:
- 15, 16, 16, // SizeX = 15, SizeY = 16, SizeZ = 16
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 14, 15, 15, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 7\n" /* netherbrickstairs */
- "c:114: 6\n" /* netherbrickstairs */
- "d:114: 4\n" /* netherbrickstairs */
- "e:114: 5\n" /* netherbrickstairs */
- "f:114: 2\n" /* netherbrickstairs */
- "g:114: 3\n" /* netherbrickstairs */
- "h:114: 1\n" /* netherbrickstairs */
- "i: 44:14\n" /* step */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmaaam"
- /* 1 */ "aammmmmmmmmaaaa"
- /* 2 */ "aammmmmmmmmmmma"
- /* 3 */ "aammmmmmmmmmmma"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
- /* 12 */ "aammmmmmmmmmmma"
- /* 13 */ "aammmmmmmmmmmma"
- /* 14 */ "aammmmmmmmmaaaa"
- /* 15 */ "mmmmmmmmmmmaaam"
-
- // Level 1
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmaaam"
- /* 1 */ "aammmmmmmmmaaaa"
- /* 2 */ "aammmmmmmmmmmma"
- /* 3 */ "aammmmmmmmmmmma"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
- /* 12 */ "aammmmmmmmmmmma"
- /* 13 */ "aammmmmmmmmmmma"
- /* 14 */ "aammmmmmmmmaaaa"
- /* 15 */ "mmmmmmmmmmmaaam"
-
- // Level 2
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmaaam"
- /* 1 */ "aammmmmmmmmaaaa"
- /* 2 */ "aammmmmmmmmmmma"
- /* 3 */ "aammmmmmmmmmmma"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
- /* 12 */ "aammmmmmmmmmmma"
- /* 13 */ "aammmmmmmmmmmma"
- /* 14 */ "aammmmmmmmmaaaa"
- /* 15 */ "mmmmmmmmmmmaaam"
-
- // Level 3
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmaaam"
- /* 1 */ "aammmmmmmmmaaaa"
- /* 2 */ "aammmmmmmmmbbba"
- /* 3 */ "aammmmmmmmmmmma"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
- /* 12 */ "aammmmmmmmmmmma"
- /* 13 */ "aammmmmmmmmccca"
- /* 14 */ "aammmmmmmmmaaaa"
- /* 15 */ "mmmmmmmmmmmaaam"
-
- // Level 4
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmaaam"
- /* 1 */ "aammmmmmmmmaaaa"
- /* 2 */ "aammmmmmmmmaaaa"
- /* 3 */ "aammmmmmmmmbbba"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
- /* 12 */ "aammmmmmmmmccca"
- /* 13 */ "aammmmmmmmmaaaa"
- /* 14 */ "aammmmmmmmmaaaa"
- /* 15 */ "mmmmmmmmmmmaaam"
-
- // Level 5
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmdaaae"
- /* 1 */ "aammmmmmmmdaaaa"
- /* 2 */ "aammmmmmmmdaaaa"
- /* 3 */ "aammmmmmmmdaaaa"
- /* 4 */ "mmmmmmmmmmdaaae"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmdaaae"
- /* 12 */ "aammmmmmmmdaaaa"
- /* 13 */ "aammmmmmmmdaaaa"
- /* 14 */ "aammmmmmmmdaaaa"
- /* 15 */ "mmmmmmmmmmdaaae"
-
- // Level 6
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmaaaaa"
- /* 1 */ "aammmmmmmmaaaaa"
- /* 2 */ "aammmmmmmmaaaaa"
- /* 3 */ "aammmmmmmmaaaaa"
- /* 4 */ "mmmmmmmmmmaaaaa"
- /* 5 */ "mmmmmmmmmmdaaae"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmdaaae"
- /* 11 */ "mmmmmmmmmmaaaaa"
- /* 12 */ "aammmmmmmmaaaaa"
- /* 13 */ "aammmmmmmmaaaaa"
- /* 14 */ "aammmmmmmmaaaaa"
- /* 15 */ "mmmmmmmmmmaaaaa"
-
- // Level 7
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmma...a"
- /* 1 */ "aammmmmmmma...a"
- /* 2 */ "aammmmmmmma...a"
- /* 3 */ "aammmmmmmma...a"
- /* 4 */ "mmmmmmmmmmafffa"
- /* 5 */ "mmmmmmmmmaaaaaa"
- /* 6 */ "mmmmmmmmmaaaaae"
- /* 7 */ "mmmmmmmmmaaaaae"
- /* 8 */ "mmmmmmmmmaaaaae"
- /* 9 */ "mmmmmmmmmaaaaae"
- /* 10 */ "mmmmmmmmmaaaaaa"
- /* 11 */ "mmmmmmmmmmaggga"
- /* 12 */ "aammmmmmmma...a"
- /* 13 */ "aammmmmmmma...a"
- /* 14 */ "aammmmmmmma...a"
- /* 15 */ "mmmmmmmmmma...a"
-
- // Level 8
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmm...m"
- /* 1 */ "aammmmmmmma...a"
- /* 2 */ "aammmmmmmma...a"
- /* 3 */ "aammmmmmmma...a"
- /* 4 */ "mmmmmmmmmma...a"
- /* 5 */ "mmmmmmmmmaafffa"
- /* 6 */ "mmmmmmmmaaaaaaa"
- /* 7 */ "mmmmmmmmaaaaaaa"
- /* 8 */ "mmmmmmmmaaaaaaa"
- /* 9 */ "mmmmmmmmaaaaaaa"
- /* 10 */ "mmmmmmmmmaaggga"
- /* 11 */ "mmmmmmmmmma...a"
- /* 12 */ "aammmmmmmma...a"
- /* 13 */ "aammmmmmmma...a"
- /* 14 */ "aammmmmmmma...a"
- /* 15 */ "mmmmmmmmmmm...m"
-
- // Level 9
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmm...m"
- /* 1 */ "aaemmmmmmma...a"
- /* 2 */ "aaemmmmmmma...a"
- /* 3 */ "aaemmmmmmma...a"
- /* 4 */ "mmmmmmmmmma...a"
- /* 5 */ "mmmmmmmmmaa...a"
- /* 6 */ "mmmmaaaaah....a"
- /* 7 */ "mmmmaaaaah....a"
- /* 8 */ "mmmmaaaaah....a"
- /* 9 */ "mmmmaaaaah....a"
- /* 10 */ "mmmmmmmmmaa...a"
- /* 11 */ "mmmmmmmmmma...a"
- /* 12 */ "aaemmmmmmma...a"
- /* 13 */ "aaemmmmmmma...a"
- /* 14 */ "aaemmmmmmma...a"
- /* 15 */ "mmmmmmmmmmm...m"
-
- // Level 10
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aaaeimmmmmammma"
- /* 2 */ "aaaeimmmmmammma"
- /* 3 */ "aaaeimmmmma...a"
- /* 4 */ "mmmmmmmmmmm...m"
- /* 5 */ "mmmmaaaaaam...m"
- /* 6 */ "mmmmaaaah.....m"
- /* 7 */ "mmmmaaaah.....m"
- /* 8 */ "mmmmaaaah.....m"
- /* 9 */ "mmmmaaaah.....m"
- /* 10 */ "mmmmaaaaaam...m"
- /* 11 */ "mmmmmmmmmmm...m"
- /* 12 */ "aaaeimmmmma...a"
- /* 13 */ "aaaeimmmmmammma"
- /* 14 */ "aaaeimmmmmammma"
- /* 15 */ "mmmmmmmmmmmmmmm"
-
- // Level 11
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "ccccccccccccccc"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "bbbbaaaaabbbbbb"
- /* 5 */ "mmmmagggamm...m"
- /* 6 */ "mmmma.........m"
- /* 7 */ "mmmma.........m"
- /* 8 */ "mmmma.........m"
- /* 9 */ "mmmma.........m"
- /* 10 */ "mmmmafffamm...m"
- /* 11 */ "ccccaaaahcccccc"
- /* 12 */ "aaaaaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaaaaa"
- /* 15 */ "bbbbbbbbbbbbbbb"
-
- // Level 12
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "aaaaagggaaaaaaa"
- /* 5 */ "mmmma...ammmmmm"
- /* 6 */ "mmmma.........m"
- /* 7 */ "mmmmm.........m"
- /* 8 */ "mmmmm.........m"
- /* 9 */ "mmmma.........m"
- /* 10 */ "mmmma...ammmmmm"
- /* 11 */ "aaaaafffaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaaaaa"
- /* 15 */ "aaaaaaaaaaaaaaa"
-
- // Level 13
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "aaaaa...aaaaaaa"
- /* 5 */ "mmmma...ammmmmm"
- /* 6 */ "mmmmm.....mmmmm"
- /* 7 */ "mmmmm.....mmmmm"
- /* 8 */ "mmmmm.....mmmmm"
- /* 9 */ "mmmmm.....mmmmm"
- /* 10 */ "mmmma...ammmmmm"
- /* 11 */ "aaaaa...aaaaaaa"
- /* 12 */ "..............."
- /* 13 */ "..............."
- /* 14 */ "..............."
- /* 15 */ "aaaaaaaaaaaaaaa"
-
- // Level 14
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "mmmmm...mmmmmmm"
- /* 5 */ "mmmmm...mmmmmmm"
- /* 6 */ "mmmmm...mmmmmmm"
- /* 7 */ "mmmmm...mmmmmmm"
- /* 8 */ "mmmmm...mmmmmmm"
- /* 9 */ "mmmmm...mmmmmmm"
- /* 10 */ "mmmmm...mmmmmmm"
- /* 11 */ "mmmmm...mmmmmmm"
- /* 12 */ "..............."
- /* 13 */ "..............."
- /* 14 */ "..............."
- /* 15 */ "mmmmmmmmmmmmmmm"
-
- // Level 15
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "mmmmm...mmmmmmm"
- /* 5 */ "mmmmm...mmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmm...mmmmmmm"
- /* 11 */ "mmmmm...mmmmmmm"
- /* 12 */ "..............."
- /* 13 */ "..............."
- /* 14 */ "..............."
- /* 15 */ "mmmmmmmmmmmmmmm",
-
- // Connectors:
- "0: 0, 13, 13: 4\n" /* Type 0, direction X- */
- "0: 14, 13, 13: 5\n" /* Type 0, direction X+ */
- "0: 0, 13, 2: 4\n" /* Type 0, direction X- */
- "0: 14, 13, 2: 5\n" /* Type 0, direction X+ */
- "0: 12, 7, 15: 3\n" /* Type 0, direction Z+ */
- "0: 12, 7, 0: 2\n" /* Type 0, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 20,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BridgeDoubleStairs
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeFunnelDown:
- // The data has been exported from the gallery Nether, area index 0, ID 2, created by Aloe_vera
- {
- // Size:
- 15, 12, 12, // SizeX = 15, SizeY = 12, SizeZ = 12
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 14, 21, 11, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 6\n" /* netherbrickstairs */
- "c:114: 4\n" /* netherbrickstairs */
- "d:114: 5\n" /* netherbrickstairs */
- "e: 44:14\n" /* step */
- "f:114: 7\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmmaa"
- /* 2 */ "aammmmmmmmmmmaa"
- /* 3 */ "aammmmmmmmmmmaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmaaammmmmm"
- /* 10 */ "mmmmmmaaammmmmm"
- /* 11 */ "mmmmmmaaammmmmm"
-
- // Level 1
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmmaa"
- /* 2 */ "aammmmmmmmmmmaa"
- /* 3 */ "aammmmmmmmmmmaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmbbbmmmmmm"
- /* 9 */ "mmmmmmaaammmmmm"
- /* 10 */ "mmmmmmaaammmmmm"
- /* 11 */ "mmmmmmaaammmmmm"
-
- // Level 2
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmmaa"
- /* 2 */ "aammmmmmmmmmmaa"
- /* 3 */ "aammmmmmmmmmmaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmcbbbdmmmmm"
- /* 8 */ "mmmmmcaaadmmmmm"
- /* 9 */ "mmmmmcaaadmmmmm"
- /* 10 */ "mmmmmcaaadmmmmm"
- /* 11 */ "mmmmmcaaadmmmmm"
-
- // Level 3
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmmaa"
- /* 2 */ "aammmmmmmmmmmaa"
- /* 3 */ "aammmmmmmmmmmaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmaaaaammmmm"
- /* 8 */ "mmmmmaaaaammmmm"
- /* 9 */ "mmmmmaaaaammmmm"
- /* 10 */ "mmmmmaaaaammmmm"
- /* 11 */ "mmmmmaaaaammmmm"
-
- // Level 4
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmmaa"
- /* 2 */ "aammmmmmmmmmmaa"
- /* 3 */ "aammmmmmmmmmmaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmcbbbbbdmmmm"
- /* 7 */ "mmmmaaaaaaammmm"
- /* 8 */ "mmmma.....ammmm"
- /* 9 */ "mmmmaa...aammmm"
- /* 10 */ "mmmmma...ammmmm"
- /* 11 */ "mmmmma...ammmmm"
-
- // Level 5
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aadmmmmmmmmmcaa"
- /* 2 */ "aadmmmmmmmmmcaa"
- /* 3 */ "aadmmmmmmmmmcaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmcbbbbbbbdmmm"
- /* 6 */ "mmmaaaaaaaaaamm"
- /* 7 */ "mmma.......ammm"
- /* 8 */ "mmmaa.....aammm"
- /* 9 */ "mmmmam...mammmm"
- /* 10 */ "mmmmmm...mmmmmm"
- /* 11 */ "mmmmmm...mmmmmm"
-
- // Level 6
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aaademmmmmecaaa"
- /* 2 */ "aaademmmmmecaaa"
- /* 3 */ "aaademmmmmecaaa"
- /* 4 */ "mmaaabbbbbaaaam"
- /* 5 */ "mmaaaaaaaaaaaam"
- /* 6 */ "mma.........amm"
- /* 7 */ "mmaa.......aamm"
- /* 8 */ "mmmam.....mammm"
- /* 9 */ "mmmmmm...mmmmmm"
- /* 10 */ "mmmmmm...mmmmmm"
- /* 11 */ "mmmmmm...mmmmmm"
-
- // Level 7
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "bbbbbbbbbbbbbbb"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "faaaaaaaaaaaaaa"
- /* 5 */ "ma...........am"
- /* 6 */ "maa.........aam"
- /* 7 */ "mmam.......mamm"
- /* 8 */ "mmmmm.....mmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
-
- // Level 8
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "a.............a"
- /* 5 */ "aa...........aa"
- /* 6 */ "mam.........mam"
- /* 7 */ "mmmm.......mmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
-
- // Level 9
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "a.............a"
- /* 5 */ "am............a"
- /* 6 */ "mmm.........mmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
-
- // Level 10
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "m.............m"
- /* 5 */ "mm............m"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm"
-
- // Level 11
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "m.............m"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmm",
-
- // Connectors:
- "0: 7, 4, 11: 3\n" /* Type 0, direction Z+ */
- "0: 0, 9, 2: 4\n" /* Type 0, direction X- */
- "0: 14, 9, 2: 5\n" /* Type 0, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 5,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BridgeFunnelDown
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeLevelCrossing:
- // The data has been exported from the gallery Nether, area index 61, ID 321, created by Aloe_vera
- {
- // Size:
- 16, 14, 16, // SizeX = 16, SizeY = 14, SizeZ = 16
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 23, 15, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 5\n" /* netherbrickstairs */
- "c:114: 4\n" /* netherbrickstairs */
- "d: 44:14\n" /* step */
- "e:114: 6\n" /* netherbrickstairs */
- "f:114: 7\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmmmaa"
- /* 2 */ "aammmmmmmmmmmmaa"
- /* 3 */ "aammmmmmmmmmmmaa"
- /* 4 */ "mmmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "aabmmmmmmmmmmcaa"
- /* 2 */ "aabmmmmmmmmmmcaa"
- /* 3 */ "aabmmmmmmmmmmcaa"
- /* 4 */ "mmmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "aaabdmmmmmmdcaaa"
- /* 2 */ "aaabdmmmmmmdcaaa"
- /* 3 */ "aaabdmmmmmmdcaaa"
- /* 4 */ "mmmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "eeeeeeeeeeeeeeee"
- /* 1 */ "aaaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaaa"
- /* 4 */ "ffffffffffffffff"
- /* 5 */ "mmmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaaaa"
- /* 5 */ "faaabmmmmmmmmmmm"
- /* 6 */ "caaabmmmmmmmmmmm"
- /* 7 */ "caaabmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "................"
- /* 2 */ "................"
- /* 3 */ "................"
- /* 4 */ "a...aaaaaaaaaaaa"
- /* 5 */ "a...ammmmmmmmmmm"
- /* 6 */ "aaaaammmmmmmmmmm"
- /* 7 */ "aaaaammmmmmmmmmm"
- /* 8 */ "caaabmmmmmmmmmmm"
- /* 9 */ "caaabmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmaaam"
- /* 1 */ "................"
- /* 2 */ "................"
- /* 3 */ "................"
- /* 4 */ "m...mmmmmmmmaaam"
- /* 5 */ "a...ammmmmmmmmmm"
- /* 6 */ "a...ammmmmmmmmmm"
- /* 7 */ "a...ammmmmmmmmmm"
- /* 8 */ "aaaaammmmmmmmmmm"
- /* 9 */ "aaaaammmmmmmmmmm"
- /* 10 */ "caaabmmmmmmmmmmm"
- /* 11 */ "caaabmmmmmmmmmmm"
- /* 12 */ "maaabmmmmmmmmmmm"
- /* 13 */ "maaabmmmmmmmmmmm"
- /* 14 */ "maaafmmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 7
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmaaam"
- /* 1 */ "................"
- /* 2 */ "................"
- /* 3 */ "................"
- /* 4 */ "m...mmmmmmmmaaam"
- /* 5 */ "m...mmmmmmmmmmmm"
- /* 6 */ "m...mmmmmmmmmmmm"
- /* 7 */ "a...ammmmmmmmmmm"
- /* 8 */ "a...ammmmmmmmmmm"
- /* 9 */ "a...ammmmmmmmmmm"
- /* 10 */ "aaaaammmmmmmmmmm"
- /* 11 */ "aaaaaeemmmmmmmmm"
- /* 12 */ "caaaaaammmmmmmmm"
- /* 13 */ "caaaaaammmmmmmmm"
- /* 14 */ "caaaaaammmmmaaam"
- /* 15 */ "fffffffmmmmmaaam"
-
- // Level 8
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmaaam"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmmm"
- /* 4 */ "m...mmmmmmmmaaam"
- /* 5 */ "m...mmmmmmmmmmmm"
- /* 6 */ "m...mmmmmmmmmmmm"
- /* 7 */ "m...mmmmmmmmmmmm"
- /* 8 */ "m...mmmmmmmmmmmm"
- /* 9 */ "a...ammmmmmmmmmm"
- /* 10 */ "a...ammmmmmmmmmm"
- /* 11 */ "a...aaaeemmmmmmm"
- /* 12 */ "a.....aaammmmmmm"
- /* 13 */ "a.....aaammmmmmm"
- /* 14 */ "a.....aaammmaaam"
- /* 15 */ "aaaaaaaffmmmaaam"
-
- // Level 9
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmcaaab"
- /* 1 */ "mmmmmmmmmmmcaaab"
- /* 2 */ "mmmmmmmmmmmcaaab"
- /* 3 */ "mmmmmmmmmmmcaaab"
- /* 4 */ "mmmmmmmmmmmcaaab"
- /* 5 */ "mmmmmmmmmmmcaaab"
- /* 6 */ "m...mmmmmmmcaaab"
- /* 7 */ "m...mmmmmmmcaaab"
- /* 8 */ "m...mmmmmmmcaaab"
- /* 9 */ "m...mmmmmmmcaaab"
- /* 10 */ "m...mmmmmmmcaaab"
- /* 11 */ "m...maaaaeecaaab"
- /* 12 */ "m.......aaaaaaab"
- /* 13 */ "m.......aaaaaaab"
- /* 14 */ "m.......aaaaaaab"
- /* 15 */ "mmmmmaaaafffaaab"
-
- // Level 10
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmaaaaa"
- /* 1 */ "mmmmmmmmmmmaaaaa"
- /* 2 */ "mmmmmmmmmmmaaaaa"
- /* 3 */ "mmmmmmmmmmmaaaaa"
- /* 4 */ "mmmmmmmmmmmaaaaa"
- /* 5 */ "mmmmmmmmmmmaaaaa"
- /* 6 */ "mmmmmmmmmmmaaaaa"
- /* 7 */ "mmmmmmmmmmmaaaaa"
- /* 8 */ "m...mmmmmmmaaaaa"
- /* 9 */ "m...mmmmmmmaaaaa"
- /* 10 */ "m...mmmmmmmaaaaa"
- /* 11 */ "m...mmmaaaaaaaaa"
- /* 12 */ "m.........aaaaaa"
- /* 13 */ "m.........aaaaaa"
- /* 14 */ "m.........aaaaaa"
- /* 15 */ "mmmmmmmaaaaaaaaa"
-
- // Level 11
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmma...a"
- /* 1 */ "mmmmmmmmmmma...a"
- /* 2 */ "mmmmmmmmmmma...a"
- /* 3 */ "mmmmmmmmmmma...a"
- /* 4 */ "mmmmmmmmmmma...a"
- /* 5 */ "mmmmmmmmmmma...a"
- /* 6 */ "mmmmmmmmmmma...a"
- /* 7 */ "mmmmmmmmmmma...a"
- /* 8 */ "mmmmmmmmmmma...a"
- /* 9 */ "mmmmmmmmmmma...a"
- /* 10 */ "mmmmmmmmmmma...a"
- /* 11 */ "mmmmmmmmmaaa...a"
- /* 12 */ "mmmm...........a"
- /* 13 */ "mmmm...........a"
- /* 14 */ "mmmm...........a"
- /* 15 */ "mmmmmmmmmaaa...a"
-
- // Level 12
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmm...m"
- /* 1 */ "mmmmmmmmmmmm...m"
- /* 2 */ "mmmmmmmmmmmm...m"
- /* 3 */ "mmmmmmmmmmmm...m"
- /* 4 */ "mmmmmmmmmmmm...m"
- /* 5 */ "mmmmmmmmmmmm...m"
- /* 6 */ "mmmmmmmmmmmm...m"
- /* 7 */ "mmmmmmmmmmmm...m"
- /* 8 */ "mmmmmmmmmmmm...m"
- /* 9 */ "mmmmmmmmmmmm...m"
- /* 10 */ "mmmmmmmmmmmm...m"
- /* 11 */ "mmmmmmmmmmmm...m"
- /* 12 */ "mmmmmm.........m"
- /* 13 */ "mmmmmm.........m"
- /* 14 */ "mmmmmm.........m"
- /* 15 */ "mmmmmmmmmmmm...m"
-
- // Level 13
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmm...m"
- /* 1 */ "mmmmmmmmmmmm...m"
- /* 2 */ "mmmmmmmmmmmm...m"
- /* 3 */ "mmmmmmmmmmmm...m"
- /* 4 */ "mmmmmmmmmmmm...m"
- /* 5 */ "mmmmmmmmmmmm...m"
- /* 6 */ "mmmmmmmmmmmm...m"
- /* 7 */ "mmmmmmmmmmmm...m"
- /* 8 */ "mmmmmmmmmmmm...m"
- /* 9 */ "mmmmmmmmmmmm...m"
- /* 10 */ "mmmmmmmmmmmm...m"
- /* 11 */ "mmmmmmmmmmmm...m"
- /* 12 */ "mmmmmmmm.......m"
- /* 13 */ "mmmmmmmm.......m"
- /* 14 */ "mmmmmmmm.......m"
- /* 15 */ "mmmmmmmmmmmm...m",
-
- // Connectors:
- "0: 0, 5, 2: 4\n" /* Type 0, direction X- */
- "0: 15, 5, 2: 5\n" /* Type 0, direction X+ */
- "0: 13, 11, 0: 2\n" /* Type 0, direction Z- */
- "0: 13, 11, 15: 3\n" /* Type 0, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 20,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BridgeLevelCrossing
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeSegment:
- // The data has been exported from the gallery Nether, area index 16, ID 158, created by Aloe_vera
- {
- // Size:
- 15, 8, 5, // SizeX = 15, SizeY = 8, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 14, 17, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 5\n" /* netherbrickstairs */
- "c:114: 4\n" /* netherbrickstairs */
- "d: 44:14\n" /* step */
- "e:114: 6\n" /* netherbrickstairs */
- "f:114: 7\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmmaa"
- /* 2 */ "aammmmmmmmmmmaa"
- /* 3 */ "aammmmmmmmmmmaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aabmmmmmmmmmcaa"
- /* 2 */ "aabmmmmmmmmmcaa"
- /* 3 */ "aabmmmmmmmmmcaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
-
- // Level 2
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aaabdmmmmmdcaaa"
- /* 2 */ "aaabdmmmmmdcaaa"
- /* 3 */ "aaabdmmmmmdcaaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
-
- // Level 3
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "eeeeeeeeeeeeeee"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "fffffffffffffff"
-
- // Level 4
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaaa"
-
- // Level 5
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "aaaaaaaaaaaaaaa"
-
- // Level 6
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "mmmmmmmmmmmmmmm"
-
- // Level 7
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "mmmmmmmmmmmmmmm",
-
- // Connectors:
- "0: 0, 5, 2: 4\n" /* Type 0, direction X- */
- "0: 14, 5, 2: 5\n" /* Type 0, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 500,
-
- // DepthWeight:
- "4:-3000|8:-3000|12:-3000|16:-3000|20:-3000",
-
- // AddWeightIfSame:
- 1000,
-
- // MoveToGround:
- false,
- }, // BridgeSegment
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // BridgeTee:
- // The data has been exported from the gallery Nether, area index 39, ID 290, created by STR_Warrior
- {
- // Size:
- 15, 8, 10, // SizeX = 15, SizeY = 8, SizeZ = 10
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 14, 17, 9, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 5\n" /* netherbrickstairs */
- "c:114: 4\n" /* netherbrickstairs */
- "d:114: 6\n" /* netherbrickstairs */
- "e: 44:14\n" /* step */
- "f:114: 7\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmmaa"
- /* 2 */ "aammmmmmmmmmmaa"
- /* 3 */ "aammmmmmmmmmmaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmaaammmmmm"
- /* 9 */ "mmmmmmaaammmmmm"
-
- // Level 1
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aabmmmmmmmmmcaa"
- /* 2 */ "aabmmmmmmmmmcaa"
- /* 3 */ "aabmmmmmmmmmcaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmdddmmmmmm"
- /* 8 */ "mmmmmmaaammmmmm"
- /* 9 */ "mmmmmmaaammmmmm"
-
- // Level 2
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "aaabemmmmmecaaa"
- /* 2 */ "aaabemmmmmecaaa"
- /* 3 */ "aaabemmmmmecaaa"
- /* 4 */ "mmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmeeemmmmmm"
- /* 6 */ "mmmmmmdddmmmmmm"
- /* 7 */ "mmmmmmaaammmmmm"
- /* 8 */ "mmmmmmaaammmmmm"
- /* 9 */ "mmmmmmaaammmmmm"
-
- // Level 3
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "ddddddddddddddd"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "fffffcaaabfffff"
- /* 5 */ "mmmmmcaaabmmmmm"
- /* 6 */ "mmmmmcaaabmmmmm"
- /* 7 */ "mmmmmcaaabmmmmm"
- /* 8 */ "mmmmmcaaabmmmmm"
- /* 9 */ "mmmmmcaaabmmmmm"
-
- // Level 4
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaaa"
- /* 5 */ "mmmmmaaaaammmmm"
- /* 6 */ "mmmmmaaaaammmmm"
- /* 7 */ "mmmmmaaaaammmmm"
- /* 8 */ "mmmmmaaaaammmmm"
- /* 9 */ "mmmmmaaaaammmmm"
-
- // Level 5
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "aaaaaa...aaaaaa"
- /* 5 */ "mmmmma...ammmmm"
- /* 6 */ "mmmmma...ammmmm"
- /* 7 */ "mmmmma...ammmmm"
- /* 8 */ "mmmmma...ammmmm"
- /* 9 */ "mmmmma...ammmmm"
-
- // Level 6
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "mmmmmm...mmmmmm"
- /* 5 */ "mmmmmm...mmmmmm"
- /* 6 */ "mmmmmm...mmmmmm"
- /* 7 */ "mmmmmm...mmmmmm"
- /* 8 */ "mmmmmm...mmmmmm"
- /* 9 */ "mmmmmm...mmmmmm"
-
- // Level 7
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "mmmmmmmmmmmmmmm"
- /* 1 */ "..............."
- /* 2 */ "..............."
- /* 3 */ "..............."
- /* 4 */ "mmmmmm...mmmmmm"
- /* 5 */ "mmmmmm...mmmmmm"
- /* 6 */ "mmmmmm...mmmmmm"
- /* 7 */ "mmmmmm...mmmmmm"
- /* 8 */ "mmmmmm...mmmmmm"
- /* 9 */ "mmmmmm...mmmmmm",
-
- // Connectors:
- "0: 0, 5, 2: 4\n" /* Type 0, direction X- */
- "0: 7, 5, 9: 3\n" /* Type 0, direction Z+ */
- "0: 14, 5, 2: 5\n" /* Type 0, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 10,
-
- // DepthWeight:
- "1:500",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BridgeTee
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // Corridor11:
- // The data has been exported from the gallery Nether, area index 36, ID 287, created by Aloe_vera
- {
- // Size:
- 11, 6, 5, // SizeX = 11, SizeY = 6, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 10, 5, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c:114: 2\n" /* netherbrickstairs */
- "d:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "aaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaa"
-
- // Level 1
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "aaaaaaaaaaa"
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ "aaaaaaaaaaa"
-
- // Level 2
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "abababababa"
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ "abababababa"
-
- // Level 3
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "abababababa"
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ "abababababa"
-
- // Level 4
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "abababababa"
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ "abababababa"
-
- // Level 5
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "ccccccccccc"
- /* 1 */ "aaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaa"
- /* 4 */ "ddddddddddd",
-
- // Connectors:
- "1: 10, 1, 2: 5\n" /* Type 1, direction X+ */
- "1: 0, 1, 2: 4\n" /* Type 1, direction X- */
- "-1: 10, 1, 2: 5\n" /* Type -1, direction X+ */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 300,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // Corridor11
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // Corridor13:
- // The data has been exported from the gallery Nether, area index 35, ID 286, created by Aloe_vera
- {
- // Size:
- 13, 6, 5, // SizeX = 13, SizeY = 6, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 12, 5, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c:114: 2\n" /* netherbrickstairs */
- "d:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
-
- // Level 1
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "............."
- /* 2 */ "............."
- /* 3 */ "............."
- /* 4 */ "aaaaaaaaaaaaa"
-
- // Level 2
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "ababababababa"
- /* 1 */ "............."
- /* 2 */ "............."
- /* 3 */ "............."
- /* 4 */ "ababababababa"
-
- // Level 3
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "ababababababa"
- /* 1 */ "............."
- /* 2 */ "............."
- /* 3 */ "............."
- /* 4 */ "ababababababa"
-
- // Level 4
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "ababababababa"
- /* 1 */ "............."
- /* 2 */ "............."
- /* 3 */ "............."
- /* 4 */ "ababababababa"
-
- // Level 5
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "ccccccccccccc"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "ddddddddddddd",
-
- // Connectors:
- "1: 12, 1, 2: 5\n" /* Type 1, direction X+ */
- "1: 0, 1, 2: 4\n" /* Type 1, direction X- */
- "-1: 12, 1, 2: 5\n" /* Type -1, direction X+ */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 300,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // Corridor13
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // Corridor5:
- // The data has been exported from the gallery Nether, area index 65, ID 330, created by xoft
- {
- // Size:
- 5, 6, 5, // SizeX = 5, SizeY = 6, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 4, 5, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c:114: 2\n" /* netherbrickstairs */
- "d:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 01234 */
- /* 0 */ "aaaaa"
- /* 1 */ "aaaaa"
- /* 2 */ "aaaaa"
- /* 3 */ "aaaaa"
- /* 4 */ "aaaaa"
-
- // Level 1
- /* z\x* 01234 */
- /* 0 */ "aaaaa"
- /* 1 */ "....."
- /* 2 */ "....."
- /* 3 */ "....."
- /* 4 */ "aaaaa"
-
- // Level 2
- /* z\x* 01234 */
- /* 0 */ "ababa"
- /* 1 */ "....."
- /* 2 */ "....."
- /* 3 */ "....."
- /* 4 */ "ababa"
-
- // Level 3
- /* z\x* 01234 */
- /* 0 */ "ababa"
- /* 1 */ "....."
- /* 2 */ "....."
- /* 3 */ "....."
- /* 4 */ "ababa"
-
- // Level 4
- /* z\x* 01234 */
- /* 0 */ "ababa"
- /* 1 */ "....."
- /* 2 */ "....."
- /* 3 */ "....."
- /* 4 */ "ababa"
-
- // Level 5
- /* z\x* 01234 */
- /* 0 */ "ccccc"
- /* 1 */ "aaaaa"
- /* 2 */ "aaaaa"
- /* 3 */ "aaaaa"
- /* 4 */ "ddddd",
-
- // Connectors:
- "1: 4, 1, 2: 5\n" /* Type 1, direction X+ */
- "1: 0, 1, 2: 4\n" /* Type 1, direction X- */
- "-1: 4, 1, 2: 5\n" /* Type -1, direction X+ */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 500,
-
- // DepthWeight:
- "6:0|12:0|18:0",
-
- // AddWeightIfSame:
- 500,
-
- // MoveToGround:
- false,
- }, // Corridor5
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CorridorCorner5:
- // The data has been exported from the gallery Nether, area index 10, ID 40, created by xoft
- {
- // Size:
- 11, 6, 11, // SizeX = 11, SizeY = 6, SizeZ = 11
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 10, 5, 10, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c:114: 2\n" /* netherbrickstairs */
- "d:114: 0\n" /* netherbrickstairs */
- "e:114: 3\n" /* netherbrickstairs */
- "f:114: 1\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "aaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaa"
- /* 5 */ "aaaaammmmmm"
- /* 6 */ "aaaaammmmmm"
- /* 7 */ "aaaaammmmmm"
- /* 8 */ "aaaaammmmmm"
- /* 9 */ "aaaaammmmmm"
- /* 10 */ "aaaaammmmmm"
-
- // Level 1
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "aaaaaaaaaaa"
- /* 1 */ "a.........."
- /* 2 */ "a.........."
- /* 3 */ "a.........."
- /* 4 */ "a...aaaaaaa"
- /* 5 */ "a...ammmmmm"
- /* 6 */ "a...ammmmmm"
- /* 7 */ "a...ammmmmm"
- /* 8 */ "a...ammmmmm"
- /* 9 */ "a...ammmmmm"
- /* 10 */ "a...ammmmmm"
-
- // Level 2
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "abababababa"
- /* 1 */ "b.........."
- /* 2 */ "a.........."
- /* 3 */ "b.........."
- /* 4 */ "a...abababa"
- /* 5 */ "b...bmmmmmm"
- /* 6 */ "a...ammmmmm"
- /* 7 */ "b...bmmmmmm"
- /* 8 */ "a...ammmmmm"
- /* 9 */ "b...bmmmmmm"
- /* 10 */ "a...ammmmmm"
-
- // Level 3
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "abababababa"
- /* 1 */ "b.........."
- /* 2 */ "a.........."
- /* 3 */ "b.........."
- /* 4 */ "a...abababa"
- /* 5 */ "b...bmmmmmm"
- /* 6 */ "a...ammmmmm"
- /* 7 */ "b...bmmmmmm"
- /* 8 */ "a...ammmmmm"
- /* 9 */ "b...bmmmmmm"
- /* 10 */ "a...ammmmmm"
-
- // Level 4
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "abababababa"
- /* 1 */ "b.........."
- /* 2 */ "a.........."
- /* 3 */ "b.........."
- /* 4 */ "a...abababa"
- /* 5 */ "b...bmmmmmm"
- /* 6 */ "a...ammmmmm"
- /* 7 */ "b...bmmmmmm"
- /* 8 */ "a...ammmmmm"
- /* 9 */ "b...bmmmmmm"
- /* 10 */ "a...ammmmmm"
-
- // Level 5
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "ccccccccccc"
- /* 1 */ "daaaaaaaaaa"
- /* 2 */ "daaaaaaaaaa"
- /* 3 */ "daaaaaaaaaa"
- /* 4 */ "daaaeeeeeee"
- /* 5 */ "daaafmmmmmm"
- /* 6 */ "daaafmmmmmm"
- /* 7 */ "daaafmmmmmm"
- /* 8 */ "daaafmmmmmm"
- /* 9 */ "daaafmmmmmm"
- /* 10 */ "daaafmmmmmm",
-
- // Connectors:
- "1: 2, 1, 10: 3\n" /* Type 1, direction Z+ */
- "1: 10, 1, 2: 5\n" /* Type 1, direction X+ */
- "-1: 2, 1, 10: 3\n" /* Type -1, direction Z+ */
- "-1: 10, 1, 2: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CorridorCorner5
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CorridorCornerChest5:
- // The data has been exported from the gallery Nether, area index 42, ID 293, created by STR_Warrior
- {
- // Size:
- 11, 6, 11, // SizeX = 11, SizeY = 6, SizeZ = 11
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 10, 5, 10, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b: 54: 5\n" /* chest */
- "c:113: 0\n" /* netherbrickfence */
- "d:114: 0\n" /* netherbrickstairs */
- "e:114: 2\n" /* netherbrickstairs */
- "f:114: 1\n" /* netherbrickstairs */
- "g:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "aaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaa"
- /* 5 */ "aaaaammmmmm"
- /* 6 */ "aaaaammmmmm"
- /* 7 */ "aaaaammmmmm"
- /* 8 */ "aaaaammmmmm"
- /* 9 */ "aaaaammmmmm"
- /* 10 */ "aaaaammmmmm"
-
- // Level 1
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "aaaaaaaaaaa"
- /* 1 */ "ab........."
- /* 2 */ "a.........."
- /* 3 */ "a.........."
- /* 4 */ "a...aaaaaaa"
- /* 5 */ "a...ammmmmm"
- /* 6 */ "a...ammmmmm"
- /* 7 */ "a...ammmmmm"
- /* 8 */ "a...ammmmmm"
- /* 9 */ "a...ammmmmm"
- /* 10 */ "a...ammmmmm"
-
- // Level 2
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "acacacacaca"
- /* 1 */ "c.........."
- /* 2 */ "a.........."
- /* 3 */ "c.........."
- /* 4 */ "a...acacaca"
- /* 5 */ "c...cmmmmmm"
- /* 6 */ "a...ammmmmm"
- /* 7 */ "c...cmmmmmm"
- /* 8 */ "a...ammmmmm"
- /* 9 */ "c...cmmmmmm"
- /* 10 */ "a...ammmmmm"
-
- // Level 3
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "acacacacaca"
- /* 1 */ "c.........."
- /* 2 */ "a.........."
- /* 3 */ "c.........."
- /* 4 */ "a...acacaca"
- /* 5 */ "c...cmmmmmm"
- /* 6 */ "a...ammmmmm"
- /* 7 */ "c...cmmmmmm"
- /* 8 */ "a...ammmmmm"
- /* 9 */ "c...cmmmmmm"
- /* 10 */ "a...ammmmmm"
-
- // Level 4
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "acacacacaca"
- /* 1 */ "c.........."
- /* 2 */ "a.........."
- /* 3 */ "c.........."
- /* 4 */ "a...acacaca"
- /* 5 */ "c...cmmmmmm"
- /* 6 */ "a...ammmmmm"
- /* 7 */ "c...cmmmmmm"
- /* 8 */ "a...ammmmmm"
- /* 9 */ "c...cmmmmmm"
- /* 10 */ "a...ammmmmm"
-
- // Level 5
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "deeeeeeeeee"
- /* 1 */ "daaaaaaaaaa"
- /* 2 */ "daaaaaaaaaa"
- /* 3 */ "daaaaaaaaaa"
- /* 4 */ "daaafgggggg"
- /* 5 */ "daaafmmmmmm"
- /* 6 */ "daaafmmmmmm"
- /* 7 */ "daaafmmmmmm"
- /* 8 */ "daaafmmmmmm"
- /* 9 */ "daaafmmmmmm"
- /* 10 */ "daaafmmmmmm",
-
- // Connectors:
- "1: 10, 1, 2: 5\n" /* Type 1, direction X+ */
- "1: 2, 1, 10: 3\n" /* Type 1, direction Z+ */
- "-1: 2, 1, 10: 3\n" /* Type -1, direction Z+ */
- "-1: 10, 1, 2: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CorridorCornerChest5
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CorridorCrossing:
- // The data has been exported from the gallery Nether, area index 63, ID 328, created by xoft
- {
- // Size:
- 9, 6, 9, // SizeX = 9, SizeY = 6, SizeZ = 9
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 8, 5, 8, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c:114: 0\n" /* netherbrickstairs */
- "d:114: 1\n" /* netherbrickstairs */
- "e:114: 2\n" /* netherbrickstairs */
- "f:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 012345678 */
- /* 0 */ "mmaaaaamm"
- /* 1 */ "mmaaaaamm"
- /* 2 */ "aaaaaaaaa"
- /* 3 */ "aaaaaaaaa"
- /* 4 */ "aaaaaaaaa"
- /* 5 */ "aaaaaaaaa"
- /* 6 */ "aaaaaaaaa"
- /* 7 */ "mmaaaaamm"
- /* 8 */ "mmaaaaamm"
-
- // Level 1
- /* z\x* 012345678 */
- /* 0 */ "mma...amm"
- /* 1 */ "mma...amm"
- /* 2 */ "aaa...aaa"
- /* 3 */ "........."
- /* 4 */ "........."
- /* 5 */ "........."
- /* 6 */ "aaa...aaa"
- /* 7 */ "mma...amm"
- /* 8 */ "mma...amm"
-
- // Level 2
- /* z\x* 012345678 */
- /* 0 */ "mma...amm"
- /* 1 */ "mmb...bmm"
- /* 2 */ "aba...aba"
- /* 3 */ "........."
- /* 4 */ "........."
- /* 5 */ "........."
- /* 6 */ "aba...aba"
- /* 7 */ "mmb...bmm"
- /* 8 */ "mma...amm"
-
- // Level 3
- /* z\x* 012345678 */
- /* 0 */ "mma...amm"
- /* 1 */ "mmb...bmm"
- /* 2 */ "aba...aba"
- /* 3 */ "........."
- /* 4 */ "........."
- /* 5 */ "........."
- /* 6 */ "aba...aba"
- /* 7 */ "mmb...bmm"
- /* 8 */ "mma...amm"
-
- // Level 4
- /* z\x* 012345678 */
- /* 0 */ "mma...amm"
- /* 1 */ "mmb...bmm"
- /* 2 */ "aba...aba"
- /* 3 */ "........."
- /* 4 */ "........."
- /* 5 */ "........."
- /* 6 */ "aba...aba"
- /* 7 */ "mmb...bmm"
- /* 8 */ "mma...amm"
-
- // Level 5
- /* z\x* 012345678 */
- /* 0 */ "mmcaaadmm"
- /* 1 */ "mmcaaadmm"
- /* 2 */ "eeeaaaeee"
- /* 3 */ "aaaaaaaaa"
- /* 4 */ "aaaaaaaaa"
- /* 5 */ "aaaaaaaaa"
- /* 6 */ "ffcaaadff"
- /* 7 */ "mmcaaadmm"
- /* 8 */ "mmcaaadmm",
-
- // Connectors:
- "1: 8, 1, 4: 5\n" /* Type 1, direction X+ */
- "1: 4, 1, 0: 2\n" /* Type 1, direction Z- */
- "1: 4, 1, 8: 3\n" /* Type 1, direction Z+ */
- "1: 0, 1, 4: 4\n" /* Type 1, direction X- */
- "-1: 8, 1, 4: 5\n" /* Type -1, direction X+ */
- "-1: 4, 1, 8: 3\n" /* Type -1, direction Z+ */
- "-1: 0, 1, 4: 4\n" /* Type -1, direction X- */
- "-1: 4, 1, 0: 2\n" /* Type -1, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- -50,
-
- // MoveToGround:
- false,
- }, // CorridorCrossing
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CorridorStairs:
- // The data has been exported from the gallery Nether, area index 12, ID 42, created by xoft
- {
- // Size:
- 9, 13, 5, // SizeX = 9, SizeY = 13, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 8, 12, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 0\n" /* netherbrickstairs */
- "c:113: 0\n" /* netherbrickfence */
- "d:114: 2\n" /* netherbrickstairs */
- "e:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 012345678 */
- /* 0 */ "aaaaaaaaa"
- /* 1 */ "aaaaaaaaa"
- /* 2 */ "aaaaaaaaa"
- /* 3 */ "aaaaaaaaa"
- /* 4 */ "aaaaaaaaa"
-
- // Level 1
- /* z\x* 012345678 */
- /* 0 */ "aaaaaaaaa"
- /* 1 */ ".baaaaaaa"
- /* 2 */ ".baaaaaaa"
- /* 3 */ ".baaaaaaa"
- /* 4 */ "aaaaaaaaa"
-
- // Level 2
- /* z\x* 012345678 */
- /* 0 */ "acaaaaaaa"
- /* 1 */ "..baaaaaa"
- /* 2 */ "..baaaaaa"
- /* 3 */ "..baaaaaa"
- /* 4 */ "acaaaaaaa"
-
- // Level 3
- /* z\x* 012345678 */
- /* 0 */ "acaaaaaaa"
- /* 1 */ "...baaaaa"
- /* 2 */ "...baaaaa"
- /* 3 */ "...baaaaa"
- /* 4 */ "acaaaaaaa"
-
- // Level 4
- /* z\x* 012345678 */
- /* 0 */ "acacaaaaa"
- /* 1 */ "....baaaa"
- /* 2 */ "....baaaa"
- /* 3 */ "....baaaa"
- /* 4 */ "acacaaaaa"
-
- // Level 5
- /* z\x* 012345678 */
- /* 0 */ "aaacaaaaa"
- /* 1 */ ".....baaa"
- /* 2 */ ".....baaa"
- /* 3 */ ".....baaa"
- /* 4 */ "aaacaaaaa"
-
- // Level 6
- /* z\x* 012345678 */
- /* 0 */ "daacacaaa"
- /* 1 */ "a.....baa"
- /* 2 */ "a.....baa"
- /* 3 */ "a.....baa"
- /* 4 */ "eaacacaaa"
-
- // Level 7
- /* z\x* 012345678 */
- /* 0 */ "mdaaacaaa"
- /* 1 */ "ma.....ba"
- /* 2 */ "ma.....ba"
- /* 3 */ "ma.....ba"
- /* 4 */ "meaaacaaa"
-
- // Level 8
- /* z\x* 012345678 */
- /* 0 */ "mmdaacaca"
- /* 1 */ "mma......"
- /* 2 */ "mma......"
- /* 3 */ "mma......"
- /* 4 */ "mmeaacaca"
-
- // Level 9
- /* z\x* 012345678 */
- /* 0 */ "mmmdaaaca"
- /* 1 */ "mmma....."
- /* 2 */ "mmma....."
- /* 3 */ "mmma....."
- /* 4 */ "mmmeaaaca"
-
- // Level 10
- /* z\x* 012345678 */
- /* 0 */ "mmmmdaaca"
- /* 1 */ "mmmma...."
- /* 2 */ "mmmma...."
- /* 3 */ "mmmma...."
- /* 4 */ "mmmmeaaca"
-
- // Level 11
- /* z\x* 012345678 */
- /* 0 */ "mmmmmdaaa"
- /* 1 */ "mmmmma..."
- /* 2 */ "mmmmma..."
- /* 3 */ "mmmmma..."
- /* 4 */ "mmmmmeaaa"
-
- // Level 12
- /* z\x* 012345678 */
- /* 0 */ "mmmmmmddd"
- /* 1 */ "mmmmmmaaa"
- /* 2 */ "mmmmmmaaa"
- /* 3 */ "mmmmmmaaa"
- /* 4 */ "mmmmmmeee",
-
- // Connectors:
- "1: 0, 1, 2: 4\n" /* Type 1, direction X- */
- "1: 8, 8, 2: 5\n" /* Type 1, direction X+ */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */
- "-1: 8, 8, 2: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 1000,
-
- // DepthWeight:
- "0:0|2:0|4:0|6:0|8:0|10:0|12:0|14:0|16:0|18:0",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CorridorStairs
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // DarkCorridor:
- // The data has been exported from the gallery Nether, area index 3, ID 30, created by STR_Warrior
- {
- // Size:
- 14, 6, 5, // SizeX = 14, SizeY = 6, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 13, 5, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c:114: 2\n" /* netherbrickstairs */
- "d:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "aaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaa"
-
- // Level 1
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "aaaaaaaaaaaaaa"
- /* 1 */ ".............."
- /* 2 */ ".............."
- /* 3 */ ".............."
- /* 4 */ "aaaaaaaaaaaaaa"
-
- // Level 2
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "aabaaaaaaaabaa"
- /* 1 */ ".............."
- /* 2 */ ".............."
- /* 3 */ ".............."
- /* 4 */ "aabaaaaaaaabaa"
-
- // Level 3
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "aabaaaaaaaabaa"
- /* 1 */ ".............."
- /* 2 */ ".............."
- /* 3 */ ".............."
- /* 4 */ "aabaaaaaaaabaa"
-
- // Level 4
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "aabaaaaaaaabaa"
- /* 1 */ ".............."
- /* 2 */ ".............."
- /* 3 */ ".............."
- /* 4 */ "aabaaaaaaaabaa"
-
- // Level 5
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "cccccccccccccc"
- /* 1 */ "aaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaa"
- /* 4 */ "dddddddddddddd",
-
- // Connectors:
- "1: 0, 1, 2: 4\n" /* Type 1, direction X- */
- "1: 13, 1, 2: 5\n" /* Type 1, direction X+ */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */
- "-1: 13, 1, 2: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // DarkCorridor
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // LavaStaircase:
- // The data has been exported from the gallery Nether, area index 28, ID 278, created by Aloe_vera
- {
- // Size:
- 15, 11, 15, // SizeX = 15, SizeY = 11, SizeZ = 15
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 14, 10, 14, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c: 10: 0\n" /* lava */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaaaaa"
-
- // Level 1
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaa...aaaa"
- /* 1 */ "aaaaa.........a"
- /* 2 */ "aaaaa.........a"
- /* 3 */ "aaaaab........a"
- /* 4 */ "accca...aaaa..a"
- /* 5 */ "accca...acca..a"
- /* 6 */ "acccaaaaacca..a"
- /* 7 */ "acccccccccca..a"
- /* 8 */ "acccaaaaacca..a"
- /* 9 */ "accca...acca..a"
- /* 10 */ "accca...aaaa..a"
- /* 11 */ "aaaaab........a"
- /* 12 */ "aaaaa.........a"
- /* 13 */ "aaaaa.........a"
- /* 14 */ "aaaaaaaa...aaaa"
-
- // Level 2
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaa...aaaa"
- /* 1 */ "aaaa..........a"
- /* 2 */ "aaaa..........a"
- /* 3 */ "aaaabb........a"
- /* 4 */ "aaaa..........a"
- /* 5 */ "a.............a"
- /* 6 */ "a.............a"
- /* 7 */ "a.............a"
- /* 8 */ "a.............a"
- /* 9 */ "a.............a"
- /* 10 */ "aaaa..........a"
- /* 11 */ "aaaabb........a"
- /* 12 */ "aaaa..........a"
- /* 13 */ "aaaa..........a"
- /* 14 */ "aaaaaaaa...aaaa"
-
- // Level 3
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaa...aaaa"
- /* 1 */ "a.............a"
- /* 2 */ "a.............a"
- /* 3 */ "a..bb.........a"
- /* 4 */ "aaaa..........a"
- /* 5 */ "aaaa..........a"
- /* 6 */ "a.............a"
- /* 7 */ "a.............a"
- /* 8 */ "a.............a"
- /* 9 */ "aaaa..........a"
- /* 10 */ "aaaa..........a"
- /* 11 */ "a..bb.........a"
- /* 12 */ "a.............a"
- /* 13 */ "a.............a"
- /* 14 */ "aaaaaaaa...aaaa"
-
- // Level 4
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaa...aaaa"
- /* 1 */ "a.............a"
- /* 2 */ "a.............a"
- /* 3 */ "a..b..........a"
- /* 4 */ "a..b..........a"
- /* 5 */ "aaaa..........a"
- /* 6 */ "aaaa..........a"
- /* 7 */ "a.............a"
- /* 8 */ "aaaa..........a"
- /* 9 */ "aaaa..........a"
- /* 10 */ "a..b..........a"
- /* 11 */ "a..b..........a"
- /* 12 */ "a.............a"
- /* 13 */ "a.............a"
- /* 14 */ "aaaaaaaa...aaaa"
-
- // Level 5
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "a.............a"
- /* 2 */ "a.............a"
- /* 3 */ "a.............a"
- /* 4 */ "a..b..........a"
- /* 5 */ "a..b..........a"
- /* 6 */ "aaaa..........a"
- /* 7 */ "aaaa..........a"
- /* 8 */ "aaaa..........a"
- /* 9 */ "a..b..........a"
- /* 10 */ "a..b..........a"
- /* 11 */ "a.............a"
- /* 12 */ "a.............a"
- /* 13 */ "a.............a"
- /* 14 */ "aaaaaaaaaaaaaaa"
-
- // Level 6
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "a.............a"
- /* 2 */ "a.............a"
- /* 3 */ "a.............a"
- /* 4 */ "a.............a"
- /* 5 */ "a..b..........a"
- /* 6 */ "...b..........a"
- /* 7 */ "...b..........a"
- /* 8 */ "...b..........a"
- /* 9 */ "a..b..........a"
- /* 10 */ "a.............a"
- /* 11 */ "a.............a"
- /* 12 */ "a.............a"
- /* 13 */ "a.............a"
- /* 14 */ "aaaaaaaaaaaaaaa"
-
- // Level 7
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aababababababaa"
- /* 1 */ "a.............a"
- /* 2 */ "b.............b"
- /* 3 */ "a.............a"
- /* 4 */ "b.............b"
- /* 5 */ "a.............a"
- /* 6 */ "..............b"
- /* 7 */ "..............a"
- /* 8 */ "..............b"
- /* 9 */ "a.............a"
- /* 10 */ "b.............b"
- /* 11 */ "a.............a"
- /* 12 */ "b.............b"
- /* 13 */ "a.............a"
- /* 14 */ "aababababababaa"
-
- // Level 8
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aababababababaa"
- /* 1 */ "a.............a"
- /* 2 */ "b.............b"
- /* 3 */ "a.............a"
- /* 4 */ "b.............b"
- /* 5 */ "a.............a"
- /* 6 */ "..............b"
- /* 7 */ "..............a"
- /* 8 */ "..............b"
- /* 9 */ "a.............a"
- /* 10 */ "b.............b"
- /* 11 */ "a.............a"
- /* 12 */ "b.............b"
- /* 13 */ "a.............a"
- /* 14 */ "aababababababaa"
-
- // Level 9
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aababababababaa"
- /* 1 */ "a.............a"
- /* 2 */ "b.............b"
- /* 3 */ "a.............a"
- /* 4 */ "b.............b"
- /* 5 */ "a.............a"
- /* 6 */ "..............b"
- /* 7 */ "..............a"
- /* 8 */ "..............b"
- /* 9 */ "a.............a"
- /* 10 */ "b.............b"
- /* 11 */ "a.............a"
- /* 12 */ "b.............b"
- /* 13 */ "a.............a"
- /* 14 */ "aababababababaa"
-
- // Level 10
- /* z\x* 11111 */
- /* * 012345678901234 */
- /* 0 */ "aaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaaaaa",
-
- // Connectors:
- "1: 0, 6, 7: 4\n" /* Type 1, direction X- */
- "1: 9, 1, 14: 3\n" /* Type 1, direction Z+ */
- "1: 9, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 0, 6, 7: 4\n" /* Type -1, direction X- */
- "-1: 9, 1, 14: 3\n" /* Type -1, direction Z+ */
- "-1: 9, 1, 0: 2\n" /* Type -1, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 10,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // LavaStaircase
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // LavaStaircaseBig:
- // The data has been exported from the gallery Nether, area index 31, ID 282, created by STR_Warrior
- {
- // Size:
- 12, 15, 15, // SizeX = 12, SizeY = 15, SizeZ = 15
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 11, 14, 14, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b: 10: 0\n" /* lava */
- "c:113: 0\n" /* netherbrickfence */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 1
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaa"
- /* 4 */ "abbbbbaaaaaa"
- /* 5 */ "abbbbbbaaaaa"
- /* 6 */ "abbbbbba...."
- /* 7 */ "abbbbbba...."
- /* 8 */ "abbbbbba...."
- /* 9 */ "abbbbbbaaaaa"
- /* 10 */ "abbbbb.aaaaa"
- /* 11 */ "aaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 2
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaa"
- /* 4 */ "abbbbbaaaaaa"
- /* 5 */ "abbbbbba...a"
- /* 6 */ "abbbbbba...."
- /* 7 */ "abbbbbba...."
- /* 8 */ "abbbbbba...."
- /* 9 */ "abbbbbba...a"
- /* 10 */ "abbbbb.aaaaa"
- /* 11 */ "aaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 3
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaa"
- /* 4 */ "abbbbbaa...a"
- /* 5 */ "abbbbbba...a"
- /* 6 */ "abbbbbba...."
- /* 7 */ "abbbbbba...."
- /* 8 */ "abbbbbba...."
- /* 9 */ "abbbbbba...a"
- /* 10 */ "abbbbbaa...a"
- /* 11 */ "aaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 4
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "aaaaa......a"
- /* 2 */ "aaaaa......a"
- /* 3 */ "aaaaacc....a"
- /* 4 */ "a.....cc...a"
- /* 5 */ "a......c...a"
- /* 6 */ "a......c...a"
- /* 7 */ "a......c...a"
- /* 8 */ "a......c...a"
- /* 9 */ "a......c...a"
- /* 10 */ "a.....cc...a"
- /* 11 */ "aaaaacc....a"
- /* 12 */ "aaaaa......a"
- /* 13 */ "aaaaa......a"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 5
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "aaaa.......a"
- /* 2 */ "aaaa.......a"
- /* 3 */ "aaaacc.....a"
- /* 4 */ "aaaa.......a"
- /* 5 */ "a..........a"
- /* 6 */ "a..........a"
- /* 7 */ "a..........a"
- /* 8 */ "a..........a"
- /* 9 */ "a..........a"
- /* 10 */ "aaaa.......a"
- /* 11 */ "aaaacc.....a"
- /* 12 */ "aaaa.......a"
- /* 13 */ "aaaa.......a"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 6
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "a..........a"
- /* 2 */ "a..........a"
- /* 3 */ "a..cc......a"
- /* 4 */ "aaaa.......a"
- /* 5 */ "aaaa.......a"
- /* 6 */ "a..........a"
- /* 7 */ "a..........a"
- /* 8 */ "a..........a"
- /* 9 */ "aaaa.......a"
- /* 10 */ "aaaa.......a"
- /* 11 */ "a..cc......a"
- /* 12 */ "a..........a"
- /* 13 */ "a..........a"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 7
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "a..........a"
- /* 2 */ "a..........a"
- /* 3 */ "a..c.......a"
- /* 4 */ "a..c.......a"
- /* 5 */ "aaaa.......a"
- /* 6 */ "aaaa.......a"
- /* 7 */ "a..........a"
- /* 8 */ "aaaa.......a"
- /* 9 */ "aaaa.......a"
- /* 10 */ "a..c.......a"
- /* 11 */ "a..c.......a"
- /* 12 */ "a..........a"
- /* 13 */ "a..........a"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 8
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "a..........a"
- /* 2 */ "a..........a"
- /* 3 */ "a..........a"
- /* 4 */ "a..c.......a"
- /* 5 */ "a..c.......a"
- /* 6 */ "aaaa.......a"
- /* 7 */ "aaaa.......a"
- /* 8 */ "aaaa.......a"
- /* 9 */ "a..c.......a"
- /* 10 */ "a..c.......a"
- /* 11 */ "a..........a"
- /* 12 */ "a..........a"
- /* 13 */ "a..........a"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 9
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "a..........a"
- /* 2 */ "a..........a"
- /* 3 */ "a..........a"
- /* 4 */ "a..........a"
- /* 5 */ "a..c.......a"
- /* 6 */ "...c.......a"
- /* 7 */ "...c.......a"
- /* 8 */ "...c.......a"
- /* 9 */ "a..c.......a"
- /* 10 */ "a..........a"
- /* 11 */ "a..........a"
- /* 12 */ "a..........a"
- /* 13 */ "a..........a"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 10
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "a..........a"
- /* 2 */ "a..........a"
- /* 3 */ "a..........a"
- /* 4 */ "a..........a"
- /* 5 */ "a..........a"
- /* 6 */ "...........a"
- /* 7 */ "...........a"
- /* 8 */ "...........a"
- /* 9 */ "a..........a"
- /* 10 */ "a..........a"
- /* 11 */ "a..........a"
- /* 12 */ "a..........a"
- /* 13 */ "a..........a"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 11
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "a..........a"
- /* 2 */ "a..........a"
- /* 3 */ "a..........a"
- /* 4 */ "a..........a"
- /* 5 */ "a..........a"
- /* 6 */ "...........a"
- /* 7 */ "...........a"
- /* 8 */ "...........a"
- /* 9 */ "a..........a"
- /* 10 */ "a..........a"
- /* 11 */ "a..........a"
- /* 12 */ "a..........a"
- /* 13 */ "a..........a"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 12
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "a..........a"
- /* 2 */ "a..........a"
- /* 3 */ "a..........a"
- /* 4 */ "a..........a"
- /* 5 */ "a..........a"
- /* 6 */ "a..........a"
- /* 7 */ "a..........a"
- /* 8 */ "a..........a"
- /* 9 */ "a..........a"
- /* 10 */ "a..........a"
- /* 11 */ "a..........a"
- /* 12 */ "a..........a"
- /* 13 */ "a..........a"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 13
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaa"
-
- // Level 14
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "aaaaaaaaaaaa"
- /* 1 */ "abbbbbbbbbba"
- /* 2 */ "abbbbbbbbbba"
- /* 3 */ "abbbbbbbbbba"
- /* 4 */ "abbbbbbbbbba"
- /* 5 */ "abbbbbbbbbba"
- /* 6 */ "abbbbbbbbbba"
- /* 7 */ "abbbbbbbbbba"
- /* 8 */ "abbbbbbbbbba"
- /* 9 */ "abbbbbbbbbba"
- /* 10 */ "abbbbbbbbbba"
- /* 11 */ "abbbbbbbbbba"
- /* 12 */ "abbbbbbbbbba"
- /* 13 */ "abbbbbbbbbba"
- /* 14 */ "aaaaaaaaaaaa",
-
- // Connectors:
- "1: 11, 1, 7: 5\n" /* Type 1, direction X+ */
- "1: 0, 9, 7: 4\n" /* Type 1, direction X- */
- "-1: 11, 1, 7: 5\n" /* Type -1, direction X+ */
- "-1: 0, 9, 7: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 10,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- -1000,
-
- // MoveToGround:
- false,
- }, // LavaStaircaseBig
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // LavaStairsBridge:
- // The data has been exported from the gallery Nether, area index 30, ID 281, created by STR_Warrior
- {
- // Size:
- 16, 12, 15, // SizeX = 16, SizeY = 12, SizeZ = 15
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 11, 14, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c: 10: 0\n" /* lava */
- "d:114: 2\n" /* netherbrickstairs */
- "e:114: 3\n" /* netherbrickstairs */
- "f:114: 7\n" /* netherbrickstairs */
- "g: 44:14\n" /* step */
- "h:114: 6\n" /* netherbrickstairs */
- "i: 44: 6\n" /* step */
- "j:114: 0\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaaaaaa"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaa...aaaaa"
- /* 1 */ "aaaaa..........a"
- /* 2 */ "aaaaa..........a"
- /* 3 */ "aaaaab.........a"
- /* 4 */ "accca...ddd.aaaa"
- /* 5 */ "accca...aaa.acca"
- /* 6 */ "acccaaaaaaaaacca"
- /* 7 */ "acccccccccccccca"
- /* 8 */ "acccaaaaaaaaacca"
- /* 9 */ "accca...aaa.acca"
- /* 10 */ "accca...eee.aaaa"
- /* 11 */ "aaaaab.........a"
- /* 12 */ "aaaaa..........a"
- /* 13 */ "aaaaa..........a"
- /* 14 */ "aaaaaaaa...aaaaa"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaa...aaaaa"
- /* 1 */ "aaaa...........a"
- /* 2 */ "aaaa...........a"
- /* 3 */ "aaaabb.........a"
- /* 4 */ "aaaa........b..a"
- /* 5 */ "a.......ddd....a"
- /* 6 */ "a.......fff....a"
- /* 7 */ "a.......ggg....a"
- /* 8 */ "a.......hhh....a"
- /* 9 */ "a.......eee....a"
- /* 10 */ "aaaa........b..a"
- /* 11 */ "aaaabb.........a"
- /* 12 */ "aaaa...........a"
- /* 13 */ "aaaa...........a"
- /* 14 */ "aaaaaaaa...aaaaa"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaa...aaaaa"
- /* 1 */ "a..............a"
- /* 2 */ "a..............a"
- /* 3 */ "a..bb..........a"
- /* 4 */ "aaaa........b..a"
- /* 5 */ "aaaa...........a"
- /* 6 */ "a..............a"
- /* 7 */ "a..............a"
- /* 8 */ "a..............a"
- /* 9 */ "aaaa...........a"
- /* 10 */ "aaaa........b..a"
- /* 11 */ "a..bb..........a"
- /* 12 */ "a..............a"
- /* 13 */ "a..............a"
- /* 14 */ "aaaaaaaa...aaaaa"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaabbbaaaaa"
- /* 1 */ "a..............a"
- /* 2 */ "a..............a"
- /* 3 */ "a..b...........a"
- /* 4 */ "a..b........b..a"
- /* 5 */ "aaaa...........a"
- /* 6 */ "aaaa...........a"
- /* 7 */ "a..............a"
- /* 8 */ "aaaa...........a"
- /* 9 */ "aaaa...........a"
- /* 10 */ "a..b........b..a"
- /* 11 */ "a..b...........a"
- /* 12 */ "a..............a"
- /* 13 */ "a..............a"
- /* 14 */ "aaaaaaaabbbaaaaa"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "a..............a"
- /* 2 */ "a..............a"
- /* 3 */ "a...........ggga"
- /* 4 */ "a..b........iija"
- /* 5 */ "a..b........iija"
- /* 6 */ "aaaa........iija"
- /* 7 */ "aaaa........iija"
- /* 8 */ "aaaa........iija"
- /* 9 */ "a..b........iija"
- /* 10 */ "a..b........iija"
- /* 11 */ "a...........ggga"
- /* 12 */ "a..............a"
- /* 13 */ "a..............a"
- /* 14 */ "aaaaaaaaaaaaaaaa"
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "a.............ga"
- /* 2 */ "a............iia"
- /* 3 */ "a..............a"
- /* 4 */ "a..............a"
- /* 5 */ "a..b...........a"
- /* 6 */ "...b...........a"
- /* 7 */ "...b...........a"
- /* 8 */ "...b...........a"
- /* 9 */ "a..b...........a"
- /* 10 */ "a..............a"
- /* 11 */ "a..............a"
- /* 12 */ "a............iia"
- /* 13 */ "a.............ga"
- /* 14 */ "aaaaaaaaaaaaaaaa"
-
- // Level 7
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "a..............a"
- /* 2 */ "a..............a"
- /* 3 */ "a..............a"
- /* 4 */ "a..............a"
- /* 5 */ "a..............a"
- /* 6 */ "...............a"
- /* 7 */ "...............a"
- /* 8 */ "...............a"
- /* 9 */ "a..............a"
- /* 10 */ "a..............a"
- /* 11 */ "a..............a"
- /* 12 */ "a..............a"
- /* 13 */ "a..............a"
- /* 14 */ "aaaaaaaaaaaaaaaa"
-
- // Level 8
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "a..............a"
- /* 2 */ "a..............a"
- /* 3 */ "a..............a"
- /* 4 */ "a..............a"
- /* 5 */ "a..............a"
- /* 6 */ "...............a"
- /* 7 */ "...............a"
- /* 8 */ "...............a"
- /* 9 */ "a..............a"
- /* 10 */ "a..............a"
- /* 11 */ "a..............a"
- /* 12 */ "a..............a"
- /* 13 */ "a..............a"
- /* 14 */ "aaaaaaaaaaaaaaaa"
-
- // Level 9
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "a..............a"
- /* 2 */ "a..............a"
- /* 3 */ "a..............a"
- /* 4 */ "a..............a"
- /* 5 */ "a..............a"
- /* 6 */ "a..............a"
- /* 7 */ "a..............a"
- /* 8 */ "a..............a"
- /* 9 */ "a..............a"
- /* 10 */ "a..............a"
- /* 11 */ "a..............a"
- /* 12 */ "a..............a"
- /* 13 */ "a..............a"
- /* 14 */ "aaaaaaaaaaaaaaaa"
-
- // Level 10
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaaaaa"
- /* 13 */ "aaaaaaaaaaaaaaaa"
- /* 14 */ "aaaaaaaaaaaaaaaa"
-
- // Level 11
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "abbaabbaabbaabba"
- /* 1 */ "b..............b"
- /* 2 */ "a..............a"
- /* 3 */ "b..............b"
- /* 4 */ "a..............a"
- /* 5 */ "b..............b"
- /* 6 */ "a..............a"
- /* 7 */ "b..............b"
- /* 8 */ "a..............a"
- /* 9 */ "b..............b"
- /* 10 */ "a..............a"
- /* 11 */ "b..............b"
- /* 12 */ "a..............a"
- /* 13 */ "b..............b"
- /* 14 */ "abbaabbaabbaabba",
-
- // Connectors:
- "1: 0, 6, 7: 4\n" /* Type 1, direction X- */
- "-1: 0, 6, 7: 4\n" /* Type -1, direction X- */
- "1: 9, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 9, 1, 0: 2\n" /* Type -1, direction Z- */
- "1: 9, 1, 14: 3\n" /* Type 1, direction Z+ */
- "-1: 9, 1, 14: 3\n" /* Type -1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 10,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // LavaStairsBridge
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // MidStaircase:
- // The data has been exported from the gallery Nether, area index 23, ID 165, created by Aloe_vera
- {
- // Size:
- 13, 8, 13, // SizeX = 13, SizeY = 8, SizeZ = 13
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 12, 7, 12, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b: 88: 0\n" /* soulsand */
- "c:115: 7\n" /* netherwartblock */
- "d:114: 3\n" /* netherbrickstairs */
- "e:114: 0\n" /* netherbrickstairs */
- "f:114: 1\n" /* netherbrickstairs */
- "g:114: 2\n" /* netherbrickstairs */
- "h: 10: 0\n" /* lava */
- "i:113: 0\n" /* netherbrickfence */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaabbbbbaaaa"
- /* 4 */ "aaaabbbbbaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaa"
- /* 8 */ "aaaabbbbbaaaa"
- /* 9 */ "aaaabbbbbaaaa"
- /* 10 */ "aaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaa"
-
- // Level 1
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaacccccaaaa"
- /* 4 */ "addecccccfdda"
- /* 5 */ "...eaaaaad..."
- /* 6 */ "...eaaaaa...."
- /* 7 */ "...eaaaaag..."
- /* 8 */ "agggcccccfgga"
- /* 9 */ "aaaacccccaaaa"
- /* 10 */ "aaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaa"
-
- // Level 2
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aha.......aha"
- /* 2 */ "aaa.......aaa"
- /* 3 */ "a...........a"
- /* 4 */ "a...........a"
- /* 5 */ "....eaaaa...."
- /* 6 */ "....eaaaa...."
- /* 7 */ "....eaaaa...."
- /* 8 */ "a...........a"
- /* 9 */ "a...........a"
- /* 10 */ "aaa.......aaa"
- /* 11 */ "aha.......aha"
- /* 12 */ "aaaaaaaaaaaaa"
-
- // Level 3
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaiiaaaiiaaa"
- /* 1 */ "a...........a"
- /* 2 */ "a...........a"
- /* 3 */ "a...........a"
- /* 4 */ "a...........a"
- /* 5 */ ".....eaaa...."
- /* 6 */ ".....eaaa...."
- /* 7 */ ".....eaaa...."
- /* 8 */ "a...........a"
- /* 9 */ "a...........a"
- /* 10 */ "a...........a"
- /* 11 */ "a...........a"
- /* 12 */ "aaaiiaaaiiaaa"
-
- // Level 4
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaiiaaaiiaaa"
- /* 1 */ "a...........a"
- /* 2 */ "a...........a"
- /* 3 */ "a...........a"
- /* 4 */ "a...........a"
- /* 5 */ "......eaa...."
- /* 6 */ "......eaa...."
- /* 7 */ "......eaa...."
- /* 8 */ "a...........a"
- /* 9 */ "a...........a"
- /* 10 */ "a...........a"
- /* 11 */ "a...........a"
- /* 12 */ "aaaiiaaaiiaaa"
-
- // Level 5
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "a...........a"
- /* 2 */ "a...........a"
- /* 3 */ "a...........a"
- /* 4 */ "a...........a"
- /* 5 */ "a......ea...a"
- /* 6 */ "a......ea...a"
- /* 7 */ "a......ea...a"
- /* 8 */ "a...........a"
- /* 9 */ "a...........a"
- /* 10 */ "a...........a"
- /* 11 */ "a...........a"
- /* 12 */ "aaaaaaaaaaaaa"
-
- // Level 6
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaa....eaaaa"
- /* 6 */ "aaaa....eaaaa"
- /* 7 */ "aaaa....eaaaa"
- /* 8 */ "aaaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaa"
-
- // Level 7
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "iaiaiaiaiaiai"
- /* 1 */ "a...........a"
- /* 2 */ "i...........i"
- /* 3 */ "a...........a"
- /* 4 */ "i...........i"
- /* 5 */ "a...........a"
- /* 6 */ "i...........i"
- /* 7 */ "a...........a"
- /* 8 */ "i...........i"
- /* 9 */ "a...........a"
- /* 10 */ "i...........i"
- /* 11 */ "a...........a"
- /* 12 */ "iaiaiaiaiaiai",
-
- // Connectors:
- "1: 12, 1, 6: 5\n" /* Type 1, direction X+ */
- "1: 0, 1, 6: 4\n" /* Type 1, direction X- */
- "-1: 12, 1, 6: 5\n" /* Type -1, direction X+ */
- "-1: 0, 1, 6: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- -1000,
-
- // MoveToGround:
- false,
- }, // MidStaircase
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // SlabbedBridgeStairs:
- // The data has been exported from the gallery Nether, area index 116, ID 811, created by Aloe_vera
- {
- // Size:
- 16, 14, 16, // SizeX = 16, SizeY = 14, SizeZ = 16
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 13, 15, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 5\n" /* netherbrickstairs */
- "c:114: 4\n" /* netherbrickstairs */
- "d: 44:14\n" /* step */
- "e:114: 6\n" /* netherbrickstairs */
- "f:114: 7\n" /* netherbrickstairs */
- "g: 44: 6\n" /* step */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "aammmmmmmmmmmmaa"
- /* 2 */ "aammmmmmmmmmmmaa"
- /* 3 */ "aammmmmmmmmmmmaa"
- /* 4 */ "mmmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "aabmmmmmmmmmmcaa"
- /* 2 */ "aabmmmmmmmmmmcaa"
- /* 3 */ "aabmmmmmmmmmmcaa"
- /* 4 */ "mmmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "aaabdmmmmmmdcaaa"
- /* 2 */ "aaabdmmmmmmdcaaa"
- /* 3 */ "aaabdmmmmmmdcaaa"
- /* 4 */ "mmmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "eeeeeeeeeeeeeeee"
- /* 1 */ "aaaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaaa"
- /* 4 */ "ffffffffffffffff"
- /* 5 */ "mmmmmmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaaaaa"
- /* 5 */ "faaabmmmmmmmmmmm"
- /* 6 */ "caaabmmmmmmmmmmm"
- /* 7 */ "caaabmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "................"
- /* 2 */ "................"
- /* 3 */ "................"
- /* 4 */ "a...aaaaaaaaaaaa"
- /* 5 */ "agggammmmmmmmmmm"
- /* 6 */ "aaaaammmmmmmmmmm"
- /* 7 */ "aaaaammmmmmmmmmm"
- /* 8 */ "caaabmmmmmmmmmmm"
- /* 9 */ "caaabmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "maaammmmmmmmmmmm"
- /* 13 */ "maaammmmmmmmmmmm"
- /* 14 */ "maaammmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmaaam"
- /* 1 */ "................"
- /* 2 */ "................"
- /* 3 */ "................"
- /* 4 */ "m...mmmmmmmmaaam"
- /* 5 */ "a...ammmmmmmmmmm"
- /* 6 */ "a...ammmmmmmmmmm"
- /* 7 */ "agggammmmmmmmmmm"
- /* 8 */ "aaaaammmmmmmmmmm"
- /* 9 */ "aaaaammmmmmmmmmm"
- /* 10 */ "caaabmmmmmmmmmmm"
- /* 11 */ "caaabmmmmmmmmmmm"
- /* 12 */ "maaabmmmmmmmmmmm"
- /* 13 */ "maaabmmmmmmmmmmm"
- /* 14 */ "maaafmmmmmmmaaam"
- /* 15 */ "mmmmmmmmmmmmaaam"
-
- // Level 7
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmaaam"
- /* 1 */ "................"
- /* 2 */ "................"
- /* 3 */ "................"
- /* 4 */ "m...mmmmmmmmaaam"
- /* 5 */ "m...mmmmmmmmmmmm"
- /* 6 */ "m...mmmmmmmmmmmm"
- /* 7 */ "a...ammmmmmmmmmm"
- /* 8 */ "a...ammmmmmmmmmm"
- /* 9 */ "agggammmmmmmmmmm"
- /* 10 */ "aaaaammmmmmmmmmm"
- /* 11 */ "aaaaaeemmmmmmmmm"
- /* 12 */ "caaaaaammmmmmmmm"
- /* 13 */ "caaaaaammmmmmmmm"
- /* 14 */ "caaaaaammmmmaaam"
- /* 15 */ "fffffffmmmmmaaam"
-
- // Level 8
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmaaam"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmmm"
- /* 4 */ "m...mmmmmmmmaaam"
- /* 5 */ "m...mmmmmmmmmmmm"
- /* 6 */ "m...mmmmmmmmmmmm"
- /* 7 */ "m...mmmmmmmmmmmm"
- /* 8 */ "m...mmmmmmmmmmmm"
- /* 9 */ "a...ammmmmmmmmmm"
- /* 10 */ "a...ammmmmmmmmmm"
- /* 11 */ "a...aaaeemmmmmmm"
- /* 12 */ "a....gaaammmmmmm"
- /* 13 */ "a....gaaammmmmmm"
- /* 14 */ "a....gaaammmaaam"
- /* 15 */ "aaaaaaaffmmmaaam"
-
- // Level 9
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmcaaab"
- /* 1 */ "mmmmmmmmmmmcaaab"
- /* 2 */ "mmmmmmmmmmmcaaab"
- /* 3 */ "mmmmmmmmmmmcaaab"
- /* 4 */ "mmmmmmmmmmmcaaab"
- /* 5 */ "mmmmmmmmmmmcaaab"
- /* 6 */ "m...mmmmmmmcaaab"
- /* 7 */ "m...mmmmmmmcaaab"
- /* 8 */ "m...mmmmmmmcaaab"
- /* 9 */ "m...mmmmmmmcaaab"
- /* 10 */ "m...mmmmmmmcaaab"
- /* 11 */ "m...maaaaeecaaab"
- /* 12 */ "m......gaaaaaaab"
- /* 13 */ "m......gaaaaaaab"
- /* 14 */ "m......gaaaaaaab"
- /* 15 */ "mmmmmaaaafffaaab"
-
- // Level 10
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmaaaaa"
- /* 1 */ "mmmmmmmmmmmaaaaa"
- /* 2 */ "mmmmmmmmmmmaaaaa"
- /* 3 */ "mmmmmmmmmmmaaaaa"
- /* 4 */ "mmmmmmmmmmmaaaaa"
- /* 5 */ "mmmmmmmmmmmaaaaa"
- /* 6 */ "mmmmmmmmmmmaaaaa"
- /* 7 */ "mmmmmmmmmmmaaaaa"
- /* 8 */ "m...mmmmmmmaaaaa"
- /* 9 */ "m...mmmmmmmaaaaa"
- /* 10 */ "m...mmmmmmmaaaaa"
- /* 11 */ "m...mmmaaaaaaaaa"
- /* 12 */ "m........gaaaaaa"
- /* 13 */ "m........gaaaaaa"
- /* 14 */ "m........gaaaaaa"
- /* 15 */ "mmmmmmmaaaaaaaaa"
-
- // Level 11
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmma...a"
- /* 1 */ "mmmmmmmmmmma...a"
- /* 2 */ "mmmmmmmmmmma...a"
- /* 3 */ "mmmmmmmmmmma...a"
- /* 4 */ "mmmmmmmmmmma...a"
- /* 5 */ "mmmmmmmmmmma...a"
- /* 6 */ "mmmmmmmmmmma...a"
- /* 7 */ "mmmmmmmmmmma...a"
- /* 8 */ "mmmmmmmmmmma...a"
- /* 9 */ "mmmmmmmmmmma...a"
- /* 10 */ "mmmmmmmmmmma...a"
- /* 11 */ "mmmmmmmmmaaa...a"
- /* 12 */ "mmmm...........a"
- /* 13 */ "mmmm...........a"
- /* 14 */ "mmmm...........a"
- /* 15 */ "mmmmmmmmmaaa...a"
-
- // Level 12
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmm...m"
- /* 1 */ "mmmmmmmmmmmm...m"
- /* 2 */ "mmmmmmmmmmmm...m"
- /* 3 */ "mmmmmmmmmmmm...m"
- /* 4 */ "mmmmmmmmmmmm...m"
- /* 5 */ "mmmmmmmmmmmm...m"
- /* 6 */ "mmmmmmmmmmmm...m"
- /* 7 */ "mmmmmmmmmmmm...m"
- /* 8 */ "mmmmmmmmmmmm...m"
- /* 9 */ "mmmmmmmmmmmm...m"
- /* 10 */ "mmmmmmmmmmmm...m"
- /* 11 */ "mmmmmmmmmmmm...m"
- /* 12 */ "mmmmmm.........m"
- /* 13 */ "mmmmmm.........m"
- /* 14 */ "mmmmmm.........m"
- /* 15 */ "mmmmmmmmmmmm...m"
-
- // Level 13
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmm...m"
- /* 1 */ "mmmmmmmmmmmm...m"
- /* 2 */ "mmmmmmmmmmmm...m"
- /* 3 */ "mmmmmmmmmmmm...m"
- /* 4 */ "mmmmmmmmmmmm...m"
- /* 5 */ "mmmmmmmmmmmm...m"
- /* 6 */ "mmmmmmmmmmmm...m"
- /* 7 */ "mmmmmmmmmmmm...m"
- /* 8 */ "mmmmmmmmmmmm...m"
- /* 9 */ "mmmmmmmmmmmm...m"
- /* 10 */ "mmmmmmmmmmmm...m"
- /* 11 */ "mmmmmmmmmmmm...m"
- /* 12 */ "mmmmmmmm.......m"
- /* 13 */ "mmmmmmmm.......m"
- /* 14 */ "mmmmmmmm.......m"
- /* 15 */ "mmmmmmmmmmmm...m",
-
- // Connectors:
- "0: 13, 11, 0: 2\n" /* Type 0, direction Z- */
- "0: 13, 11, 15: 3\n" /* Type 0, direction Z+ */
- "0: 0, 5, 2: 4\n" /* Type 0, direction X- */
- "0: 15, 5, 2: 5\n" /* Type 0, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 20,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // SlabbedBridgeStairs
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // StairsToOpen1:
- // The data has been exported from the gallery Nether, area index 27, ID 277, created by Aloe_vera
- {
- // Size:
- 7, 10, 7, // SizeX = 7, SizeY = 10, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 6, 19, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "aaaaaaa"
- /* 2 */ "aaaaaaa"
- /* 3 */ "aaaaaaa"
- /* 4 */ "aaaaaaa"
- /* 5 */ "aaaaaaa"
- /* 6 */ "aaaaaaa"
-
- // Level 1
- /* z\x* 0123456 */
- /* 0 */ "aa...aa"
- /* 1 */ "a.....a"
- /* 2 */ "a.....a"
- /* 3 */ "a.....a"
- /* 4 */ "a.....a"
- /* 5 */ "aaaaaaa"
- /* 6 */ "aaaaaaa"
-
- // Level 2
- /* z\x* 0123456 */
- /* 0 */ "aa...aa"
- /* 1 */ "a.....a"
- /* 2 */ "b.....b"
- /* 3 */ "a.....a"
- /* 4 */ "b.....b"
- /* 5 */ "a.aaaaa"
- /* 6 */ "aabaaba"
-
- // Level 3
- /* z\x* 0123456 */
- /* 0 */ "aa...aa"
- /* 1 */ "a.....a"
- /* 2 */ "b.....b"
- /* 3 */ "a.....a"
- /* 4 */ "b.....b"
- /* 5 */ "a..aaaa"
- /* 6 */ "aabaaba"
-
- // Level 4
- /* z\x* 0123456 */
- /* 0 */ "aabbbaa"
- /* 1 */ "a.....a"
- /* 2 */ "b.....b"
- /* 3 */ "a.....a"
- /* 4 */ "b.....b"
- /* 5 */ "a...aaa"
- /* 6 */ "aabaaba"
-
- // Level 5
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "a.....a"
- /* 2 */ "a.....a"
- /* 3 */ "a.....a"
- /* 4 */ "a.....a"
- /* 5 */ "a....aa"
- /* 6 */ "aaaaaaa"
-
- // Level 6
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "aaaaaaa"
- /* 2 */ "aaaaaaa"
- /* 3 */ "aaaaaaa"
- /* 4 */ "aaaaaaa"
- /* 5 */ "a.....a"
- /* 6 */ "aaaaaaa"
-
- // Level 7
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "a.....a"
- /* 2 */ "a......"
- /* 3 */ "a......"
- /* 4 */ "a......"
- /* 5 */ "a.....a"
- /* 6 */ "aaaaaaa"
-
- // Level 8
- /* z\x* 0123456 */
- /* 0 */ "mmmmmmm"
- /* 1 */ "m.....m"
- /* 2 */ "m......"
- /* 3 */ "m......"
- /* 4 */ "m......"
- /* 5 */ "m.....m"
- /* 6 */ "mmmmmmm"
-
- // Level 9
- /* z\x* 0123456 */
- /* 0 */ "mmmmmmm"
- /* 1 */ "m.....m"
- /* 2 */ "m......"
- /* 3 */ "m......"
- /* 4 */ "m......"
- /* 5 */ "m.....m"
- /* 6 */ "mmmmmmm",
-
- // Connectors:
- "0: 6, 7, 3: 5\n" /* Type 0, direction X+ */
- "0: 3, 1, 0: 2\n" /* Type 0, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "1:0|3:0|5:0|7:0|9:0|11:0|13:0|15:0",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // StairsToOpen1
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // StairsToOpen2:
- // The data has been exported from the gallery Nether, area index 8, ID 35, created by xoft
- {
- // Size:
- 7, 10, 7, // SizeX = 7, SizeY = 10, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 6, 19, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "aaaaaaa"
- /* 2 */ "aaaaaaa"
- /* 3 */ "aaaaaaa"
- /* 4 */ "aaaaaaa"
- /* 5 */ "aaaaaaa"
- /* 6 */ "aaaaaaa"
-
- // Level 1
- /* z\x* 0123456 */
- /* 0 */ "aa...aa"
- /* 1 */ "a.....a"
- /* 2 */ "a.....a"
- /* 3 */ "a.....a"
- /* 4 */ "a.....a"
- /* 5 */ "aaaaaaa"
- /* 6 */ "aaaaaaa"
-
- // Level 2
- /* z\x* 0123456 */
- /* 0 */ "aa...aa"
- /* 1 */ "a.....a"
- /* 2 */ "b.....b"
- /* 3 */ "a.....a"
- /* 4 */ "b.....b"
- /* 5 */ "a.aaaaa"
- /* 6 */ "aabaaba"
-
- // Level 3
- /* z\x* 0123456 */
- /* 0 */ "aa...aa"
- /* 1 */ "a.....a"
- /* 2 */ "b.....b"
- /* 3 */ "a.....a"
- /* 4 */ "b.....b"
- /* 5 */ "a..aaaa"
- /* 6 */ "aabaaba"
-
- // Level 4
- /* z\x* 0123456 */
- /* 0 */ "aabbbaa"
- /* 1 */ "a.....a"
- /* 2 */ "b.....b"
- /* 3 */ "a.....a"
- /* 4 */ "b.....b"
- /* 5 */ "a...aaa"
- /* 6 */ "aabaaba"
-
- // Level 5
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "a.....a"
- /* 2 */ "a.....a"
- /* 3 */ "a.....a"
- /* 4 */ "a.....a"
- /* 5 */ "a....aa"
- /* 6 */ "aaaaaaa"
-
- // Level 6
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "aaaaaaa"
- /* 2 */ "aaaaaaa"
- /* 3 */ "aaaaaaa"
- /* 4 */ "aaaaaaa"
- /* 5 */ "a.....a"
- /* 6 */ "aaaaaaa"
-
- // Level 7
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "a.....a"
- /* 2 */ "......a"
- /* 3 */ "......a"
- /* 4 */ "......a"
- /* 5 */ "a.....a"
- /* 6 */ "aaaaaaa"
-
- // Level 8
- /* z\x* 0123456 */
- /* 0 */ "mmmmmmm"
- /* 1 */ "m.....m"
- /* 2 */ "......m"
- /* 3 */ "......m"
- /* 4 */ "......m"
- /* 5 */ "m.....m"
- /* 6 */ "mmmmmmm"
-
- // Level 9
- /* z\x* 0123456 */
- /* 0 */ "mmmmmmm"
- /* 1 */ "m.....m"
- /* 2 */ "......m"
- /* 3 */ "......m"
- /* 4 */ "......m"
- /* 5 */ "m.....m"
- /* 6 */ "mmmmmmm",
-
- // Connectors:
- "0: 0, 7, 3: 4\n" /* Type 0, direction X- */
- "0: 3, 1, 0: 2\n" /* Type 0, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "1:0|3:0|5:0|7:0|9:0|11:0|13:0|15:0",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // StairsToOpen2
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // Tee2x4:
- // The data has been exported from the gallery Nether, area index 40, ID 291, created by Aloe_vera
- {
- // Size:
- 13, 6, 7, // SizeX = 13, SizeY = 6, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 12, 5, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c:114: 0\n" /* netherbrickstairs */
- "d:114: 1\n" /* netherbrickstairs */
- "e:114: 2\n" /* netherbrickstairs */
- "f:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmaaaaammmm"
- /* 1 */ "mmmmaaaaammmm"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaa"
-
- // Level 1
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmma...ammmm"
- /* 2 */ "aaaaa...aaaaa"
- /* 3 */ "............."
- /* 4 */ "............."
- /* 5 */ "............."
- /* 6 */ "aaaaaaaaaaaaa"
-
- // Level 2
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmmb...bmmmm"
- /* 2 */ "ababa...ababa"
- /* 3 */ "............."
- /* 4 */ "............."
- /* 5 */ "............."
- /* 6 */ "ababababababa"
-
- // Level 3
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmmb...bmmmm"
- /* 2 */ "ababa...ababa"
- /* 3 */ "............."
- /* 4 */ "............."
- /* 5 */ "............."
- /* 6 */ "ababababababa"
-
- // Level 4
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmmb...bmmmm"
- /* 2 */ "ababa...ababa"
- /* 3 */ "............."
- /* 4 */ "............."
- /* 5 */ "............."
- /* 6 */ "ababababababa"
-
- // Level 5
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmcaaadmmmm"
- /* 1 */ "mmmmcaaadmmmm"
- /* 2 */ "eeeecaaadeeee"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "fffffffffffff",
-
- // Connectors:
- "1: 0, 1, 4: 4\n" /* Type 1, direction X- */
- "1: 6, 1, 0: 2\n" /* Type 1, direction Z- */
- "1: 12, 1, 4: 5\n" /* Type 1, direction X+ */
- "-1: 0, 1, 4: 4\n" /* Type -1, direction X- */
- "-1: 12, 1, 4: 5\n" /* Type -1, direction X+ */
- "-1: 6, 1, 0: 2\n" /* Type -1, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // Tee2x4
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // Tee4x4:
- // The data has been exported from the gallery Nether, area index 41, ID 292, created by Aloe_vera
- {
- // Size:
- 13, 6, 9, // SizeX = 13, SizeY = 6, SizeZ = 9
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 12, 5, 8, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c:114: 0\n" /* netherbrickstairs */
- "d:114: 1\n" /* netherbrickstairs */
- "e:114: 2\n" /* netherbrickstairs */
- "f:114: 3\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmaaaaammmm"
- /* 1 */ "mmmmaaaaammmm"
- /* 2 */ "mmmmaaaaammmm"
- /* 3 */ "mmmmaaaaammmm"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaa"
-
- // Level 1
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmma...ammmm"
- /* 2 */ "mmmma...ammmm"
- /* 3 */ "mmmma...ammmm"
- /* 4 */ "aaaaa...aaaaa"
- /* 5 */ "............."
- /* 6 */ "............."
- /* 7 */ "............."
- /* 8 */ "aaaaaaaaaaaaa"
-
- // Level 2
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmmb...bmmmm"
- /* 2 */ "mmmma...ammmm"
- /* 3 */ "mmmmb...bmmmm"
- /* 4 */ "ababa...ababa"
- /* 5 */ "............."
- /* 6 */ "............."
- /* 7 */ "............."
- /* 8 */ "ababababababa"
-
- // Level 3
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmmb...bmmmm"
- /* 2 */ "mmmma...ammmm"
- /* 3 */ "mmmmb...bmmmm"
- /* 4 */ "ababa...ababa"
- /* 5 */ "............."
- /* 6 */ "............."
- /* 7 */ "............."
- /* 8 */ "ababababababa"
-
- // Level 4
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmma...ammmm"
- /* 1 */ "mmmmb...bmmmm"
- /* 2 */ "mmmma...ammmm"
- /* 3 */ "mmmmb...bmmmm"
- /* 4 */ "ababa...ababa"
- /* 5 */ "............."
- /* 6 */ "............."
- /* 7 */ "............."
- /* 8 */ "ababababababa"
-
- // Level 5
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "mmmmcaaadmmmm"
- /* 1 */ "mmmmcaaadmmmm"
- /* 2 */ "mmmmcaaadmmmm"
- /* 3 */ "mmmmcaaadmmmm"
- /* 4 */ "eeeecaaadeeee"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaa"
- /* 8 */ "fffffffffffff",
-
- // Connectors:
- "1: 0, 1, 6: 4\n" /* Type 1, direction X- */
- "1: 6, 1, 0: 2\n" /* Type 1, direction Z- */
- "1: 12, 1, 6: 5\n" /* Type 1, direction X+ */
- "-1: 0, 1, 6: 4\n" /* Type -1, direction X- */
- "-1: 6, 1, 0: 2\n" /* Type -1, direction Z- */
- "-1: 12, 1, 6: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // Tee4x4
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // TinyCorridorCorner:
- // The data has been exported from the gallery Nether, area index 66, ID 331, created by xoft
- {
- // Size:
- 5, 6, 5, // SizeX = 5, SizeY = 6, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 4, 5, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "c:114: 2\n" /* netherbrickstairs */
- "d:114: 1\n" /* netherbrickstairs */
- "e:114: 0\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 01234 */
- /* 0 */ "aaaaa"
- /* 1 */ "aaaaa"
- /* 2 */ "aaaaa"
- /* 3 */ "aaaaa"
- /* 4 */ "aaaaa"
-
- // Level 1
- /* z\x* 01234 */
- /* 0 */ "aaaaa"
- /* 1 */ "....a"
- /* 2 */ "....a"
- /* 3 */ "....a"
- /* 4 */ "a...a"
-
- // Level 2
- /* z\x* 01234 */
- /* 0 */ "ababa"
- /* 1 */ "....b"
- /* 2 */ "....a"
- /* 3 */ "....b"
- /* 4 */ "a...a"
-
- // Level 3
- /* z\x* 01234 */
- /* 0 */ "ababa"
- /* 1 */ "....b"
- /* 2 */ "....a"
- /* 3 */ "....b"
- /* 4 */ "a...a"
-
- // Level 4
- /* z\x* 01234 */
- /* 0 */ "ababa"
- /* 1 */ "....b"
- /* 2 */ "....a"
- /* 3 */ "....b"
- /* 4 */ "a...a"
-
- // Level 5
- /* z\x* 01234 */
- /* 0 */ "ccccc"
- /* 1 */ "aaaad"
- /* 2 */ "aaaad"
- /* 3 */ "aaaad"
- /* 4 */ "eaaad",
-
- // Connectors:
- "1: 2, 1, 4: 3\n" /* Type 1, direction Z+ */
- "1: 0, 1, 2: 4\n" /* Type 1, direction X- */
- "-1: 2, 1, 4: 3\n" /* Type -1, direction Z+ */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- -50,
-
- // MoveToGround:
- false,
- }, // TinyCorridorCorner
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // TinyCorridorCornerChest:
- // The data has been exported from the gallery Nether, area index 67, ID 332, created by Aloe_vera
- {
- // Size:
- 5, 6, 5, // SizeX = 5, SizeY = 6, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 4, 5, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b: 54: 4\n" /* chest */
- "c:113: 0\n" /* netherbrickfence */
- "d:114: 2\n" /* netherbrickstairs */
- "e:114: 1\n" /* netherbrickstairs */
- "f:114: 0\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 01234 */
- /* 0 */ "aaaaa"
- /* 1 */ "aaaaa"
- /* 2 */ "aaaaa"
- /* 3 */ "aaaaa"
- /* 4 */ "aaaaa"
-
- // Level 1
- /* z\x* 01234 */
- /* 0 */ "aaaaa"
- /* 1 */ "....a"
- /* 2 */ "...ba"
- /* 3 */ "....a"
- /* 4 */ "a...a"
-
- // Level 2
- /* z\x* 01234 */
- /* 0 */ "acaca"
- /* 1 */ "....c"
- /* 2 */ "....a"
- /* 3 */ "....c"
- /* 4 */ "a...a"
-
- // Level 3
- /* z\x* 01234 */
- /* 0 */ "acaca"
- /* 1 */ "....c"
- /* 2 */ "....a"
- /* 3 */ "....c"
- /* 4 */ "a...a"
-
- // Level 4
- /* z\x* 01234 */
- /* 0 */ "acaca"
- /* 1 */ "....c"
- /* 2 */ "....a"
- /* 3 */ "....c"
- /* 4 */ "a...a"
-
- // Level 5
- /* z\x* 01234 */
- /* 0 */ "ddddd"
- /* 1 */ "aaaae"
- /* 2 */ "aaaae"
- /* 3 */ "aaaae"
- /* 4 */ "faaae",
-
- // Connectors:
- "1: 2, 1, 4: 3\n" /* Type 1, direction Z+ */
- "1: 0, 1, 2: 4\n" /* Type 1, direction X- */
- "-1: 2, 1, 4: 3\n" /* Type -1, direction Z+ */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // TinyCorridorCornerChest
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // TinyCorridorCrossing:
- // The data has been exported from the gallery Nether, area index 64, ID 329, created by xoft
- {
- // Size:
- 5, 6, 5, // SizeX = 5, SizeY = 6, SizeZ = 5
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 4, 5, 4, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:114: 2\n" /* netherbrickstairs */
- "c:114: 0\n" /* netherbrickstairs */
- "d:114: 1\n" /* netherbrickstairs */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 01234 */
- /* 0 */ "aaaaa"
- /* 1 */ "aaaaa"
- /* 2 */ "aaaaa"
- /* 3 */ "aaaaa"
- /* 4 */ "aaaaa"
-
- // Level 1
- /* z\x* 01234 */
- /* 0 */ "a...a"
- /* 1 */ "....."
- /* 2 */ "....."
- /* 3 */ "....."
- /* 4 */ "a...a"
-
- // Level 2
- /* z\x* 01234 */
- /* 0 */ "a...a"
- /* 1 */ "....."
- /* 2 */ "....."
- /* 3 */ "....."
- /* 4 */ "a...a"
-
- // Level 3
- /* z\x* 01234 */
- /* 0 */ "a...a"
- /* 1 */ "....."
- /* 2 */ "....."
- /* 3 */ "....."
- /* 4 */ "a...a"
-
- // Level 4
- /* z\x* 01234 */
- /* 0 */ "a...a"
- /* 1 */ "....."
- /* 2 */ "....."
- /* 3 */ "....."
- /* 4 */ "a...a"
-
- // Level 5
- /* z\x* 01234 */
- /* 0 */ "baaab"
- /* 1 */ "aaaaa"
- /* 2 */ "aaaaa"
- /* 3 */ "aaaaa"
- /* 4 */ "caaad",
-
- // Connectors:
- "1: 4, 1, 2: 5\n" /* Type 1, direction X+ */
- "1: 2, 1, 4: 3\n" /* Type 1, direction Z+ */
- "1: 0, 1, 2: 4\n" /* Type 1, direction X- */
- "1: 2, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 4, 1, 2: 5\n" /* Type -1, direction X+ */
- "-1: 2, 1, 4: 3\n" /* Type -1, direction Z+ */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */
- "-1: 2, 1, 0: 2\n" /* Type -1, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "1:200|2:400|3:0|4:500",
-
- // AddWeightIfSame:
- -50,
-
- // MoveToGround:
- false,
- }, // TinyCorridorCrossing
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // Turret:
- // The data has been exported from the gallery Nether, area index 7, ID 34, created by xoft
- {
- // Size:
- 7, 7, 7, // SizeX = 7, SizeY = 7, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 6, 16, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b:113: 0\n" /* netherbrickfence */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "aaaaaaa"
- /* 2 */ "aaaaaaa"
- /* 3 */ "aaaaaaa"
- /* 4 */ "aaaaaaa"
- /* 5 */ "aaaaaaa"
- /* 6 */ "aaaaaaa"
-
- // Level 1
- /* z\x* 0123456 */
- /* 0 */ "aa...aa"
- /* 1 */ "a.....a"
- /* 2 */ "......."
- /* 3 */ "......."
- /* 4 */ "......."
- /* 5 */ "a.....a"
- /* 6 */ "aa...aa"
-
- // Level 2
- /* z\x* 0123456 */
- /* 0 */ "aa...aa"
- /* 1 */ "a.....a"
- /* 2 */ "......."
- /* 3 */ "......."
- /* 4 */ "......."
- /* 5 */ "a.....a"
- /* 6 */ "aa...aa"
-
- // Level 3
- /* z\x* 0123456 */
- /* 0 */ "aa...aa"
- /* 1 */ "a.....a"
- /* 2 */ "......."
- /* 3 */ "......."
- /* 4 */ "......."
- /* 5 */ "a.....a"
- /* 6 */ "aa...aa"
-
- // Level 4
- /* z\x* 0123456 */
- /* 0 */ "aabbbaa"
- /* 1 */ "a.....a"
- /* 2 */ "b.....b"
- /* 3 */ "b.....b"
- /* 4 */ "b.....b"
- /* 5 */ "a.....a"
- /* 6 */ "aabbbaa"
-
- // Level 5
- /* z\x* 0123456 */
- /* 0 */ "aaaaaaa"
- /* 1 */ "a.....a"
- /* 2 */ "a.....a"
- /* 3 */ "a.....a"
- /* 4 */ "a.....a"
- /* 5 */ "a.....a"
- /* 6 */ "aaaaaaa"
-
- // Level 6
- /* z\x* 0123456 */
- /* 0 */ "......."
- /* 1 */ "......."
- /* 2 */ "......."
- /* 3 */ "......."
- /* 4 */ "......."
- /* 5 */ "......."
- /* 6 */ ".......",
-
- // Connectors:
- "0: 0, 1, 3: 4\n" /* Type 0, direction X- */
- "0: 3, 1, 0: 2\n" /* Type 0, direction Z- */
- "0: 6, 1, 3: 5\n" /* Type 0, direction X+ */
- "0: 3, 1, 6: 3\n" /* Type 0, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- -99,
-
- // MoveToGround:
- false,
- }, // Turret
-}; // g_NetherFortPrefabs
-
-
-
-
-
-
-const cPrefab::sDef g_NetherFortStartingPrefabs[] =
-{
- ////////////////////////////////////////////////////////////////////////////////
- // CentralRoom:
- // The data has been exported from the gallery Nether, area index 22, ID 164, created by Aloe_vera
- {
- // Size:
- 13, 9, 13, // SizeX = 13, SizeY = 9, SizeZ = 13
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 12, 8, 12, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a:112: 0\n" /* netherbrick */
- "b: 10: 0\n" /* lava */
- "c:113: 0\n" /* netherbrickfence */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaa"
-
- // Level 1
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaa...aaaaa"
- /* 1 */ "aaaaa...aaaaa"
- /* 2 */ "aa.........aa"
- /* 3 */ "aa.........aa"
- /* 4 */ "aa.........aa"
- /* 5 */ "aa...aaa...aa"
- /* 6 */ "aa...aba...aa"
- /* 7 */ "aa...aaa...aa"
- /* 8 */ "aa.........aa"
- /* 9 */ "aa.........aa"
- /* 10 */ "aa.........aa"
- /* 11 */ "aaaaa...aaaaa"
- /* 12 */ "aaaaa...aaaaa"
-
- // Level 2
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaa...aaaaa"
- /* 1 */ "aaaca...acaaa"
- /* 2 */ "aa.........aa"
- /* 3 */ "ac.........ca"
- /* 4 */ "aa.........aa"
- /* 5 */ "ac.........ca"
- /* 6 */ "aa.........aa"
- /* 7 */ "ac.........ca"
- /* 8 */ "aa.........aa"
- /* 9 */ "ac.........ca"
- /* 10 */ "aa.........aa"
- /* 11 */ "aaaca...acaaa"
- /* 12 */ "aaaaa...aaaaa"
-
- // Level 3
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaa...aaaaa"
- /* 1 */ "aaaca...acaaa"
- /* 2 */ "aa.........aa"
- /* 3 */ "ac.........ca"
- /* 4 */ "aa.........aa"
- /* 5 */ "ac.........ca"
- /* 6 */ "aa.........aa"
- /* 7 */ "ac.........ca"
- /* 8 */ "aa.........aa"
- /* 9 */ "ac.........ca"
- /* 10 */ "aa.........aa"
- /* 11 */ "aaaca...acaaa"
- /* 12 */ "aaaaa...aaaaa"
-
- // Level 4
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "acacacccacaca"
- /* 1 */ "caaaa...aaaac"
- /* 2 */ "aa.........aa"
- /* 3 */ "ca.........ac"
- /* 4 */ "aa.........aa"
- /* 5 */ "ca.........ac"
- /* 6 */ "aa.........aa"
- /* 7 */ "ca.........ac"
- /* 8 */ "aa.........aa"
- /* 9 */ "ca.........ac"
- /* 10 */ "aa.........aa"
- /* 11 */ "caaaa...aaaac"
- /* 12 */ "acaca...acaca"
-
- // Level 5
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "acacaaaaacaca"
- /* 1 */ "caaaaaaaaaaac"
- /* 2 */ "aa.........aa"
- /* 3 */ "ca.........ac"
- /* 4 */ "aa.........aa"
- /* 5 */ "ca.........ac"
- /* 6 */ "aa.........aa"
- /* 7 */ "ca.........ac"
- /* 8 */ "aa.........aa"
- /* 9 */ "ca.........ac"
- /* 10 */ "aa.........aa"
- /* 11 */ "caaaaaaaaaaac"
- /* 12 */ "acacaaaaacaca"
-
- // Level 6
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaa"
-
- // Level 7
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "aaaaaaaaaaaaa"
- /* 1 */ "aaaaaaaaaaaaa"
- /* 2 */ "aaaaaaaaaaaaa"
- /* 3 */ "aaaaaaaaaaaaa"
- /* 4 */ "aaaaaaaaaaaaa"
- /* 5 */ "aaaaaaaaaaaaa"
- /* 6 */ "aaaaaaaaaaaaa"
- /* 7 */ "aaaaaaaaaaaaa"
- /* 8 */ "aaaaaaaaaaaaa"
- /* 9 */ "aaaaaaaaaaaaa"
- /* 10 */ "aaaaaaaaaaaaa"
- /* 11 */ "aaaaaaaaaaaaa"
- /* 12 */ "aaaaaaaaaaaaa"
-
- // Level 8
- /* z\x* 111 */
- /* * 0123456789012 */
- /* 0 */ "cacacacacacac"
- /* 1 */ "a...........a"
- /* 2 */ "c...........c"
- /* 3 */ "a...........a"
- /* 4 */ "c...........c"
- /* 5 */ "a...........a"
- /* 6 */ "c...........c"
- /* 7 */ "a...........a"
- /* 8 */ "c...........c"
- /* 9 */ "a...........a"
- /* 10 */ "c...........c"
- /* 11 */ "a...........a"
- /* 12 */ "cacacacacacac",
-
- // Connectors:
- "0: 6, 1, 0: 2\n" /* Type 0, direction Z- */
- "1: 6, 1, 12: 3\n" /* Type 1, direction Z+ */
- "-1: 6, 1, 12: 3\n" /* Type -1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CentralRoom
-};
-
-
-
-
-
-// The prefab counts:
-
-const size_t g_NetherFortPrefabsCount = ARRAYCOUNT(g_NetherFortPrefabs);
-
-const size_t g_NetherFortStartingPrefabsCount = ARRAYCOUNT(g_NetherFortStartingPrefabs);
-
diff --git a/src/Generating/Prefabs/NetherFortPrefabs.h b/src/Generating/Prefabs/NetherFortPrefabs.h
deleted file mode 100644
index 04edc2953..000000000
--- a/src/Generating/Prefabs/NetherFortPrefabs.h
+++ /dev/null
@@ -1,15 +0,0 @@
-
-// NetherFortPrefabs.h
-
-// Declares the prefabs in the group NetherFort
-
-#include "../Prefab.h"
-
-
-
-
-
-extern const cPrefab::sDef g_NetherFortPrefabs[];
-extern const cPrefab::sDef g_NetherFortStartingPrefabs[];
-extern const size_t g_NetherFortPrefabsCount;
-extern const size_t g_NetherFortStartingPrefabsCount;
diff --git a/src/Generating/Prefabs/RainbowRoadPrefabs.cpp b/src/Generating/Prefabs/RainbowRoadPrefabs.cpp
deleted file mode 100644
index bf7b1b096..000000000
--- a/src/Generating/Prefabs/RainbowRoadPrefabs.cpp
+++ /dev/null
@@ -1,1406 +0,0 @@
-
-// RainbowRoadPrefabs.cpp
-
-// Defines the prefabs in the group RainbowRoad
-
-// NOTE: This file has been generated automatically by GalExport!
-// Any manual changes will be overwritten by the next automatic export!
-
-#include "Globals.h"
-#include "RainbowRoadPrefabs.h"
-
-
-
-
-
-const cPrefab::sDef g_RainbowRoadPrefabs[] =
-{
- ////////////////////////////////////////////////////////////////////////////////
- // CurveDouble:
- // The data has been exported from the gallery Cube, area index 89, ID 467, created by Aloe_vera
- {
- // Size:
- 14, 1, 14, // SizeX = 14, SizeY = 1, SizeZ = 14
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 13, 2, 13, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:11\n" /* wool */
- "b: 35: 3\n" /* wool */
- "c: 35: 5\n" /* wool */
- "d: 35: 4\n" /* wool */
- "e: 35: 1\n" /* wool */
- "f: 35:14\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "aaaaaa........"
- /* 1 */ "bbbbbba......."
- /* 2 */ "cccccbbaaa...."
- /* 3 */ "dddddccbbaa..."
- /* 4 */ "eeeeeddccbaa.."
- /* 5 */ "fffffeddccba.."
- /* 6 */ "ffffffeedcbaa."
- /* 7 */ "eeeefffeddcba."
- /* 8 */ "dddeefffedcbba"
- /* 9 */ "cccddefffedcba"
- /* 10 */ "bbccdeeffedcba"
- /* 11 */ "abbccdeffedcba"
- /* 12 */ ".abbcdeffedcba"
- /* 13 */ "..abcdeffedcba",
-
- // Connectors:
- "2: 2, 1, 13: 3\n" /* Type 2, direction Z+ */
- "2: 0, 1, 0: 4\n" /* Type 2, direction X- */
- "-2: 0, 1, 11: 4\n" /* Type -2, direction X- */
- "-2: 13, 1, 13: 3\n" /* Type -2, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CurveDouble
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CurveDownFromTopSingle:
- // The data has been exported from the gallery Cube, area index 100, ID 478, created by Aloe_vera
- {
- // Size:
- 11, 8, 11, // SizeX = 11, SizeY = 8, SizeZ = 11
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 10, 9, 10, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:14\n" /* wool */
- "b: 35: 5\n" /* wool */
- "c: 35: 4\n" /* wool */
- "d: 35: 1\n" /* wool */
- "e: 35:11\n" /* wool */
- "f: 35: 3\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ "..........."
- /* 5 */ "..........."
- /* 6 */ "..........."
- /* 7 */ "..........."
- /* 8 */ "..........a"
- /* 9 */ ".......bcda"
- /* 10 */ ".....efbcda"
-
- // Level 1
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ "..........."
- /* 5 */ "..........."
- /* 6 */ "........cda"
- /* 7 */ ".......bcda"
- /* 8 */ ".......bcd."
- /* 9 */ ".....ef...."
- /* 10 */ "..........."
-
- // Level 2
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ ".........a."
- /* 5 */ ".......cdda"
- /* 6 */ "......bc..."
- /* 7 */ "......b...."
- /* 8 */ ".....ff...."
- /* 9 */ "....ee....."
- /* 10 */ "..........."
-
- // Level 3
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "........aa."
- /* 4 */ "......ccd.."
- /* 5 */ ".....bb...."
- /* 6 */ ".....f....."
- /* 7 */ "....ef....."
- /* 8 */ "....e......"
- /* 9 */ "..........."
- /* 10 */ "..........."
-
- // Level 4
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "......daa.."
- /* 3 */ ".....ccd..."
- /* 4 */ "....bb....."
- /* 5 */ "....f......"
- /* 6 */ "...ef......"
- /* 7 */ "...ee......"
- /* 8 */ "..........."
- /* 9 */ "..........."
- /* 10 */ "..........."
-
- // Level 5
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ ".....daa..."
- /* 2 */ "...ccd....."
- /* 3 */ "...bc......"
- /* 4 */ "...b......."
- /* 5 */ "..ff......."
- /* 6 */ "..ee......."
- /* 7 */ "..........."
- /* 8 */ "..........."
- /* 9 */ "..........."
- /* 10 */ "..........."
-
- // Level 6
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "...aaa....."
- /* 1 */ "..ddd......"
- /* 2 */ ".cc........"
- /* 3 */ ".bb........"
- /* 4 */ ".ff........"
- /* 5 */ ".e........."
- /* 6 */ ".ee........"
- /* 7 */ "..........."
- /* 8 */ "..........."
- /* 9 */ "..........."
- /* 10 */ "..........."
-
- // Level 7
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "aaa........"
- /* 1 */ "dd........."
- /* 2 */ "cc........."
- /* 3 */ "bb........."
- /* 4 */ "ff........."
- /* 5 */ "e.........."
- /* 6 */ "..........."
- /* 7 */ "..........."
- /* 8 */ "..........."
- /* 9 */ "..........."
- /* 10 */ "...........",
-
- // Connectors:
- "-1: 0, 8, 5: 4\n" /* Type -1, direction X- */
- "1: 5, 1, 10: 3\n" /* Type 1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CurveDownFromTopSingle
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CurveSingle:
- // The data has been exported from the gallery Cube, area index 84, ID 462, created by Aloe_vera
- {
- // Size:
- 11, 1, 11, // SizeX = 11, SizeY = 1, SizeZ = 11
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 10, 2, 10, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:14\n" /* wool */
- "b: 35: 1\n" /* wool */
- "c: 35: 4\n" /* wool */
- "d: 35: 5\n" /* wool */
- "e: 35: 3\n" /* wool */
- "f: 35:11\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "aaaaaa....."
- /* 1 */ "bbbbbbaa..."
- /* 2 */ "cccccbbaa.."
- /* 3 */ "ddddcccbaa."
- /* 4 */ "eeedddccba."
- /* 5 */ "ffeeeddcbba"
- /* 6 */ ".fffeedccba"
- /* 7 */ "...ffeddcba"
- /* 8 */ "....feedcba"
- /* 9 */ "....ffedcba"
- /* 10 */ ".....fedcba",
-
- // Connectors:
- "-1: 0, 1, 5: 4\n" /* Type -1, direction X- */
- "1: 5, 1, 10: 3\n" /* Type 1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CurveSingle
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CurveSingleLeft:
- // The data has been exported from the gallery Cube, area index 97, ID 475, created by Aloe_vera
- {
- // Size:
- 11, 1, 11, // SizeX = 11, SizeY = 1, SizeZ = 11
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 10, 2, 10, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:14\n" /* wool */
- "b: 35: 1\n" /* wool */
- "c: 35: 4\n" /* wool */
- "d: 35: 5\n" /* wool */
- "e: 35: 3\n" /* wool */
- "f: 35:11\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ ".....abcdef"
- /* 1 */ "....aabcdef"
- /* 2 */ "....abbcdef"
- /* 3 */ "...aabccdef"
- /* 4 */ ".aaabbcddef"
- /* 5 */ "aabbbccdeef"
- /* 6 */ "bbbcccddef."
- /* 7 */ "ccccdddeff."
- /* 8 */ "dddddeeff.."
- /* 9 */ "eeeeeeff..."
- /* 10 */ "ffffff.....",
-
- // Connectors:
- "-1: 0, 1, 10: 4\n" /* Type -1, direction X- */
- "1: 10, 1, 0: 2\n" /* Type 1, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CurveSingleLeft
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CurveUpDouble:
- // The data has been exported from the gallery Cube, area index 92, ID 470, created by Aloe_vera
- {
- // Size:
- 14, 8, 14, // SizeX = 14, SizeY = 8, SizeZ = 14
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 13, 9, 13, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:11\n" /* wool */
- "b: 35: 3\n" /* wool */
- "c: 35: 5\n" /* wool */
- "d: 35: 4\n" /* wool */
- "e: 35: 1\n" /* wool */
- "f: 35:14\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "a............."
- /* 1 */ "b............."
- /* 2 */ "c............."
- /* 3 */ "d............."
- /* 4 */ "e............."
- /* 5 */ "f............."
- /* 6 */ "f............."
- /* 7 */ "e............."
- /* 8 */ "d............."
- /* 9 */ "c............."
- /* 10 */ "b............."
- /* 11 */ "a............."
- /* 12 */ ".............."
- /* 13 */ ".............."
-
- // Level 1
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ ".aa..........."
- /* 1 */ ".bb..........."
- /* 2 */ ".cc..........."
- /* 3 */ ".dd..........."
- /* 4 */ ".ee..........."
- /* 5 */ ".f............"
- /* 6 */ ".f............"
- /* 7 */ ".e............"
- /* 8 */ ".d............"
- /* 9 */ ".c............"
- /* 10 */ ".b............"
- /* 11 */ ".b............"
- /* 12 */ ".............."
- /* 13 */ ".............."
-
- // Level 2
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "...aaa........"
- /* 1 */ "...bb........."
- /* 2 */ "...cc........."
- /* 3 */ "...dd........."
- /* 4 */ "...ee........."
- /* 5 */ "..ff.........."
- /* 6 */ "..ff.........."
- /* 7 */ "..ee.........."
- /* 8 */ "..de.........."
- /* 9 */ "..c..........."
- /* 10 */ ".b............"
- /* 11 */ ".b............"
- /* 12 */ ".............."
- /* 13 */ ".............."
-
- // Level 3
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ ".............."
- /* 1 */ ".....baa......"
- /* 2 */ ".....bbaaa...."
- /* 3 */ "....dccbba...."
- /* 4 */ "....eddcc....."
- /* 5 */ "....fedd......"
- /* 6 */ "....ffee......"
- /* 7 */ "....ff........"
- /* 8 */ "....e........."
- /* 9 */ "...dd........."
- /* 10 */ "..cc.........."
- /* 11 */ "..b..........."
- /* 12 */ ".a............"
- /* 13 */ ".............."
-
- // Level 4
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ ".............."
- /* 1 */ ".............."
- /* 2 */ ".............."
- /* 3 */ "..........a..."
- /* 4 */ ".........ba..."
- /* 5 */ "........cc...."
- /* 6 */ ".......edc...."
- /* 7 */ "......fedd...."
- /* 8 */ ".....ff......."
- /* 9 */ "....de........"
- /* 10 */ "...cde........"
- /* 11 */ "..b..........."
- /* 12 */ ".a............"
- /* 13 */ ".............."
-
- // Level 5
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ ".............."
- /* 1 */ ".............."
- /* 2 */ ".............."
- /* 3 */ ".............."
- /* 4 */ "...........a.."
- /* 5 */ "..........ba.."
- /* 6 */ "..........baa."
- /* 7 */ "..........cba."
- /* 8 */ ".......fedcb.."
- /* 9 */ "......fffed..."
- /* 10 */ ".....eef......"
- /* 11 */ "...ccd........"
- /* 12 */ "..b..........."
- /* 13 */ ".............."
-
- // Level 6
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ ".............."
- /* 1 */ ".............."
- /* 2 */ ".............."
- /* 3 */ ".............."
- /* 4 */ ".............."
- /* 5 */ ".............."
- /* 6 */ ".............."
- /* 7 */ ".............."
- /* 8 */ "............ba"
- /* 9 */ "...........cba"
- /* 10 */ "........fedcba"
- /* 11 */ "......effedc.."
- /* 12 */ "..bbcdef......"
- /* 13 */ "..a..........."
-
- // Level 7
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ ".............."
- /* 1 */ ".............."
- /* 2 */ ".............."
- /* 3 */ ".............."
- /* 4 */ ".............."
- /* 5 */ ".............."
- /* 6 */ ".............."
- /* 7 */ ".............."
- /* 8 */ ".............."
- /* 9 */ ".............."
- /* 10 */ ".............."
- /* 11 */ "............ba"
- /* 12 */ "........fedcba"
- /* 13 */ "..abcdeffedcba",
-
- // Connectors:
- "-2: 0, 1, 11: 4\n" /* Type -2, direction X- */
- "2: 0, 1, 0: 4\n" /* Type 2, direction X- */
- "2: 2, 8, 13: 3\n" /* Type 2, direction Z+ */
- "-2: 13, 8, 13: 3\n" /* Type -2, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CurveUpDouble
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CurveUpSingle:
- // The data has been exported from the gallery Cube, area index 87, ID 465, created by Aloe_vera
- {
- // Size:
- 11, 8, 11, // SizeX = 11, SizeY = 8, SizeZ = 11
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 10, 9, 10, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:14\n" /* wool */
- "b: 35: 1\n" /* wool */
- "c: 35: 4\n" /* wool */
- "d: 35: 5\n" /* wool */
- "e: 35: 3\n" /* wool */
- "f: 35:11\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "aaa........"
- /* 1 */ "bb........."
- /* 2 */ "cc........."
- /* 3 */ "dd........."
- /* 4 */ "ee........."
- /* 5 */ "f.........."
- /* 6 */ "..........."
- /* 7 */ "..........."
- /* 8 */ "..........."
- /* 9 */ "..........."
- /* 10 */ "..........."
-
- // Level 1
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "...aaa....."
- /* 1 */ "..bbb......"
- /* 2 */ ".cc........"
- /* 3 */ ".dd........"
- /* 4 */ ".ee........"
- /* 5 */ ".f........."
- /* 6 */ ".ff........"
- /* 7 */ "..........."
- /* 8 */ "..........."
- /* 9 */ "..........."
- /* 10 */ "..........."
-
- // Level 2
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ ".....baa..."
- /* 2 */ "...ccb....."
- /* 3 */ "...dc......"
- /* 4 */ "...d......."
- /* 5 */ "..ee......."
- /* 6 */ "..ff......."
- /* 7 */ "..........."
- /* 8 */ "..........."
- /* 9 */ "..........."
- /* 10 */ "..........."
-
- // Level 3
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "......baa.."
- /* 3 */ ".....ccb..."
- /* 4 */ "....dd....."
- /* 5 */ "....e......"
- /* 6 */ "...fe......"
- /* 7 */ "...ff......"
- /* 8 */ "..........."
- /* 9 */ "..........."
- /* 10 */ "..........."
-
- // Level 4
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "........aa."
- /* 4 */ "......ccb.."
- /* 5 */ ".....dd...."
- /* 6 */ ".....e....."
- /* 7 */ "....fe....."
- /* 8 */ "....f......"
- /* 9 */ "..........."
- /* 10 */ "..........."
-
- // Level 5
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ ".........a."
- /* 5 */ ".......cbba"
- /* 6 */ "......dc..."
- /* 7 */ "......d...."
- /* 8 */ ".....ee...."
- /* 9 */ "....ff....."
- /* 10 */ "..........."
-
- // Level 6
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ "..........."
- /* 5 */ "..........."
- /* 6 */ "........cba"
- /* 7 */ ".......dcba"
- /* 8 */ ".......dcb."
- /* 9 */ ".....fe...."
- /* 10 */ ".....f....."
-
- // Level 7
- /* z\x* 1 */
- /* * 01234567890 */
- /* 0 */ "..........."
- /* 1 */ "..........."
- /* 2 */ "..........."
- /* 3 */ "..........."
- /* 4 */ "..........."
- /* 5 */ "..........."
- /* 6 */ "..........."
- /* 7 */ "..........."
- /* 8 */ "..........a"
- /* 9 */ ".......dcba"
- /* 10 */ ".....fedcba",
-
- // Connectors:
- "-1: 0, 1, 5: 4\n" /* Type -1, direction X- */
- "1: 5, 8, 10: 3\n" /* Type 1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CurveUpSingle
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // SlopeDownFromTopSingle:
- // The data has been exported from the gallery Cube, area index 98, ID 476, created by Aloe_vera
- {
- // Size:
- 16, 8, 6, // SizeX = 16, SizeY = 8, SizeZ = 6
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 15, 9, 5, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:14\n" /* wool */
- "b: 35: 1\n" /* wool */
- "c: 35: 4\n" /* wool */
- "d: 35: 5\n" /* wool */
- "e: 35: 3\n" /* wool */
- "f: 35:11\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "..............aa"
- /* 1 */ "..............bb"
- /* 2 */ "..............cc"
- /* 3 */ "..............dd"
- /* 4 */ "..............ee"
- /* 5 */ "..............ff"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "............aa.."
- /* 1 */ "............bb.."
- /* 2 */ "............cc.."
- /* 3 */ "............dd.."
- /* 4 */ "............ee.."
- /* 5 */ "............ff.."
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "..........aa...."
- /* 1 */ "..........bb...."
- /* 2 */ "..........cc...."
- /* 3 */ "..........dd...."
- /* 4 */ "..........ee...."
- /* 5 */ "..........ff...."
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "........aa......"
- /* 1 */ "........bb......"
- /* 2 */ "........cc......"
- /* 3 */ "........dd......"
- /* 4 */ "........ee......"
- /* 5 */ "........ff......"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "......aa........"
- /* 1 */ "......bb........"
- /* 2 */ "......cc........"
- /* 3 */ "......dd........"
- /* 4 */ "......ee........"
- /* 5 */ "......ff........"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "....aa.........."
- /* 1 */ "....bb.........."
- /* 2 */ "....cc.........."
- /* 3 */ "....dd.........."
- /* 4 */ "....ee.........."
- /* 5 */ "....ff.........."
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "..aa............"
- /* 1 */ "..bb............"
- /* 2 */ "..cc............"
- /* 3 */ "..dd............"
- /* 4 */ "..ee............"
- /* 5 */ "..ff............"
-
- // Level 7
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aa.............."
- /* 1 */ "bb.............."
- /* 2 */ "cc.............."
- /* 3 */ "dd.............."
- /* 4 */ "ee.............."
- /* 5 */ "ff..............",
-
- // Connectors:
- "-1: 0, 8, 5: 4\n" /* Type -1, direction X- */
- "1: 15, 1, 5: 5\n" /* Type 1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // SlopeDownFromTopSingle
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // SlopeUpDouble:
- // The data has been exported from the gallery Cube, area index 90, ID 468, created by Aloe_vera
- {
- // Size:
- 16, 8, 12, // SizeX = 16, SizeY = 8, SizeZ = 12
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 15, 9, 11, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:11\n" /* wool */
- "b: 35: 3\n" /* wool */
- "c: 35: 5\n" /* wool */
- "d: 35: 4\n" /* wool */
- "e: 35: 1\n" /* wool */
- "f: 35:14\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aa.............."
- /* 1 */ "bb.............."
- /* 2 */ "cc.............."
- /* 3 */ "dd.............."
- /* 4 */ "ee.............."
- /* 5 */ "ff.............."
- /* 6 */ "ff.............."
- /* 7 */ "ee.............."
- /* 8 */ "dd.............."
- /* 9 */ "cc.............."
- /* 10 */ "bb.............."
- /* 11 */ "aa.............."
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "..aa............"
- /* 1 */ "..bb............"
- /* 2 */ "..cc............"
- /* 3 */ "..dd............"
- /* 4 */ "..ee............"
- /* 5 */ "..ff............"
- /* 6 */ "..ff............"
- /* 7 */ "..ee............"
- /* 8 */ "..dd............"
- /* 9 */ "..cc............"
- /* 10 */ "..bb............"
- /* 11 */ "..aa............"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "....aa.........."
- /* 1 */ "....bb.........."
- /* 2 */ "....cc.........."
- /* 3 */ "....dd.........."
- /* 4 */ "....ee.........."
- /* 5 */ "....ff.........."
- /* 6 */ "....ff.........."
- /* 7 */ "....ee.........."
- /* 8 */ "....dd.........."
- /* 9 */ "....cc.........."
- /* 10 */ "....bb.........."
- /* 11 */ "....aa.........."
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "......aa........"
- /* 1 */ "......bb........"
- /* 2 */ "......cc........"
- /* 3 */ "......dd........"
- /* 4 */ "......ee........"
- /* 5 */ "......ff........"
- /* 6 */ "......ff........"
- /* 7 */ "......ee........"
- /* 8 */ "......dd........"
- /* 9 */ "......cc........"
- /* 10 */ "......bb........"
- /* 11 */ "......aa........"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "........aa......"
- /* 1 */ "........bb......"
- /* 2 */ "........cc......"
- /* 3 */ "........dd......"
- /* 4 */ "........ee......"
- /* 5 */ "........ff......"
- /* 6 */ "........ff......"
- /* 7 */ "........ee......"
- /* 8 */ "........dd......"
- /* 9 */ "........cc......"
- /* 10 */ "........bb......"
- /* 11 */ "........aa......"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "..........aa...."
- /* 1 */ "..........bb...."
- /* 2 */ "..........cc...."
- /* 3 */ "..........dd...."
- /* 4 */ "..........ee...."
- /* 5 */ "..........ff...."
- /* 6 */ "..........ff...."
- /* 7 */ "..........ee...."
- /* 8 */ "..........dd...."
- /* 9 */ "..........cc...."
- /* 10 */ "..........bb...."
- /* 11 */ "..........aa...."
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "............aa.."
- /* 1 */ "............bb.."
- /* 2 */ "............cc.."
- /* 3 */ "............dd.."
- /* 4 */ "............ee.."
- /* 5 */ "............ff.."
- /* 6 */ "............ff.."
- /* 7 */ "............ee.."
- /* 8 */ "............dd.."
- /* 9 */ "............cc.."
- /* 10 */ "............bb.."
- /* 11 */ "............aa.."
-
- // Level 7
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "..............aa"
- /* 1 */ "..............bb"
- /* 2 */ "..............cc"
- /* 3 */ "..............dd"
- /* 4 */ "..............ee"
- /* 5 */ "..............ff"
- /* 6 */ "..............ff"
- /* 7 */ "..............ee"
- /* 8 */ "..............dd"
- /* 9 */ "..............cc"
- /* 10 */ "..............bb"
- /* 11 */ "..............aa",
-
- // Connectors:
- "-2: 0, 1, 11: 4\n" /* Type -2, direction X- */
- "2: 0, 1, 0: 4\n" /* Type 2, direction X- */
- "-2: 15, 8, 0: 5\n" /* Type -2, direction X+ */
- "2: 15, 8, 11: 5\n" /* Type 2, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // SlopeUpDouble
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // SlopeUpSingle:
- // The data has been exported from the gallery Cube, area index 85, ID 463, created by Aloe_vera
- {
- // Size:
- 16, 8, 6, // SizeX = 16, SizeY = 8, SizeZ = 6
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 15, 9, 5, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:14\n" /* wool */
- "b: 35: 1\n" /* wool */
- "c: 35: 4\n" /* wool */
- "d: 35: 5\n" /* wool */
- "e: 35: 3\n" /* wool */
- "f: 35:11\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aa.............."
- /* 1 */ "bb.............."
- /* 2 */ "cc.............."
- /* 3 */ "dd.............."
- /* 4 */ "ee.............."
- /* 5 */ "ff.............."
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "..aa............"
- /* 1 */ "..bb............"
- /* 2 */ "..cc............"
- /* 3 */ "..dd............"
- /* 4 */ "..ee............"
- /* 5 */ "..ff............"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "....aa.........."
- /* 1 */ "....bb.........."
- /* 2 */ "....cc.........."
- /* 3 */ "....dd.........."
- /* 4 */ "....ee.........."
- /* 5 */ "....ff.........."
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "......aa........"
- /* 1 */ "......bb........"
- /* 2 */ "......cc........"
- /* 3 */ "......dd........"
- /* 4 */ "......ee........"
- /* 5 */ "......ff........"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "........aa......"
- /* 1 */ "........bb......"
- /* 2 */ "........cc......"
- /* 3 */ "........dd......"
- /* 4 */ "........ee......"
- /* 5 */ "........ff......"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "..........aa...."
- /* 1 */ "..........bb...."
- /* 2 */ "..........cc...."
- /* 3 */ "..........dd...."
- /* 4 */ "..........ee...."
- /* 5 */ "..........ff...."
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "............aa.."
- /* 1 */ "............bb.."
- /* 2 */ "............cc.."
- /* 3 */ "............dd.."
- /* 4 */ "............ee.."
- /* 5 */ "............ff.."
-
- // Level 7
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "..............aa"
- /* 1 */ "..............bb"
- /* 2 */ "..............cc"
- /* 3 */ "..............dd"
- /* 4 */ "..............ee"
- /* 5 */ "..............ff",
-
- // Connectors:
- "-1: 0, 1, 5: 4\n" /* Type -1, direction X- */
- "1: 15, 8, 5: 5\n" /* Type 1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- -1000,
-
- // MoveToGround:
- false,
- }, // SlopeUpSingle
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // SplitTee:
- // The data has been exported from the gallery Cube, area index 93, ID 471, created by Aloe_vera
- {
- // Size:
- 16, 1, 14, // SizeX = 16, SizeY = 1, SizeZ = 14
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 15, 2, 13, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:11\n" /* wool */
- "b: 35: 3\n" /* wool */
- "c: 35: 5\n" /* wool */
- "d: 35: 4\n" /* wool */
- "e: 35: 1\n" /* wool */
- "f: 35:14\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaa.........."
- /* 1 */ "bbbbbbaaa......."
- /* 2 */ "ccccccbbbaaa...."
- /* 3 */ "ddddddcccbbbaaaa"
- /* 4 */ "eeeeeedddcccbbbb"
- /* 5 */ "ffffffeeedddcccc"
- /* 6 */ "fffffffffeeedddd"
- /* 7 */ "eeeeff...fffeeee"
- /* 8 */ "dddeeff.....ffff"
- /* 9 */ "cccddeff........"
- /* 10 */ "bbbccdeef......."
- /* 11 */ "aaabbcddef......"
- /* 12 */ "...aabcddef....."
- /* 13 */ ".....abcdef.....",
-
- // Connectors:
- "-2: 0, 1, 11: 4\n" /* Type -2, direction X- */
- "2: 0, 1, 0: 4\n" /* Type 2, direction X- */
- "-1: 15, 1, 3: 5\n" /* Type -1, direction X+ */
- "1: 5, 1, 13: 3\n" /* Type 1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // SplitTee
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // StraightDouble:
- // The data has been exported from the gallery Cube, area index 88, ID 466, created by Aloe_vera
- {
- // Size:
- 16, 1, 12, // SizeX = 16, SizeY = 1, SizeZ = 12
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 15, 2, 11, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:11\n" /* wool */
- "b: 35: 3\n" /* wool */
- "c: 35: 5\n" /* wool */
- "d: 35: 4\n" /* wool */
- "e: 35: 1\n" /* wool */
- "f: 35:14\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "bbbbbbbbbbbbbbbb"
- /* 2 */ "cccccccccccccccc"
- /* 3 */ "dddddddddddddddd"
- /* 4 */ "eeeeeeeeeeeeeeee"
- /* 5 */ "ffffffffffffffff"
- /* 6 */ "ffffffffffffffff"
- /* 7 */ "eeeeeeeeeeeeeeee"
- /* 8 */ "dddddddddddddddd"
- /* 9 */ "cccccccccccccccc"
- /* 10 */ "bbbbbbbbbbbbbbbb"
- /* 11 */ "aaaaaaaaaaaaaaaa",
-
- // Connectors:
- "-2: 0, 1, 11: 4\n" /* Type -2, direction X- */
- "2: 0, 1, 0: 4\n" /* Type 2, direction X- */
- "-2: 15, 1, 0: 5\n" /* Type -2, direction X+ */
- "2: 15, 1, 11: 5\n" /* Type 2, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // StraightDouble
-}; // g_RainbowRoadPrefabs
-
-
-
-
-
-
-const cPrefab::sDef g_RainbowRoadStartingPrefabs[] =
-{
- ////////////////////////////////////////////////////////////////////////////////
- // StraightSingle:
- // The data has been exported from the gallery Cube, area index 83, ID 461, created by Aloe_vera
- {
- // Size:
- 16, 1, 6, // SizeX = 16, SizeY = 1, SizeZ = 6
-
- // Hitbox (relative to bounding box):
- 0, -2, 0, // MinX, MinY, MinZ
- 15, 2, 5, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 35:14\n" /* wool */
- "b: 35: 1\n" /* wool */
- "c: 35: 4\n" /* wool */
- "d: 35: 5\n" /* wool */
- "e: 35: 3\n" /* wool */
- "f: 35:11\n" /* wool */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "aaaaaaaaaaaaaaaa"
- /* 1 */ "bbbbbbbbbbbbbbbb"
- /* 2 */ "cccccccccccccccc"
- /* 3 */ "dddddddddddddddd"
- /* 4 */ "eeeeeeeeeeeeeeee"
- /* 5 */ "ffffffffffffffff",
-
- // Connectors:
- "-1: 0, 1, 5: 4\n" /* Type -1, direction X- */
- "1: 15, 1, 5: 5\n" /* Type 1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 500,
-
- // MoveToGround:
- false,
- }, // StraightSingle
-};
-
-
-
-
-
-// The prefab counts:
-
-const size_t g_RainbowRoadPrefabsCount = ARRAYCOUNT(g_RainbowRoadPrefabs);
-
-const size_t g_RainbowRoadStartingPrefabsCount = ARRAYCOUNT(g_RainbowRoadStartingPrefabs);
-
diff --git a/src/Generating/Prefabs/RainbowRoadPrefabs.h b/src/Generating/Prefabs/RainbowRoadPrefabs.h
deleted file mode 100644
index ab0a0fbb2..000000000
--- a/src/Generating/Prefabs/RainbowRoadPrefabs.h
+++ /dev/null
@@ -1,15 +0,0 @@
-
-// RainbowRoadPrefabs.h
-
-// Declares the prefabs in the group RainbowRoad
-
-#include "../Prefab.h"
-
-
-
-
-
-extern const cPrefab::sDef g_RainbowRoadPrefabs[];
-extern const cPrefab::sDef g_RainbowRoadStartingPrefabs[];
-extern const size_t g_RainbowRoadPrefabsCount;
-extern const size_t g_RainbowRoadStartingPrefabsCount;
diff --git a/src/Generating/Prefabs/TestRailsPrefabs.cpp b/src/Generating/Prefabs/TestRailsPrefabs.cpp
deleted file mode 100644
index f58b95225..000000000
--- a/src/Generating/Prefabs/TestRailsPrefabs.cpp
+++ /dev/null
@@ -1,484 +0,0 @@
-
-// TestRailsPrefabs.cpp
-
-// Defines the prefabs in the group TestRails
-
-// NOTE: This file has been generated automatically by GalExport!
-// Any manual changes will be overwritten by the next automatic export!
-
-#include "Globals.h"
-#include "TestRailsPrefabs.h"
-
-
-
-
-
-const cPrefab::sDef g_TestRailsPrefabs[] =
-{
- ////////////////////////////////////////////////////////////////////////////////
- // ActivatorRail:
- // The data has been exported from the gallery Plains, area index 251, ID 746, created by Aloe_vera
- {
- // Size:
- 7, 3, 7, // SizeX = 7, SizeY = 3, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 6, 2, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 1: 0\n" /* stone */
- "b: 5: 0\n" /* wood */
- "c:157: 0\n" /* activatorrail */
- "d:157: 2\n" /* activatorrail */
- "e:157: 3\n" /* activatorrail */
- "f:157: 5\n" /* activatorrail */
- "g: 50: 5\n" /* torch */
- "h:157: 4\n" /* activatorrail */
- "i:157: 1\n" /* activatorrail */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 0123456 */
- /* 0 */ "aaab..."
- /* 1 */ "abbbbb."
- /* 2 */ "abbb.b."
- /* 3 */ "bbbb.bb"
- /* 4 */ ".b...b."
- /* 5 */ ".bbbbb."
- /* 6 */ "...b..."
-
- // Level 1
- /* z\x* 0123456 */
- /* 0 */ "......."
- /* 1 */ ".cdbec."
- /* 2 */ ".fg..f."
- /* 3 */ ".b.g.b."
- /* 4 */ ".h...h."
- /* 5 */ ".cdbec."
- /* 6 */ "......."
-
- // Level 2
- /* z\x* 0123456 */
- /* 0 */ "......."
- /* 1 */ "...i..."
- /* 2 */ "......."
- /* 3 */ ".c...c."
- /* 4 */ "......."
- /* 5 */ "...i..."
- /* 6 */ ".......",
-
- // Connectors:
- "1: 6, 1, 3: 5\n" /* Type 1, direction X+ */
- "-1: 6, 1, 3: 5\n" /* Type -1, direction X+ */
- "1: 3, 1, 6: 3\n" /* Type 1, direction Z+ */
- "-1: 3, 1, 6: 3\n" /* Type -1, direction Z+ */
- "1: 0, 1, 3: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 3: 4\n" /* Type -1, direction X- */
- "1: 3, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 3, 1, 0: 2\n" /* Type -1, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // ActivatorRail
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // DetectorRail:
- // The data has been exported from the gallery Plains, area index 250, ID 745, created by Aloe_vera
- {
- // Size:
- 7, 3, 7, // SizeX = 7, SizeY = 3, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 6, 2, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 1: 0\n" /* stone */
- "b: 5: 0\n" /* wood */
- "c: 28: 0\n" /* detectorrail */
- "d: 28: 2\n" /* detectorrail */
- "e: 28: 3\n" /* detectorrail */
- "f: 28: 5\n" /* detectorrail */
- "g: 50: 5\n" /* torch */
- "h: 28: 4\n" /* detectorrail */
- "i: 28: 1\n" /* detectorrail */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 0123456 */
- /* 0 */ "aaab..."
- /* 1 */ "abbbbb."
- /* 2 */ "abbb.b."
- /* 3 */ "bbbb.bb"
- /* 4 */ ".b...b."
- /* 5 */ ".bbbbb."
- /* 6 */ "...b..."
-
- // Level 1
- /* z\x* 0123456 */
- /* 0 */ "......."
- /* 1 */ ".cdbec."
- /* 2 */ ".fg..f."
- /* 3 */ ".b.g.b."
- /* 4 */ ".h...h."
- /* 5 */ ".cdbec."
- /* 6 */ "......."
-
- // Level 2
- /* z\x* 0123456 */
- /* 0 */ "......."
- /* 1 */ "...i..."
- /* 2 */ "......."
- /* 3 */ ".c...c."
- /* 4 */ "......."
- /* 5 */ "...i..."
- /* 6 */ ".......",
-
- // Connectors:
- "1: 6, 1, 3: 5\n" /* Type 1, direction X+ */
- "-1: 6, 1, 3: 5\n" /* Type -1, direction X+ */
- "1: 3, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 3, 1, 0: 2\n" /* Type -1, direction Z- */
- "1: 0, 1, 3: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 3: 4\n" /* Type -1, direction X- */
- "1: 3, 1, 6: 3\n" /* Type 1, direction Z+ */
- "-1: 3, 1, 6: 3\n" /* Type -1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // DetectorRail
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // PowerRail:
- // The data has been exported from the gallery Plains, area index 248, ID 743, created by Aloe_vera
- {
- // Size:
- 7, 3, 7, // SizeX = 7, SizeY = 3, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 6, 2, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 1: 0\n" /* stone */
- "b: 5: 0\n" /* wood */
- "c: 27: 0\n" /* poweredrail */
- "d: 27: 2\n" /* poweredrail */
- "e: 27: 3\n" /* poweredrail */
- "f: 27: 5\n" /* poweredrail */
- "g: 50: 5\n" /* torch */
- "h: 27: 4\n" /* poweredrail */
- "i: 27: 1\n" /* poweredrail */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 0123456 */
- /* 0 */ "aaab..."
- /* 1 */ "abbbbb."
- /* 2 */ "abbb.b."
- /* 3 */ "bbbb.bb"
- /* 4 */ ".b...b."
- /* 5 */ ".bbbbb."
- /* 6 */ "...b..."
-
- // Level 1
- /* z\x* 0123456 */
- /* 0 */ "......."
- /* 1 */ ".cdbec."
- /* 2 */ ".fg..f."
- /* 3 */ ".b.g.b."
- /* 4 */ ".h...h."
- /* 5 */ ".cdbec."
- /* 6 */ "......."
-
- // Level 2
- /* z\x* 0123456 */
- /* 0 */ "......."
- /* 1 */ "...i..."
- /* 2 */ "......."
- /* 3 */ ".c...c."
- /* 4 */ "......."
- /* 5 */ "...i..."
- /* 6 */ ".......",
-
- // Connectors:
- "1: 6, 1, 3: 5\n" /* Type 1, direction X+ */
- "-1: 6, 1, 3: 5\n" /* Type -1, direction X+ */
- "1: 3, 1, 6: 3\n" /* Type 1, direction Z+ */
- "-1: 3, 1, 6: 3\n" /* Type -1, direction Z+ */
- "1: 0, 1, 3: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 3: 4\n" /* Type -1, direction X- */
- "1: 3, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 3, 1, 0: 2\n" /* Type -1, direction Z- */
- "1: 6, 1, 3: 5\n" /* Type 1, direction X+ */
- "-1: 6, 1, 3: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // PowerRail
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // RegularRail:
- // The data has been exported from the gallery Plains, area index 247, ID 742, created by Aloe_vera
- {
- // Size:
- 7, 3, 7, // SizeX = 7, SizeY = 3, SizeZ = 7
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 6, 2, 6, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 1: 0\n" /* stone */
- "b: 5: 0\n" /* wood */
- "c: 66: 6\n" /* tracks */
- "d: 66: 2\n" /* tracks */
- "e: 66: 3\n" /* tracks */
- "f: 66: 7\n" /* tracks */
- "g: 66: 5\n" /* tracks */
- "h: 50: 5\n" /* torch */
- "i: 66: 4\n" /* tracks */
- "j: 66: 9\n" /* tracks */
- "k: 66: 8\n" /* tracks */
- "l: 66: 1\n" /* tracks */
- "m: 19: 0\n" /* sponge */
- "n: 66: 0\n" /* tracks */,
-
- // Block data:
- // Level 0
- /* z\x* 0123456 */
- /* 0 */ "aaab..."
- /* 1 */ "abbbbb."
- /* 2 */ "abbb.b."
- /* 3 */ "bbbb.bb"
- /* 4 */ ".b...b."
- /* 5 */ ".bbbbb."
- /* 6 */ "...b..."
-
- // Level 1
- /* z\x* 0123456 */
- /* 0 */ "......."
- /* 1 */ ".cdbef."
- /* 2 */ ".gh..g."
- /* 3 */ ".b.h.b."
- /* 4 */ ".i...i."
- /* 5 */ ".jdbek."
- /* 6 */ "......."
-
- // Level 2
- /* z\x* 0123456 */
- /* 0 */ "......."
- /* 1 */ "...l..."
- /* 2 */ "......."
- /* 3 */ ".n...n."
- /* 4 */ "......."
- /* 5 */ "...l..."
- /* 6 */ ".......",
-
- // Connectors:
- "1: 6, 1, 3: 5\n" /* Type 1, direction X+ */
- "-1: 6, 1, 3: 5\n" /* Type -1, direction X+ */
- "1: 3, 1, 6: 3\n" /* Type 1, direction Z+ */
- "-1: 3, 1, 6: 3\n" /* Type -1, direction Z+ */
- "1: 0, 1, 3: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 3: 4\n" /* Type -1, direction X- */
- "1: 3, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 3, 1, 0: 2\n" /* Type -1, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- false,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // RegularRail
-}; // g_TestRailsPrefabs
-
-
-
-
-
-
-const cPrefab::sDef g_TestRailsStartingPrefabs[] =
-{
- ////////////////////////////////////////////////////////////////////////////////
- // CentralPiece:
- // The data has been exported from the gallery Plains, area index 249, ID 744, created by Aloe_vera
- {
- // Size:
- 6, 3, 6, // SizeX = 6, SizeY = 3, SizeZ = 6
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 5, 2, 5, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 1: 0\n" /* stone */
- "b: 5: 0\n" /* wood */
- "c: 66: 6\n" /* tracks */
- "d: 66: 2\n" /* tracks */
- "e: 66: 3\n" /* tracks */
- "f: 66: 7\n" /* tracks */
- "g: 66: 5\n" /* tracks */
- "h: 50: 5\n" /* torch */
- "i: 66: 4\n" /* tracks */
- "j: 66: 9\n" /* tracks */
- "k: 66: 8\n" /* tracks */
- "l: 66: 1\n" /* tracks */
- "m: 19: 0\n" /* sponge */
- "n: 66: 0\n" /* tracks */,
-
- // Block data:
- // Level 0
- /* z\x* 012345 */
- /* 0 */ "aaab.."
- /* 1 */ "abbbbb"
- /* 2 */ "abbb.b"
- /* 3 */ "bbbb.b"
- /* 4 */ ".b...b"
- /* 5 */ ".bbbbb"
-
- // Level 1
- /* z\x* 012345 */
- /* 0 */ "......"
- /* 1 */ ".cdbef"
- /* 2 */ ".gh..g"
- /* 3 */ ".b.h.b"
- /* 4 */ ".i...i"
- /* 5 */ ".jdbek"
-
- // Level 2
- /* z\x* 012345 */
- /* 0 */ "......"
- /* 1 */ "...l.."
- /* 2 */ "......"
- /* 3 */ ".n...n"
- /* 4 */ "......"
- /* 5 */ "...l..",
-
- // Connectors:
- "1: 3, 1, 6: 3\n" /* Type 1, direction Z+ */
- "1: 0, 1, 3: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 3: 4\n" /* Type -1, direction X- */
- "-1: 3, 1, 6: 3\n" /* Type -1, direction Z+ */
- "1: 6, 1, 3: 5\n" /* Type 1, direction X+ */
- "-1: 6, 1, 3: 5\n" /* Type -1, direction X+ */
- "1: 3, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 3, 1, 0: 2\n" /* Type -1, direction Z- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CentralPiece
-};
-
-
-
-
-
-// The prefab counts:
-
-const size_t g_TestRailsPrefabsCount = ARRAYCOUNT(g_TestRailsPrefabs);
-
-const size_t g_TestRailsStartingPrefabsCount = ARRAYCOUNT(g_TestRailsStartingPrefabs);
-
diff --git a/src/Generating/Prefabs/TestRailsPrefabs.h b/src/Generating/Prefabs/TestRailsPrefabs.h
deleted file mode 100644
index 24b84de74..000000000
--- a/src/Generating/Prefabs/TestRailsPrefabs.h
+++ /dev/null
@@ -1,15 +0,0 @@
-
-// TestRailsPrefabs.h
-
-// Declares the prefabs in the group TestRails
-
-#include "../Prefab.h"
-
-
-
-
-
-extern const cPrefab::sDef g_TestRailsPrefabs[];
-extern const cPrefab::sDef g_TestRailsStartingPrefabs[];
-extern const size_t g_TestRailsPrefabsCount;
-extern const size_t g_TestRailsStartingPrefabsCount;
diff --git a/src/Generating/Prefabs/UnderwaterBasePrefabs.cpp b/src/Generating/Prefabs/UnderwaterBasePrefabs.cpp
deleted file mode 100644
index 112531641..000000000
--- a/src/Generating/Prefabs/UnderwaterBasePrefabs.cpp
+++ /dev/null
@@ -1,2263 +0,0 @@
-
-// UnderwaterBasePrefabs.cpp
-
-// Defines the prefabs in the group UnderwaterBase
-
-// NOTE: This file has been generated automatically by GalExport!
-// Any manual changes will be overwritten by the next automatic export!
-
-#include "Globals.h"
-#include "UnderwaterBasePrefabs.h"
-
-
-
-
-
-const cPrefab::sDef g_UnderwaterBasePrefabs[] =
-{
- ////////////////////////////////////////////////////////////////////////////////
- // BrokenRoom:
- // The data has been exported from the gallery Water, area index 49, ID 680, created by STR_Warrior
- {
- // Size:
- 14, 7, 12, // SizeX = 14, SizeY = 7, SizeZ = 12
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 13, 6, 11, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 0\n" /* wood */
- "b: 20: 0\n" /* glass */
- "c: 5: 5\n" /* wood */
- "d: 8: 0\n" /* water */
- "e: 64: 0\n" /* wooddoorblock */
- "f: 64: 8\n" /* wooddoorblock */
- "g: 64: 9\n" /* wooddoorblock */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmaaaammmmmm"
- /* 2 */ "mmmaabbaammmmm"
- /* 3 */ "mmaabbbbaammmm"
- /* 4 */ "maabbbbbbaammm"
- /* 5 */ "mabbbbbbbbaaac"
- /* 6 */ "mabbbbbbbbaaac"
- /* 7 */ "maabbbbbbaammm"
- /* 8 */ "mmaabbbbaammmm"
- /* 9 */ "mmmaabbaammmmm"
- /* 10 */ "mmmmaaaammmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmaammmmmmm"
- /* 1 */ "mmmaaddaammmmm"
- /* 2 */ "mmaaddddaammmm"
- /* 3 */ "maaddddddaammm"
- /* 4 */ "maddddddddaaac"
- /* 5 */ "adddddddddddde"
- /* 6 */ "adddddddddddde"
- /* 7 */ "maddddddddaaac"
- /* 8 */ "maaddddddaammm"
- /* 9 */ "mmaaddddaammmm"
- /* 10 */ "mmmaaddaammmmm"
- /* 11 */ "mmmmmaammmmmmm"
-
- // Level 2
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmbbmmmmmmm"
- /* 1 */ "mmmbb..bbmmmmm"
- /* 2 */ "mmbb....bbmmmm"
- /* 3 */ "mbb......bbmmm"
- /* 4 */ "mb........bbac"
- /* 5 */ "b............f"
- /* 6 */ "b............g"
- /* 7 */ "mb........bbac"
- /* 8 */ "mbb......bbmmm"
- /* 9 */ "mmbb....bbmmmm"
- /* 10 */ "mmmbb..bbmmmmm"
- /* 11 */ "mmmmmbbmmmmmmm"
-
- // Level 3
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmbbmmmmmmm"
- /* 1 */ "mmmbb..bbmmmmm"
- /* 2 */ "mmbb....bbmmmm"
- /* 3 */ "mbb......bbmmm"
- /* 4 */ "mb........bbac"
- /* 5 */ "b..........bac"
- /* 6 */ "b..........bac"
- /* 7 */ "mb........bbac"
- /* 8 */ "mbb......bbmmm"
- /* 9 */ "mmbb....bbmmmm"
- /* 10 */ "mmmbb..bbmmmmm"
- /* 11 */ "mmmmmbbmmmmmmm"
-
- // Level 4
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmm.bmmmmmmm"
- /* 2 */ "mmmmb..bmmmmmm"
- /* 3 */ "mmmb....bmmmmm"
- /* 4 */ "mmb......bmmmm"
- /* 5 */ "m.........bmmm"
- /* 6 */ "mb........bmmm"
- /* 7 */ "mmb......bmmmm"
- /* 8 */ "mmm.....bmmmmm"
- /* 9 */ "mmmmb..bmmmmmm"
- /* 10 */ "mmmmmbbmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
-
- // Level 5
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "mmmmmbbmmmmmmm"
- /* 3 */ "mmmm....mmmmmm"
- /* 4 */ "mmmb....bmmmmm"
- /* 5 */ "mmb......bmmmm"
- /* 6 */ "mmb......bmmmm"
- /* 7 */ "mmmb.....mmmmm"
- /* 8 */ "mmmmb..bmmmmmm"
- /* 9 */ "mmmmmbbmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
-
- // Level 6
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmm"
- /* 3 */ "mmmmmbbmmmmmmm"
- /* 4 */ "mmmmbbbbmmmmmm"
- /* 5 */ "mmmbbbbbbmmmmm"
- /* 6 */ "mmmbb.bbbmmmmm"
- /* 7 */ "mmmmbbbbmmmmmm"
- /* 8 */ "mmmmmbbmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm",
-
- // Connectors:
- "1: 13, 1, 6: 5\n" /* Type 1, direction X+ */
- "-1: 13, 1, 5: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // BrokenRoom
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // Corridor16:
- // The data has been exported from the gallery Water, area index 25, ID 566, created by xoft
- {
- // Size:
- 16, 4, 4, // SizeX = 16, SizeY = 4, SizeZ = 4
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 3, 3, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 64: 2\n" /* wooddoorblock */
- "d: 64: 0\n" /* wooddoorblock */
- "e: 20: 0\n" /* glass */
- "f: 64: 9\n" /* wooddoorblock */
- "g: 76: 3\n" /* redstonetorchon */
- "h: 64: 8\n" /* wooddoorblock */
- "i: 76: 4\n" /* redstonetorchon */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "abbbbbbbbbbbbbba"
- /* 2 */ "abbbbbbbbbbbbbba"
- /* 3 */ "mmmmmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "abbbbbbbbbbbbbba"
- /* 1 */ "c..............d"
- /* 2 */ "c..............d"
- /* 3 */ "abbbbbbbbbbbbbba"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "abeebbbeebbbeeba"
- /* 1 */ "f...g......g...h"
- /* 2 */ "h...i......i...f"
- /* 3 */ "abeebbbeebbbeeba"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "abbbbbbbbbbbbbba"
- /* 1 */ "abbbbbbbbbbbbbba"
- /* 2 */ "abbbbbbbbbbbbbba"
- /* 3 */ "abbbbbbbbbbbbbba",
-
- // Connectors:
- "1: 0, 1, 1: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */
- "1: 15, 1, 2: 5\n" /* Type 1, direction X+ */
- "-1: 15, 1, 1: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 500,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // Corridor16
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CorridorCorner:
- // The data has been exported from the gallery Water, area index 26, ID 569, created by xoft
- {
- // Size:
- 10, 4, 10, // SizeX = 10, SizeY = 4, SizeZ = 10
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 9, 3, 9, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 64: 2\n" /* wooddoorblock */
- "d: 64: 1\n" /* wooddoorblock */
- "e: 20: 0\n" /* glass */
- "f: 64: 9\n" /* wooddoorblock */
- "g: 76: 3\n" /* redstonetorchon */
- "h: 64: 8\n" /* wooddoorblock */
- "i: 76: 4\n" /* redstonetorchon */
- "j: 76: 2\n" /* redstonetorchon */
- "k: 76: 1\n" /* redstonetorchon */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "mmmmmmmmmm"
- /* 1 */ "abbbbbmmmm"
- /* 2 */ "abbbbbbbmm"
- /* 3 */ "mmmbbbbbmm"
- /* 4 */ "mmmmmbbbbm"
- /* 5 */ "mmmmmmbbbm"
- /* 6 */ "mmmmmmbbbm"
- /* 7 */ "mmmmmmmbbm"
- /* 8 */ "mmmmmmmbbm"
- /* 9 */ "mmmmmmmaam"
-
- // Level 1
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "abbbbbmmmm"
- /* 1 */ "c.....bbmm"
- /* 2 */ "c.......bm"
- /* 3 */ "abb.....bm"
- /* 4 */ "mmmbb....b"
- /* 5 */ "mmmmmb...b"
- /* 6 */ "mmmmmb...b"
- /* 7 */ "mmmmmmb..b"
- /* 8 */ "mmmmmmb..b"
- /* 9 */ "mmmmmmadda"
-
- // Level 2
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "abeebbmmmm"
- /* 1 */ "f...g.bbmm"
- /* 2 */ "h.......bm"
- /* 3 */ "abbi....bm"
- /* 4 */ "mmmbb....b"
- /* 5 */ "mmmmmb..jb"
- /* 6 */ "mmmmmbk..e"
- /* 7 */ "mmmmmmb..e"
- /* 8 */ "mmmmmmb..b"
- /* 9 */ "mmmmmmafha"
-
- // Level 3
- /* z\x* */
- /* * 0123456789 */
- /* 0 */ "abbbbbmmmm"
- /* 1 */ "abbbbbbbmm"
- /* 2 */ "abbbbbbbbm"
- /* 3 */ "abbbbbbbbm"
- /* 4 */ "mmmbbbbbbb"
- /* 5 */ "mmmmmbbbbb"
- /* 6 */ "mmmmmbbbbb"
- /* 7 */ "mmmmmmbbbb"
- /* 8 */ "mmmmmmbbbb"
- /* 9 */ "mmmmmmaaaa",
-
- // Connectors:
- "1: 7, 1, 9: 3\n" /* Type 1, direction Z+ */
- "-1: 8, 1, 9: 3\n" /* Type -1, direction Z+ */
- "1: 0, 1, 1: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 200,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CorridorCorner
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CorridorCrossing:
- // The data has been exported from the gallery Water, area index 31, ID 581, created by LO1ZB
- {
- // Size:
- 16, 4, 16, // SizeX = 16, SizeY = 4, SizeZ = 16
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 3, 15, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 64: 3\n" /* wooddoorblock */
- "d: 64: 2\n" /* wooddoorblock */
- "e: 64: 0\n" /* wooddoorblock */
- "f: 64: 1\n" /* wooddoorblock */
- "g: 64: 8\n" /* wooddoorblock */
- "h: 64: 9\n" /* wooddoorblock */
- "i: 20: 0\n" /* glass */
- "j: 76: 1\n" /* redstonetorchon */
- "k: 76: 2\n" /* redstonetorchon */
- "l: 76: 3\n" /* redstonetorchon */
- "m: 19: 0\n" /* sponge */
- "n: 76: 4\n" /* redstonetorchon */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmaammmmmmm"
- /* 1 */ "mmmmmmmbbmmmmmmm"
- /* 2 */ "mmmmmmmbbmmmmmmm"
- /* 3 */ "mmmmmmmbbmmmmmmm"
- /* 4 */ "mmmmmmmbbmmmmmmm"
- /* 5 */ "mmmmmmmbbmmmmmmm"
- /* 6 */ "mmmmmmmbbmmmmmmm"
- /* 7 */ "abbbbbbbbbbbbbba"
- /* 8 */ "abbbbbbbbbbbbbba"
- /* 9 */ "mmmmmmmbbmmmmmmm"
- /* 10 */ "mmmmmmmbbmmmmmmm"
- /* 11 */ "mmmmmmmbbmmmmmmm"
- /* 12 */ "mmmmmmmbbmmmmmmm"
- /* 13 */ "mmmmmmmbbmmmmmmm"
- /* 14 */ "mmmmmmmbbmmmmmmm"
- /* 15 */ "mmmmmmmaammmmmmm"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaccammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmb..bmmmmmm"
- /* 3 */ "mmmmmmb..bmmmmmm"
- /* 4 */ "mmmmmmb..bmmmmmm"
- /* 5 */ "mmmmmmb..bmmmmmm"
- /* 6 */ "abbbbbb..bbbbbba"
- /* 7 */ "d..............e"
- /* 8 */ "d..............e"
- /* 9 */ "abbbbbb..bbbbbba"
- /* 10 */ "mmmmmmb..bmmmmmm"
- /* 11 */ "mmmmmmb..bmmmmmm"
- /* 12 */ "mmmmmmb..bmmmmmm"
- /* 13 */ "mmmmmmb..bmmmmmm"
- /* 14 */ "mmmmmmb..bmmmmmm"
- /* 15 */ "mmmmmmaffammmmmm"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaghammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmi..immmmmm"
- /* 3 */ "mmmmmmi..immmmmm"
- /* 4 */ "mmmmmmbjkbmmmmmm"
- /* 5 */ "mmmmmmb..bmmmmmm"
- /* 6 */ "abiibbb..bbbiiba"
- /* 7 */ "h...l......l...g"
- /* 8 */ "g...n......n...h"
- /* 9 */ "abiibbb..bbbiiba"
- /* 10 */ "mmmmmmb..bmmmmmm"
- /* 11 */ "mmmmmmbjkbmmmmmm"
- /* 12 */ "mmmmmmi..immmmmm"
- /* 13 */ "mmmmmmi..immmmmm"
- /* 14 */ "mmmmmmb..bmmmmmm"
- /* 15 */ "mmmmmmahgammmmmm"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaaaammmmmm"
- /* 1 */ "mmmmmmbbbbmmmmmm"
- /* 2 */ "mmmmmmbbbbmmmmmm"
- /* 3 */ "mmmmmmbbbbmmmmmm"
- /* 4 */ "mmmmmmbbbbmmmmmm"
- /* 5 */ "mmmmmmbbbbmmmmmm"
- /* 6 */ "abbbbbbbbbbbbbba"
- /* 7 */ "abbbbbbbbbbbbbba"
- /* 8 */ "abbbbbbbbbbbbbba"
- /* 9 */ "abbbbbbbbbbbbbba"
- /* 10 */ "mmmmmmbbbbmmmmmm"
- /* 11 */ "mmmmmmbbbbmmmmmm"
- /* 12 */ "mmmmmmbbbbmmmmmm"
- /* 13 */ "mmmmmmbbbbmmmmmm"
- /* 14 */ "mmmmmmbbbbmmmmmm"
- /* 15 */ "mmmmmmaaaammmmmm",
-
- // Connectors:
- "1: 0, 1, 7: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 8: 4\n" /* Type -1, direction X- */
- "1: 7, 1, 15: 3\n" /* Type 1, direction Z+ */
- "-1: 8, 1, 15: 3\n" /* Type -1, direction Z+ */
- "1: 8, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 7, 1, 0: 2\n" /* Type -1, direction Z- */
- "1: 15, 1, 8: 5\n" /* Type 1, direction X+ */
- "-1: 15, 1, 7: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CorridorCrossing
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CorridorStairs:
- // The data has been exported from the gallery Water, area index 32, ID 582, created by LO1ZB
- {
- // Size:
- 16, 9, 4, // SizeX = 16, SizeY = 9, SizeZ = 4
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 8, 3, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 64: 2\n" /* wooddoorblock */
- "d: 53: 0\n" /* woodstairs */
- "e: 20: 0\n" /* glass */
- "f: 64: 9\n" /* wooddoorblock */
- "g: 76: 3\n" /* redstonetorchon */
- "h: 64: 8\n" /* wooddoorblock */
- "i: 76: 4\n" /* redstonetorchon */
- "j: 64: 0\n" /* wooddoorblock */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "abbbbbbbmmmmmmmm"
- /* 2 */ "abbbbbbbmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "abbbbbbbmmmmmmmm"
- /* 1 */ "c.....dbbmmmmmmm"
- /* 2 */ "c.....dbbmmmmmmm"
- /* 3 */ "abbbbbbbmmmmmmmm"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "abeebbbbbmmmmmmm"
- /* 1 */ "f...g..dbbmmmmmm"
- /* 2 */ "h...i..dbbmmmmmm"
- /* 3 */ "abeebbbbbmmmmmmm"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "abbbbbbbbbmmmmmm"
- /* 1 */ "abbbb...dbbmmmmm"
- /* 2 */ "abbbb...dbbmmmmm"
- /* 3 */ "abbbbbbbbbmmmmmm"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmbbbbbmmmmmm"
- /* 1 */ "mmmmmb...dbbmmmm"
- /* 2 */ "mmmmmb...dbbmmmm"
- /* 3 */ "mmmmmbbbbbmmmmmm"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmbbbbbmmmmm"
- /* 1 */ "mmmmmmb...dbbbba"
- /* 2 */ "mmmmmmb...dbbbba"
- /* 3 */ "mmmmmmbbbbbmmmmm"
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmbbbbbbbba"
- /* 1 */ "mmmmmmmb.......j"
- /* 2 */ "mmmmmmmb.......j"
- /* 3 */ "mmmmmmmbbbbbbbba"
-
- // Level 7
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmbbbeebba"
- /* 1 */ "mmmmmmmmb.g....h"
- /* 2 */ "mmmmmmmmb.i....f"
- /* 3 */ "mmmmmmmmbbbeebba"
-
- // Level 8
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmbbbbbba"
- /* 1 */ "mmmmmmmmmbbbbbba"
- /* 2 */ "mmmmmmmmmbbbbbba"
- /* 3 */ "mmmmmmmmmbbbbbba",
-
- // Connectors:
- "1: 0, 1, 1: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 2: 4\n" /* Type -1, direction X- */
- "1: 15, 6, 2: 5\n" /* Type 1, direction X+ */
- "-1: 15, 6, 1: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CorridorStairs
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // CorridorTee:
- // The data has been exported from the gallery Water, area index 29, ID 576, created by LO1ZB
- {
- // Size:
- 16, 4, 10, // SizeX = 16, SizeY = 4, SizeZ = 10
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 3, 9, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 64: 3\n" /* wooddoorblock */
- "d: 64: 2\n" /* wooddoorblock */
- "e: 64: 0\n" /* wooddoorblock */
- "f: 64: 8\n" /* wooddoorblock */
- "g: 64: 9\n" /* wooddoorblock */
- "h: 20: 0\n" /* glass */
- "i: 76: 1\n" /* redstonetorchon */
- "j: 76: 2\n" /* redstonetorchon */
- "k: 76: 3\n" /* redstonetorchon */
- "l: 76: 4\n" /* redstonetorchon */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmaammmmmmm"
- /* 1 */ "mmmmmmmbbmmmmmmm"
- /* 2 */ "mmmmmmmbbmmmmmmm"
- /* 3 */ "mmmmmmmbbmmmmmmm"
- /* 4 */ "mmmmmmmbbmmmmmmm"
- /* 5 */ "mmmmmmmbbmmmmmmm"
- /* 6 */ "mmmmmmmbbmmmmmmm"
- /* 7 */ "abbbbbbbbbbbbbba"
- /* 8 */ "abbbbbbbbbbbbbba"
- /* 9 */ "mmmmmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaccammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmb..bmmmmmm"
- /* 3 */ "mmmmmmb..bmmmmmm"
- /* 4 */ "mmmmmmb..bmmmmmm"
- /* 5 */ "mmmmmmb..bmmmmmm"
- /* 6 */ "abbbbbb..bbbbbba"
- /* 7 */ "d..............e"
- /* 8 */ "d..............e"
- /* 9 */ "abbbbbbbbbbbbbba"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmafgammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmh..hmmmmmm"
- /* 3 */ "mmmmmmh..hmmmmmm"
- /* 4 */ "mmmmmmbijbmmmmmm"
- /* 5 */ "mmmmmmb..bmmmmmm"
- /* 6 */ "abhhbbb..bbbhhba"
- /* 7 */ "g...k......k...f"
- /* 8 */ "f...l......l...g"
- /* 9 */ "abhhbbbhhbbbhhba"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaaaammmmmm"
- /* 1 */ "mmmmmmbbbbmmmmmm"
- /* 2 */ "mmmmmmbbbbmmmmmm"
- /* 3 */ "mmmmmmbbbbmmmmmm"
- /* 4 */ "mmmmmmbbbbmmmmmm"
- /* 5 */ "mmmmmmbbbbmmmmmm"
- /* 6 */ "abbbbbbbbbbbbbba"
- /* 7 */ "abbbbbbbbbbbbbba"
- /* 8 */ "abbbbbbbbbbbbbba"
- /* 9 */ "abbbbbbbbbbbbbba",
-
- // Connectors:
- "1: 0, 1, 7: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 8: 4\n" /* Type -1, direction X- */
- "1: 8, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 7, 1, 0: 2\n" /* Type -1, direction Z- */
- "1: 15, 1, 8: 5\n" /* Type 1, direction X+ */
- "-1: 15, 1, 7: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CorridorTee
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // ViewingCorner:
- // The data has been exported from the gallery Water, area index 40, ID 613, created by LO1ZB
- {
- // Size:
- 14, 7, 14, // SizeX = 14, SizeY = 7, SizeZ = 14
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 13, 6, 13, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 0\n" /* wood */
- "b: 20: 0\n" /* glass */
- "c: 5: 5\n" /* wood */
- "d: 76: 3\n" /* redstonetorchon */
- "e: 76: 1\n" /* redstonetorchon */
- "f: 64: 0\n" /* wooddoorblock */
- "g: 76: 4\n" /* redstonetorchon */
- "h: 76: 2\n" /* redstonetorchon */
- "i: 64: 1\n" /* wooddoorblock */
- "j: 64: 8\n" /* wooddoorblock */
- "k: 64: 9\n" /* wooddoorblock */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmaaaammmmmm"
- /* 2 */ "mmmaabbaammmmm"
- /* 3 */ "mmaabbbbaammmm"
- /* 4 */ "maabbbbbbaammm"
- /* 5 */ "mabbbbbbbbaaac"
- /* 6 */ "mabbbbbbbbaaac"
- /* 7 */ "maabbbbbbaammm"
- /* 8 */ "mmaabbbbaammmm"
- /* 9 */ "mmmaabbaammmmm"
- /* 10 */ "mmmmaaaammmmmm"
- /* 11 */ "mmmmmaammmmmmm"
- /* 12 */ "mmmmmaammmmmmm"
- /* 13 */ "mmmmmccmmmmmmm"
-
- // Level 1
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmaammmmmmm"
- /* 1 */ "mmmaaddaammmmm"
- /* 2 */ "mmaa....aammmm"
- /* 3 */ "maa......aammm"
- /* 4 */ "ma........aaac"
- /* 5 */ "ae........d..f"
- /* 6 */ "ae........g..f"
- /* 7 */ "ma........aaac"
- /* 8 */ "maa......aammm"
- /* 9 */ "mmaa....aammmm"
- /* 10 */ "mmmaaehaammmmm"
- /* 11 */ "mmmma..ammmmmm"
- /* 12 */ "mmmma..ammmmmm"
- /* 13 */ "mmmmciicmmmmmm"
-
- // Level 2
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmbbmmmmmmm"
- /* 1 */ "mmmbb..bbmmmmm"
- /* 2 */ "mmbb....bbmmmm"
- /* 3 */ "mbb......bbmmm"
- /* 4 */ "mb........bbac"
- /* 5 */ "b............j"
- /* 6 */ "b............k"
- /* 7 */ "mb........bbac"
- /* 8 */ "mbb......bbmmm"
- /* 9 */ "mmbb....bbmmmm"
- /* 10 */ "mmmbb..bbmmmmm"
- /* 11 */ "mmmmb..bmmmmmm"
- /* 12 */ "mmmma..ammmmmm"
- /* 13 */ "mmmmckjcmmmmmm"
-
- // Level 3
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmbbmmmmmmm"
- /* 1 */ "mmmbb..bbmmmmm"
- /* 2 */ "mmbb....bbmmmm"
- /* 3 */ "mbb......bbmmm"
- /* 4 */ "mb........bbac"
- /* 5 */ "b..........bac"
- /* 6 */ "b..........bac"
- /* 7 */ "mb........bbac"
- /* 8 */ "mbb......bbmmm"
- /* 9 */ "mmbb....bbmmmm"
- /* 10 */ "mmmbb..bbmmmmm"
- /* 11 */ "mmmmbbbbmmmmmm"
- /* 12 */ "mmmmaaaammmmmm"
- /* 13 */ "mmmmccccmmmmmm"
-
- // Level 4
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmbbmmmmmmm"
- /* 2 */ "mmmmb..bmmmmmm"
- /* 3 */ "mmmb....bmmmmm"
- /* 4 */ "mmb......bmmmm"
- /* 5 */ "mb........bmmm"
- /* 6 */ "mb........bmmm"
- /* 7 */ "mmb......bmmmm"
- /* 8 */ "mmmb....bmmmmm"
- /* 9 */ "mmmmb..bmmmmmm"
- /* 10 */ "mmmmmbbmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmm"
-
- // Level 5
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "mmmmmbbmmmmmmm"
- /* 3 */ "mmmmb..bmmmmmm"
- /* 4 */ "mmmb....bmmmmm"
- /* 5 */ "mmb......bmmmm"
- /* 6 */ "mmb......bmmmm"
- /* 7 */ "mmmb....bmmmmm"
- /* 8 */ "mmmmb..bmmmmmm"
- /* 9 */ "mmmmmbbmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmm"
-
- // Level 6
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmm"
- /* 3 */ "mmmmmbbmmmmmmm"
- /* 4 */ "mmmmbbbbmmmmmm"
- /* 5 */ "mmmbbbbbbmmmmm"
- /* 6 */ "mmmbbbbbbmmmmm"
- /* 7 */ "mmmmbbbbmmmmmm"
- /* 8 */ "mmmmmbbmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmm",
-
- // Connectors:
- "1: 13, 1, 6: 5\n" /* Type 1, direction X+ */
- "-1: 13, 1, 5: 5\n" /* Type -1, direction X+ */
- "1: 5, 1, 13: 3\n" /* Type 1, direction Z+ */
- "-1: 6, 1, 13: 3\n" /* Type -1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // ViewingCorner
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // ViewingCorridor:
- // The data has been exported from the gallery Water, area index 27, ID 571, created by LO1ZB
- {
- // Size:
- 16, 5, 6, // SizeX = 16, SizeY = 5, SizeZ = 6
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 4, 5, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 0\n" /* wood */
- "b: 5: 5\n" /* wood */
- "c: 20: 0\n" /* glass */
- "d: 64: 2\n" /* wooddoorblock */
- "e: 64: 0\n" /* wooddoorblock */
- "f: 76: 3\n" /* redstonetorchon */
- "g: 64: 9\n" /* wooddoorblock */
- "h: 64: 8\n" /* wooddoorblock */
- "i: 76: 4\n" /* redstonetorchon */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmaaaaaaaaaaaamm"
- /* 1 */ "mmaaaaaaaaaaaamm"
- /* 2 */ "baaccccccccccaab"
- /* 3 */ "baaccccccccccaab"
- /* 4 */ "mmaaaaaaaaaaaamm"
- /* 5 */ "mmmaaaaaaaaaammm"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmaccccccccccamm"
- /* 1 */ "ba............ab"
- /* 2 */ "d..............e"
- /* 3 */ "d..............e"
- /* 4 */ "ba............ab"
- /* 5 */ "mmaccccccccccamm"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmaccccccccccamm"
- /* 1 */ "baf..........fab"
- /* 2 */ "g..............h"
- /* 3 */ "h..............g"
- /* 4 */ "bai..........iab"
- /* 5 */ "mmaccccccccccamm"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmaccccccccccamm"
- /* 1 */ "ba............ab"
- /* 2 */ "ba............ab"
- /* 3 */ "ba............ab"
- /* 4 */ "ba............ab"
- /* 5 */ "mmaccccccccccamm"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmaaaaaaaaaammm"
- /* 1 */ "mmaaaaaaaaaaaamm"
- /* 2 */ "mmaccccccccccamm"
- /* 3 */ "mmaccccccccccamm"
- /* 4 */ "mmaaaaaaaaaaaamm"
- /* 5 */ "mmmaaaaaaaaaammm",
-
- // Connectors:
- "1: 0, 1, 2: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 3: 4\n" /* Type -1, direction X- */
- "1: 15, 1, 3: 5\n" /* Type 1, direction X+ */
- "-1: 15, 1, 2: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // ViewingCorridor
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // ViewingCorridorBulge:
- // The data has been exported from the gallery Water, area index 42, ID 615, created by LO1ZB
- {
- // Size:
- 12, 8, 16, // SizeX = 12, SizeY = 8, SizeZ = 16
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 11, 7, 15, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 20: 0\n" /* glass */
- "d: 64: 3\n" /* wooddoorblock */
- "e: 76: 1\n" /* redstonetorchon */
- "f: 76: 2\n" /* redstonetorchon */
- "g: 64: 1\n" /* wooddoorblock */
- "h: 64: 8\n" /* wooddoorblock */
- "i: 64: 9\n" /* wooddoorblock */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "mmmmmaammmmm"
- /* 1 */ "mmmmmbbmmmmm"
- /* 2 */ "mmmmmbbmmmmm"
- /* 3 */ "mmmmbbbbmmmm"
- /* 4 */ "mmmbbccbbmmm"
- /* 5 */ "mmbbccccbbmm"
- /* 6 */ "mbbccccccbbm"
- /* 7 */ "mbccccccccbm"
- /* 8 */ "mbccccccccbm"
- /* 9 */ "mbbccccccbbm"
- /* 10 */ "mmbbccccbbmm"
- /* 11 */ "mmmbbccbbmmm"
- /* 12 */ "mmmmbbbbmmmm"
- /* 13 */ "mmmmmbbmmmmm"
- /* 14 */ "mmmmmbbmmmmm"
- /* 15 */ "mmmmmaammmmm"
-
- // Level 1
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "mmmmaddammmm"
- /* 1 */ "mmmmb..bmmmm"
- /* 2 */ "mmmmb..bmmmm"
- /* 3 */ "mmmbbefbbmmm"
- /* 4 */ "mmbb....bbmm"
- /* 5 */ "mbb......bbm"
- /* 6 */ "mb........bm"
- /* 7 */ "be........fb"
- /* 8 */ "be........fb"
- /* 9 */ "mb........bm"
- /* 10 */ "mbb......bbm"
- /* 11 */ "mmbb....bbmm"
- /* 12 */ "mmmbbefbbmmm"
- /* 13 */ "mmmmb..bmmmm"
- /* 14 */ "mmmmb..bmmmm"
- /* 15 */ "mmmmaggammmm"
-
- // Level 2
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "mmmmahiammmm"
- /* 1 */ "mmmmb..bmmmm"
- /* 2 */ "mmmmc..cmmmm"
- /* 3 */ "mmmcc..ccmmm"
- /* 4 */ "mmcc....ccmm"
- /* 5 */ "mcc......ccm"
- /* 6 */ "mc........cm"
- /* 7 */ "c..........c"
- /* 8 */ "c..........c"
- /* 9 */ "mc........cm"
- /* 10 */ "mcc......ccm"
- /* 11 */ "mmcc....ccmm"
- /* 12 */ "mmmcc..ccmmm"
- /* 13 */ "mmmmc..cmmmm"
- /* 14 */ "mmmmb..bmmmm"
- /* 15 */ "mmmmaihammmm"
-
- // Level 3
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "mmmmaaaammmm"
- /* 1 */ "mmmmbbbbmmmm"
- /* 2 */ "mmmmccccmmmm"
- /* 3 */ "mmmcc..ccmmm"
- /* 4 */ "mmcc....ccmm"
- /* 5 */ "mcc......ccm"
- /* 6 */ "mc........cm"
- /* 7 */ "c..........c"
- /* 8 */ "c..........c"
- /* 9 */ "mc........cm"
- /* 10 */ "mcc......ccm"
- /* 11 */ "mmcc....ccmm"
- /* 12 */ "mmmcc..ccmmm"
- /* 13 */ "mmmmccccmmmm"
- /* 14 */ "mmmmbbbbmmmm"
- /* 15 */ "mmmmaaaammmm"
-
- // Level 4
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "mmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmm"
- /* 3 */ "mmmmmccmmmmm"
- /* 4 */ "mmmmc..cmmmm"
- /* 5 */ "mmmc....cmmm"
- /* 6 */ "mmc......cmm"
- /* 7 */ "mc........cm"
- /* 8 */ "mc........cm"
- /* 9 */ "mmc......cmm"
- /* 10 */ "mmmc....cmmm"
- /* 11 */ "mmmmc..cmmmm"
- /* 12 */ "mmmmmccmmmmm"
- /* 13 */ "mmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmm"
-
- // Level 5
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "mmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmm"
- /* 4 */ "mmmmmccmmmmm"
- /* 5 */ "mmmmc..cmmmm"
- /* 6 */ "mmmc....cmmm"
- /* 7 */ "mmc......cmm"
- /* 8 */ "mmc......cmm"
- /* 9 */ "mmmc....cmmm"
- /* 10 */ "mmmmc..cmmmm"
- /* 11 */ "mmmmmccmmmmm"
- /* 12 */ "mmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmm"
-
- // Level 6
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "mmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmm"
- /* 5 */ "mmmmmccmmmmm"
- /* 6 */ "mmmmccccmmmm"
- /* 7 */ "mmmccccccmmm"
- /* 8 */ "mmmccccccmmm"
- /* 9 */ "mmmmccccmmmm"
- /* 10 */ "mmmmmccmmmmm"
- /* 11 */ "mmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmm"
-
- // Level 7
- /* z\x* 11 */
- /* * 012345678901 */
- /* 0 */ "mmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmm"
- /* 5 */ "mmmmmmmmmmmm"
- /* 6 */ "mmmmmmmmmmmm"
- /* 7 */ "mmmmmmmmmmmm"
- /* 8 */ "mmmmmmmmmmmm"
- /* 9 */ "mmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmm",
-
- // Connectors:
- "1: 6, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 5, 1, 0: 2\n" /* Type -1, direction Z- */
- "1: 5, 1, 15: 3\n" /* Type 1, direction Z+ */
- "-1: 6, 1, 15: 3\n" /* Type -1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // ViewingCorridorBulge
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // ViewingCrossing:
- // The data has been exported from the gallery Water, area index 38, ID 611, created by LO1ZB
- {
- // Size:
- 16, 7, 16, // SizeX = 16, SizeY = 7, SizeZ = 16
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 6, 15, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 20: 0\n" /* glass */
- "d: 64: 3\n" /* wooddoorblock */
- "e: 76: 1\n" /* redstonetorchon */
- "f: 76: 2\n" /* redstonetorchon */
- "g: 64: 2\n" /* wooddoorblock */
- "h: 76: 3\n" /* redstonetorchon */
- "i: 64: 0\n" /* wooddoorblock */
- "j: 76: 4\n" /* redstonetorchon */
- "k: 64: 1\n" /* wooddoorblock */
- "l: 64: 8\n" /* wooddoorblock */
- "m: 19: 0\n" /* sponge */
- "n: 64: 9\n" /* wooddoorblock */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmaammmmmmm"
- /* 1 */ "mmmmmmmbbmmmmmmm"
- /* 2 */ "mmmmmmmbbmmmmmmm"
- /* 3 */ "mmmmmmbbbbmmmmmm"
- /* 4 */ "mmmmmbbccbbmmmmm"
- /* 5 */ "mmmmbbccccbbmmmm"
- /* 6 */ "mmmbbccccccbbmmm"
- /* 7 */ "abbbccccccccbbba"
- /* 8 */ "abbbccccccccbbba"
- /* 9 */ "mmmbbccccccbbmmm"
- /* 10 */ "mmmmbbccccbbmmmm"
- /* 11 */ "mmmmmbbccbbmmmmm"
- /* 12 */ "mmmmmmbbbbmmmmmm"
- /* 13 */ "mmmmmmmbbmmmmmmm"
- /* 14 */ "mmmmmmmbbmmmmmmm"
- /* 15 */ "mmmmmmmaammmmmmm"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaddammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmb..bmmmmmm"
- /* 3 */ "mmmmmbbefbbmmmmm"
- /* 4 */ "mmmmbb....bbmmmm"
- /* 5 */ "mmmbb......bbmmm"
- /* 6 */ "abbb........bbba"
- /* 7 */ "g..h........h..i"
- /* 8 */ "g..j........j..i"
- /* 9 */ "abbb........bbba"
- /* 10 */ "mmmbb......bbmmm"
- /* 11 */ "mmmmbb....bbmmmm"
- /* 12 */ "mmmmmbbefbbmmmmm"
- /* 13 */ "mmmmmmb..bmmmmmm"
- /* 14 */ "mmmmmmb..bmmmmmm"
- /* 15 */ "mmmmmmakkammmmmm"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmalnammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmc..cmmmmmm"
- /* 3 */ "mmmmmcc..ccmmmmm"
- /* 4 */ "mmmmcc....ccmmmm"
- /* 5 */ "mmmcc......ccmmm"
- /* 6 */ "abcc........ccba"
- /* 7 */ "n..............l"
- /* 8 */ "l..............n"
- /* 9 */ "abcc........ccba"
- /* 10 */ "mmmcc......ccmmm"
- /* 11 */ "mmmmcc....ccmmmm"
- /* 12 */ "mmmmmcc..ccmmmmm"
- /* 13 */ "mmmmmmc..cmmmmmm"
- /* 14 */ "mmmmmmb..bmmmmmm"
- /* 15 */ "mmmmmmanlammmmmm"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaaaammmmmm"
- /* 1 */ "mmmmmmbbbbmmmmmm"
- /* 2 */ "mmmmmmccccmmmmmm"
- /* 3 */ "mmmmmcc..ccmmmmm"
- /* 4 */ "mmmmcc....ccmmmm"
- /* 5 */ "mmmcc......ccmmm"
- /* 6 */ "abcc........ccba"
- /* 7 */ "abc..........cba"
- /* 8 */ "abc..........cba"
- /* 9 */ "abcc........ccba"
- /* 10 */ "mmmcc......ccmmm"
- /* 11 */ "mmmmcc....ccmmmm"
- /* 12 */ "mmmmmcc..ccmmmmm"
- /* 13 */ "mmmmmmccccmmmmmm"
- /* 14 */ "mmmmmmbbbbmmmmmm"
- /* 15 */ "mmmmmmaaaammmmmm"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmccmmmmmmm"
- /* 4 */ "mmmmmmc..cmmmmmm"
- /* 5 */ "mmmmmc....cmmmmm"
- /* 6 */ "mmmmc......cmmmm"
- /* 7 */ "mmmc........cmmm"
- /* 8 */ "mmmc........cmmm"
- /* 9 */ "mmmmc......cmmmm"
- /* 10 */ "mmmmmc....cmmmmm"
- /* 11 */ "mmmmmmc..cmmmmmm"
- /* 12 */ "mmmmmmmccmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmmmm"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmccmmmmmmm"
- /* 5 */ "mmmmmmc..cmmmmmm"
- /* 6 */ "mmmmmc....cmmmmm"
- /* 7 */ "mmmmc......cmmmm"
- /* 8 */ "mmmmc......cmmmm"
- /* 9 */ "mmmmmc....cmmmmm"
- /* 10 */ "mmmmmmc..cmmmmmm"
- /* 11 */ "mmmmmmmccmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmmmm"
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmccmmmmmmm"
- /* 6 */ "mmmmmmccccmmmmmm"
- /* 7 */ "mmmmmccccccmmmmm"
- /* 8 */ "mmmmmccccccmmmmm"
- /* 9 */ "mmmmmmccccmmmmmm"
- /* 10 */ "mmmmmmmccmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmmmm",
-
- // Connectors:
- "1: 0, 1, 7: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 8: 4\n" /* Type -1, direction X- */
- "1: 8, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 7, 1, 0: 2\n" /* Type -1, direction Z- */
- "1: 15, 1, 8: 5\n" /* Type 1, direction X+ */
- "-1: 15, 1, 7: 5\n" /* Type -1, direction X+ */
- "1: 7, 1, 15: 3\n" /* Type 1, direction Z+ */
- "-1: 8, 1, 15: 3\n" /* Type -1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 50,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // ViewingCrossing
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // ViewingEnd:
- // The data has been exported from the gallery Water, area index 41, ID 614, created by LO1ZB
- {
- // Size:
- 14, 7, 12, // SizeX = 14, SizeY = 7, SizeZ = 12
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 13, 6, 11, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 0\n" /* wood */
- "b: 20: 0\n" /* glass */
- "c: 5: 5\n" /* wood */
- "d: 76: 3\n" /* redstonetorchon */
- "e: 76: 1\n" /* redstonetorchon */
- "f: 64: 0\n" /* wooddoorblock */
- "g: 76: 4\n" /* redstonetorchon */
- "h: 64: 8\n" /* wooddoorblock */
- "i: 64: 9\n" /* wooddoorblock */
- "m: 19: 0\n" /* sponge */,
-
- // Block data:
- // Level 0
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmaaaammmmmm"
- /* 2 */ "mmmaabbaammmmm"
- /* 3 */ "mmaabbbbaammmm"
- /* 4 */ "maabbbbbbaammm"
- /* 5 */ "mabbbbbbbbaaac"
- /* 6 */ "mabbbbbbbbaaac"
- /* 7 */ "maabbbbbbaammm"
- /* 8 */ "mmaabbbbaammmm"
- /* 9 */ "mmmaabbaammmmm"
- /* 10 */ "mmmmaaaammmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
-
- // Level 1
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmaammmmmmm"
- /* 1 */ "mmmaaddaammmmm"
- /* 2 */ "mmaa....aammmm"
- /* 3 */ "maa......aammm"
- /* 4 */ "ma........aaac"
- /* 5 */ "ae........d..f"
- /* 6 */ "ae........g..f"
- /* 7 */ "ma........aaac"
- /* 8 */ "maa......aammm"
- /* 9 */ "mmaa....aammmm"
- /* 10 */ "mmmaaggaammmmm"
- /* 11 */ "mmmmmaammmmmmm"
-
- // Level 2
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmbbmmmmmmm"
- /* 1 */ "mmmbb..bbmmmmm"
- /* 2 */ "mmbb....bbmmmm"
- /* 3 */ "mbb......bbmmm"
- /* 4 */ "mb........bbac"
- /* 5 */ "b............h"
- /* 6 */ "b............i"
- /* 7 */ "mb........bbac"
- /* 8 */ "mbb......bbmmm"
- /* 9 */ "mmbb....bbmmmm"
- /* 10 */ "mmmbb..bbmmmmm"
- /* 11 */ "mmmmmbbmmmmmmm"
-
- // Level 3
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmbbmmmmmmm"
- /* 1 */ "mmmbb..bbmmmmm"
- /* 2 */ "mmbb....bbmmmm"
- /* 3 */ "mbb......bbmmm"
- /* 4 */ "mb........bbac"
- /* 5 */ "b..........bac"
- /* 6 */ "b..........bac"
- /* 7 */ "mb........bbac"
- /* 8 */ "mbb......bbmmm"
- /* 9 */ "mmbb....bbmmmm"
- /* 10 */ "mmmbb..bbmmmmm"
- /* 11 */ "mmmmmbbmmmmmmm"
-
- // Level 4
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmbbmmmmmmm"
- /* 2 */ "mmmmb..bmmmmmm"
- /* 3 */ "mmmb....bmmmmm"
- /* 4 */ "mmb......bmmmm"
- /* 5 */ "mb........bmmm"
- /* 6 */ "mb........bmmm"
- /* 7 */ "mmb......bmmmm"
- /* 8 */ "mmmb....bmmmmm"
- /* 9 */ "mmmmb..bmmmmmm"
- /* 10 */ "mmmmmbbmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
-
- // Level 5
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "mmmmmbbmmmmmmm"
- /* 3 */ "mmmmb..bmmmmmm"
- /* 4 */ "mmmb....bmmmmm"
- /* 5 */ "mmb......bmmmm"
- /* 6 */ "mmb......bmmmm"
- /* 7 */ "mmmb....bmmmmm"
- /* 8 */ "mmmmb..bmmmmmm"
- /* 9 */ "mmmmmbbmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
-
- // Level 6
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmm"
- /* 3 */ "mmmmmbbmmmmmmm"
- /* 4 */ "mmmmbbbbmmmmmm"
- /* 5 */ "mmmbbbbbbmmmmm"
- /* 6 */ "mmmbbbbbbmmmmm"
- /* 7 */ "mmmmbbbbmmmmmm"
- /* 8 */ "mmmmmbbmmmmmmm"
- /* 9 */ "mmmmmmmmmmmmmm"
- /* 10 */ "mmmmmmmmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm",
-
- // Connectors:
- "1: 13, 1, 6: 5\n" /* Type 1, direction X+ */
- "-1: 13, 1, 5: 5\n" /* Type -1, direction X+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 200,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // ViewingEnd
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // ViewingTee:
- // The data has been exported from the gallery Water, area index 39, ID 612, created by LO1ZB
- {
- // Size:
- 14, 7, 17, // SizeX = 14, SizeY = 7, SizeZ = 17
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 13, 6, 16, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 20: 0\n" /* glass */
- "d: 1: 0\n" /* stone */
- "e: 64: 3\n" /* wooddoorblock */
- "f: 76: 1\n" /* redstonetorchon */
- "g: 76: 2\n" /* redstonetorchon */
- "h: 76: 3\n" /* redstonetorchon */
- "i: 64: 0\n" /* wooddoorblock */
- "j: 76: 4\n" /* redstonetorchon */
- "k: 64: 1\n" /* wooddoorblock */
- "l: 64: 8\n" /* wooddoorblock */
- "m: 19: 0\n" /* sponge */
- "n: 64: 9\n" /* wooddoorblock */,
-
- // Block data:
- // Level 0
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmaammmmmmm"
- /* 1 */ "mmmmmbbmmmmmmm"
- /* 2 */ "mmmmmbbmmmmmmm"
- /* 3 */ "mmmmbbbbmmmmmm"
- /* 4 */ "mmmbbccbbmmmmm"
- /* 5 */ "mmbbccccbbmmmm"
- /* 6 */ "mbbccccccbbmmm"
- /* 7 */ "mbccccccccbbba"
- /* 8 */ "mbccccccccbbba"
- /* 9 */ "mbbccccccbbmmm"
- /* 10 */ "mmbbccccbbmmmm"
- /* 11 */ "mmmbbccbbmmmmm"
- /* 12 */ "mmmmbbbbmmmmmm"
- /* 13 */ "mmmmmbbmmmmmmm"
- /* 14 */ "mmmmmbbmmmmmmm"
- /* 15 */ "mmmmmaammmmmmm"
- /* 16 */ "dddddddddddddd"
-
- // Level 1
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmaeeammmmmm"
- /* 1 */ "mmmmb..bmmmmmm"
- /* 2 */ "mmmmb..bmmmmmm"
- /* 3 */ "mmmbbfgbbmmmmm"
- /* 4 */ "mmbb....bbmmmm"
- /* 5 */ "mbb......bbmmm"
- /* 6 */ "mb........bbba"
- /* 7 */ "bf........h..i"
- /* 8 */ "bf........j..i"
- /* 9 */ "mb........bbba"
- /* 10 */ "mbb......bbmmm"
- /* 11 */ "mmbb....bbmmmm"
- /* 12 */ "mmmbbfgbbmmmmm"
- /* 13 */ "mmmmb..bmmmmmm"
- /* 14 */ "mmmmb..bmmmmmm"
- /* 15 */ "mmmmakkammmmmm"
- /* 16 */ "dddddddddddddd"
-
- // Level 2
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmalnammmmmm"
- /* 1 */ "mmmmb..bmmmmmm"
- /* 2 */ "mmmmc..cmmmmmm"
- /* 3 */ "mmmcc..ccmmmmm"
- /* 4 */ "mmcc....ccmmmm"
- /* 5 */ "mcc......ccmmm"
- /* 6 */ "mc........ccba"
- /* 7 */ "c............l"
- /* 8 */ "c............n"
- /* 9 */ "mc........ccba"
- /* 10 */ "mcc......ccmmm"
- /* 11 */ "mmcc....ccmmmm"
- /* 12 */ "mmmcc..ccmmmmm"
- /* 13 */ "mmmmc..cmmmmmm"
- /* 14 */ "mmmmb..bmmmmmm"
- /* 15 */ "mmmmanlammmmmm"
- /* 16 */ "dddddddddddddd"
-
- // Level 3
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmaaaammmmmm"
- /* 1 */ "mmmmbbbbmmmmmm"
- /* 2 */ "mmmmccccmmmmmm"
- /* 3 */ "mmmcc..ccmmmmm"
- /* 4 */ "mmcc....ccmmmm"
- /* 5 */ "mcc......ccmmm"
- /* 6 */ "mc........ccba"
- /* 7 */ "c..........cba"
- /* 8 */ "c..........cba"
- /* 9 */ "mc........ccba"
- /* 10 */ "mcc......ccmmm"
- /* 11 */ "mmcc....ccmmmm"
- /* 12 */ "mmmcc..ccmmmmm"
- /* 13 */ "mmmmccccmmmmmm"
- /* 14 */ "mmmmbbbbmmmmmm"
- /* 15 */ "mmmmaaaammmmmm"
- /* 16 */ "dddddddddddddd"
-
- // Level 4
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmm"
- /* 3 */ "mmmmmccmmmmmmm"
- /* 4 */ "mmmmc..cmmmmmm"
- /* 5 */ "mmmc....cmmmmm"
- /* 6 */ "mmc......cmmmm"
- /* 7 */ "mc........cmmm"
- /* 8 */ "mc........cmmm"
- /* 9 */ "mmc......cmmmm"
- /* 10 */ "mmmc....cmmmmm"
- /* 11 */ "mmmmc..cmmmmmm"
- /* 12 */ "mmmmmccmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmm"
- /* 16 */ "dddddddddddddd"
-
- // Level 5
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmm"
- /* 4 */ "mmmmmccmmmmmmm"
- /* 5 */ "mmmmc..cmmmmmm"
- /* 6 */ "mmmc....cmmmmm"
- /* 7 */ "mmc......cmmmm"
- /* 8 */ "mmc......cmmmm"
- /* 9 */ "mmmc....cmmmmm"
- /* 10 */ "mmmmc..cmmmmmm"
- /* 11 */ "mmmmmccmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmm"
- /* 16 */ "dddddddddddddd"
-
- // Level 6
- /* z\x* 1111 */
- /* * 01234567890123 */
- /* 0 */ "mmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmmm"
- /* 5 */ "mmmmmccmmmmmmm"
- /* 6 */ "mmmmccccmmmmmm"
- /* 7 */ "mmmccccccmmmmm"
- /* 8 */ "mmmccccccmmmmm"
- /* 9 */ "mmmmccccmmmmmm"
- /* 10 */ "mmmmmccmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmm"
- /* 16 */ "dddddddddddddd",
-
- // Connectors:
- "",
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 75,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // ViewingTee
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // WaterfallRoom:
- // The data has been exported from the gallery Water, area index 50, ID 681, created by Aloe_vera
- {
- // Size:
- 16, 7, 16, // SizeX = 16, SizeY = 7, SizeZ = 16
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 6, 15, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 20: 0\n" /* glass */
- "d: 64: 3\n" /* wooddoorblock */
- "e: 76: 1\n" /* redstonetorchon */
- "f: 76: 2\n" /* redstonetorchon */
- "g: 64: 2\n" /* wooddoorblock */
- "h: 76: 3\n" /* redstonetorchon */
- "i: 64: 0\n" /* wooddoorblock */
- "j: 76: 4\n" /* redstonetorchon */
- "k: 64: 1\n" /* wooddoorblock */
- "l: 64: 8\n" /* wooddoorblock */
- "m: 19: 0\n" /* sponge */
- "n: 64: 9\n" /* wooddoorblock */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmaammmmmmm"
- /* 1 */ "mmmmmmmbbmmmmmmm"
- /* 2 */ "mmmmmmmbbmmmmmmm"
- /* 3 */ "mmmmmmbbbbmmmmmm"
- /* 4 */ "mmmmmbbccbbmmmmm"
- /* 5 */ "mmmmbbccccbbmmmm"
- /* 6 */ "mmmbbccccccbbmmm"
- /* 7 */ "abbbcccmmcccbbba"
- /* 8 */ "abbbcccmmcccbbba"
- /* 9 */ "mmmbbccccccbbmmm"
- /* 10 */ "mmmmbbccccbbmmmm"
- /* 11 */ "mmmmmbbccbbmmmmm"
- /* 12 */ "mmmmmmbbbbmmmmmm"
- /* 13 */ "mmmmmmmbbmmmmmmm"
- /* 14 */ "mmmmmmmbbmmmmmmm"
- /* 15 */ "mmmmmmmaammmmmmm"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaddammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmb..bmmmmmm"
- /* 3 */ "mmmmmbbefbbmmmmm"
- /* 4 */ "mmmmbb....bbmmmm"
- /* 5 */ "mmmbb......bbmmm"
- /* 6 */ "abbb...cc...bbba"
- /* 7 */ "g..h..c..c..h..i"
- /* 8 */ "g..j..c..c..j..i"
- /* 9 */ "abbb...cc...bbba"
- /* 10 */ "mmmbb......bbmmm"
- /* 11 */ "mmmmbb....bbmmmm"
- /* 12 */ "mmmmmbbefbbmmmmm"
- /* 13 */ "mmmmmmb..bmmmmmm"
- /* 14 */ "mmmmmmb..bmmmmmm"
- /* 15 */ "mmmmmmakkammmmmm"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmalnammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmc..cmmmmmm"
- /* 3 */ "mmmmmcc..ccmmmmm"
- /* 4 */ "mmmmcc....ccmmmm"
- /* 5 */ "mmmcc......ccmmm"
- /* 6 */ "abcc........ccba"
- /* 7 */ "n..............l"
- /* 8 */ "l..............n"
- /* 9 */ "abcc........ccba"
- /* 10 */ "mmmcc......ccmmm"
- /* 11 */ "mmmmcc....ccmmmm"
- /* 12 */ "mmmmmcc..ccmmmmm"
- /* 13 */ "mmmmmmc..cmmmmmm"
- /* 14 */ "mmmmmmb..bmmmmmm"
- /* 15 */ "mmmmmmanlammmmmm"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaaaammmmmm"
- /* 1 */ "mmmmmmbbbbmmmmmm"
- /* 2 */ "mmmmmmccccmmmmmm"
- /* 3 */ "mmmmmcc..ccmmmmm"
- /* 4 */ "mmmmcc....ccmmmm"
- /* 5 */ "mmmcc......ccmmm"
- /* 6 */ "abcc........ccba"
- /* 7 */ "abc..........cba"
- /* 8 */ "abc..........cba"
- /* 9 */ "abcc........ccba"
- /* 10 */ "mmmcc......ccmmm"
- /* 11 */ "mmmmcc....ccmmmm"
- /* 12 */ "mmmmmcc..ccmmmmm"
- /* 13 */ "mmmmmmccccmmmmmm"
- /* 14 */ "mmmmmmbbbbmmmmmm"
- /* 15 */ "mmmmmmaaaammmmmm"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmccmmmmmmm"
- /* 4 */ "mmmmm.c..cmmmmmm"
- /* 5 */ "mmmmmc....cmmmmm"
- /* 6 */ "mmmmc......cmmmm"
- /* 7 */ "mmmc........cmmm"
- /* 8 */ "mmmc........cmmm"
- /* 9 */ "mmmmc......cmmmm"
- /* 10 */ "mmmmmc....cmmmmm"
- /* 11 */ "mmmmmmc..cmmmmmm"
- /* 12 */ "mmmmmmmccmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmmmm"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmm.ccmmmmmmm"
- /* 5 */ "mmmmmmc..cmmmmmm"
- /* 6 */ "mmmmmc....cmmmmm"
- /* 7 */ "mmmmc......cmmmm"
- /* 8 */ "mmmmc......cmmmm"
- /* 9 */ "mmmmmc....cmmmmm"
- /* 10 */ "mmmmmmc..cmmmmmm"
- /* 11 */ "mmmmmmmccmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmmmm"
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmccmmmmmmm"
- /* 6 */ "mmmmmmccccmmmmmm"
- /* 7 */ "mmmmmcc..ccmmmmm"
- /* 8 */ "mmmmmcc..ccmmmmm"
- /* 9 */ "mmmmmmccccmmmmmm"
- /* 10 */ "mmmmmmmccmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmmmm",
-
- // Connectors:
- "1: 15, 1, 8: 5\n" /* Type 1, direction X+ */
- "-1: 15, 1, 7: 5\n" /* Type -1, direction X+ */
- "1: 8, 1, 0: 2\n" /* Type 1, direction Z- */
- "-1: 7, 1, 0: 2\n" /* Type -1, direction Z- */
- "1: 0, 1, 7: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 8: 4\n" /* Type -1, direction X- */
- "1: 7, 1, 15: 3\n" /* Type 1, direction Z+ */
- "-1: 8, 1, 15: 3\n" /* Type -1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 5,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // WaterfallRoom
-}; // g_UnderwaterBasePrefabs
-
-
-
-
-
-
-const cPrefab::sDef g_UnderwaterBaseStartingPrefabs[] =
-{
- ////////////////////////////////////////////////////////////////////////////////
- // CentralRoom:
- // The data has been exported from the gallery Water, area index 24, ID 564, created by xoft
- {
- // Size:
- 16, 7, 16, // SizeX = 16, SizeY = 7, SizeZ = 16
-
- // Hitbox (relative to bounding box):
- 0, 0, 0, // MinX, MinY, MinZ
- 15, 6, 15, // MaxX, MaxY, MaxZ
-
- // Block definitions:
- ".: 0: 0\n" /* air */
- "a: 5: 5\n" /* wood */
- "b: 5: 0\n" /* wood */
- "c: 20: 0\n" /* glass */
- "d: 64: 3\n" /* wooddoorblock */
- "e: 64: 2\n" /* wooddoorblock */
- "f: 64: 0\n" /* wooddoorblock */
- "g: 64: 1\n" /* wooddoorblock */
- "h: 64: 8\n" /* wooddoorblock */
- "i: 64: 9\n" /* wooddoorblock */
- "j: 76: 3\n" /* redstonetorchon */
- "k: 76: 1\n" /* redstonetorchon */
- "l: 76: 2\n" /* redstonetorchon */
- "m: 19: 0\n" /* sponge */
- "n: 76: 4\n" /* redstonetorchon */
- "o:125: 8\n" /* woodendoubleslab */,
-
- // Block data:
- // Level 0
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmaammmmmmm"
- /* 1 */ "mmmmmmmbbmmmmmmm"
- /* 2 */ "mmmmmmmbbmmmmmmm"
- /* 3 */ "mmmmmmbbbbmmmmmm"
- /* 4 */ "mmmmmbbbbbbmmmmm"
- /* 5 */ "mmmmbbbccbbbmmmm"
- /* 6 */ "mmmbbbccccbbbmmm"
- /* 7 */ "abbbbccccccbbbba"
- /* 8 */ "abbbbccccccbbbba"
- /* 9 */ "mmmbbbccccbbbmmm"
- /* 10 */ "mmmmbbbccbbbmmmm"
- /* 11 */ "mmmmmbbbbbbmmmmm"
- /* 12 */ "mmmmmmbbbbmmmmmm"
- /* 13 */ "mmmmmmmbbmmmmmmm"
- /* 14 */ "mmmmmmmbbmmmmmmm"
- /* 15 */ "mmmmmmmaammmmmmm"
-
- // Level 1
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaddammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmb..bmmmmmm"
- /* 3 */ "mmmmmbb..bbmmmmm"
- /* 4 */ "mmmmbb....bbmmmm"
- /* 5 */ "mmmbb......bbmmm"
- /* 6 */ "abbb........bbba"
- /* 7 */ "e..............f"
- /* 8 */ "e..............f"
- /* 9 */ "abbb........bbba"
- /* 10 */ "mmmbb......bbmmm"
- /* 11 */ "mmmmbb....bbmmmm"
- /* 12 */ "mmmmmbb..bbmmmmm"
- /* 13 */ "mmmmmmb..bmmmmmm"
- /* 14 */ "mmmmmmb..bmmmmmm"
- /* 15 */ "mmmmmmaggammmmmm"
-
- // Level 2
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmahiammmmmm"
- /* 1 */ "mmmmmmb..bmmmmmm"
- /* 2 */ "mmmmmmb..bmmmmmm"
- /* 3 */ "mmmmmcc..ccmmmmm"
- /* 4 */ "mmmmcc....ccmmmm"
- /* 5 */ "mmmcc......ccmmm"
- /* 6 */ "abbc........cbba"
- /* 7 */ "i..............h"
- /* 8 */ "h..............i"
- /* 9 */ "abbc........cbba"
- /* 10 */ "mmmcc......ccmmm"
- /* 11 */ "mmmmcc....ccmmmm"
- /* 12 */ "mmmmmcc..ccmmmmm"
- /* 13 */ "mmmmmmb..bmmmmmm"
- /* 14 */ "mmmmmmb..bmmmmmm"
- /* 15 */ "mmmmmmaihammmmmm"
-
- // Level 3
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmaaaammmmmm"
- /* 1 */ "mmmmmmbbbbmmmmmm"
- /* 2 */ "mmmmmmbbbbmmmmmm"
- /* 3 */ "mmmmmbb..bbmmmmm"
- /* 4 */ "mmmmbb....bbmmmm"
- /* 5 */ "mmmbb......bbmmm"
- /* 6 */ "abbb........bbba"
- /* 7 */ "abb..........bba"
- /* 8 */ "abb..........bba"
- /* 9 */ "abbb........bbba"
- /* 10 */ "mmmbb......bbmmm"
- /* 11 */ "mmmmbb....bbmmmm"
- /* 12 */ "mmmmmbb..bbmmmmm"
- /* 13 */ "mmmmmmbbbbmmmmmm"
- /* 14 */ "mmmmmmbbbbmmmmmm"
- /* 15 */ "mmmmmmaaaammmmmm"
-
- // Level 4
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmbbmmmmmmm"
- /* 4 */ "mmmmmmbjjbmmmmmm"
- /* 5 */ "mmmmmb....bmmmmm"
- /* 6 */ "mmmmb......bmmmm"
- /* 7 */ "mmmbk......lbmmm"
- /* 8 */ "mmmbk......lbmmm"
- /* 9 */ "mmmmb......bmmmm"
- /* 10 */ "mmmmmb....bmmmmm"
- /* 11 */ "mmmmmmbnnbmmmmmm"
- /* 12 */ "mmmmmmmbbmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmmmm"
-
- // Level 5
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmbbmmmmmmm"
- /* 5 */ "mmmmmmb..bmmmmmm"
- /* 6 */ "mmmmmb....bmmmmm"
- /* 7 */ "mmmmb......bmmmm"
- /* 8 */ "mmmmb......bmmmm"
- /* 9 */ "mmmmmb....bmmmmm"
- /* 10 */ "mmmmmmboobmmmmmm"
- /* 11 */ "mmmmmmmbbmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmmmm"
-
- // Level 6
- /* z\x* 111111 */
- /* * 0123456789012345 */
- /* 0 */ "mmmmmmmmmmmmmmmm"
- /* 1 */ "mmmmmmmmmmmmmmmm"
- /* 2 */ "mmmmmmmmmmmmmmmm"
- /* 3 */ "mmmmmmmmmmmmmmmm"
- /* 4 */ "mmmmmmmmmmmmmmmm"
- /* 5 */ "mmmmmmmbbmmmmmmm"
- /* 6 */ "mmmmmmbbbbmmmmmm"
- /* 7 */ "mmmmmbbccbbmmmmm"
- /* 8 */ "mmmmmbbccbbmmmmm"
- /* 9 */ "mmmmmmbbbbmmmmmm"
- /* 10 */ "mmmmmmmbbmmmmmmm"
- /* 11 */ "mmmmmmmmmmmmmmmm"
- /* 12 */ "mmmmmmmmmmmmmmmm"
- /* 13 */ "mmmmmmmmmmmmmmmm"
- /* 14 */ "mmmmmmmmmmmmmmmm"
- /* 15 */ "mmmmmmmmmmmmmmmm",
-
- // Connectors:
- "1: 0, 1, 7: 4\n" /* Type 1, direction X- */
- "-1: 0, 1, 8: 4\n" /* Type -1, direction X- */
- "-1: 7, 1, 0: 2\n" /* Type -1, direction Z- */
- "1: 8, 1, 0: 2\n" /* Type 1, direction Z- */
- "1: 15, 1, 8: 5\n" /* Type 1, direction X+ */
- "-1: 15, 1, 7: 5\n" /* Type -1, direction X+ */
- "1: 7, 1, 15: 3\n" /* Type 1, direction Z+ */
- "-1: 8, 1, 15: 3\n" /* Type -1, direction Z+ */,
-
- // AllowedRotations:
- 7, /* 1, 2, 3 CCW rotation allowed */
-
- // Merge strategy:
- cBlockArea::msSpongePrint,
-
- // ShouldExtendFloor:
- true,
-
- // DefaultWeight:
- 100,
-
- // DepthWeight:
- "",
-
- // AddWeightIfSame:
- 0,
-
- // MoveToGround:
- false,
- }, // CentralRoom
-};
-
-
-
-
-
-// The prefab counts:
-
-const size_t g_UnderwaterBasePrefabsCount = ARRAYCOUNT(g_UnderwaterBasePrefabs);
-
-const size_t g_UnderwaterBaseStartingPrefabsCount = ARRAYCOUNT(g_UnderwaterBaseStartingPrefabs);
-
diff --git a/src/Generating/Prefabs/UnderwaterBasePrefabs.h b/src/Generating/Prefabs/UnderwaterBasePrefabs.h
deleted file mode 100644
index d7b248bb8..000000000
--- a/src/Generating/Prefabs/UnderwaterBasePrefabs.h
+++ /dev/null
@@ -1,15 +0,0 @@
-
-// UnderwaterBasePrefabs.h
-
-// Declares the prefabs in the group UnderwaterBase
-
-#include "../Prefab.h"
-
-
-
-
-
-extern const cPrefab::sDef g_UnderwaterBasePrefabs[];
-extern const cPrefab::sDef g_UnderwaterBaseStartingPrefabs[];
-extern const size_t g_UnderwaterBasePrefabsCount;
-extern const size_t g_UnderwaterBaseStartingPrefabsCount;
diff --git a/src/Generating/RainbowRoadsGen.cpp b/src/Generating/RainbowRoadsGen.cpp
deleted file mode 100644
index 03400556a..000000000
--- a/src/Generating/RainbowRoadsGen.cpp
+++ /dev/null
@@ -1,116 +0,0 @@
-
-// RainbowRoadsGen.cpp
-
-// Implements the cRainbowRoadsGen class representing the rainbow road generator
-
-#include "Globals.h"
-#include "RainbowRoadsGen.h"
-#include "Prefabs/RainbowRoadPrefabs.h"
-#include "PieceGenerator.h"
-
-
-
-
-
-static cPrefabPiecePool g_RainbowRoads(g_RainbowRoadPrefabs, g_RainbowRoadPrefabsCount, g_RainbowRoadStartingPrefabs, g_RainbowRoadStartingPrefabsCount);
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// cRainbowRoadsGen::cRainbowRoads:
-
-class cRainbowRoadsGen::cRainbowRoads :
- public cGridStructGen::cStructure
-{
- typedef cGridStructGen::cStructure super;
-
-public:
- cRainbowRoads(
- int a_Seed,
- int a_GridX, int a_GridZ,
- int a_OriginX, int a_OriginZ,
- int a_MaxDepth,
- int a_MaxSize
- ) :
- super(a_GridX, a_GridZ, a_OriginX, a_OriginZ),
- m_Seed(a_Seed),
- m_Noise(a_Seed),
- m_MaxSize(a_MaxSize),
- m_Borders(a_OriginX - a_MaxSize, 0, a_OriginZ - a_MaxSize, a_OriginX + a_MaxSize, 255, a_OriginZ + a_MaxSize)
- {
- // Generate the pieces for this base:
- cBFSPieceGenerator pg(g_RainbowRoads, a_Seed);
- pg.PlacePieces(a_OriginX, 190, a_OriginZ, a_MaxDepth, m_Pieces);
- if (m_Pieces.empty())
- {
- return;
- }
- }
-
- ~cRainbowRoads()
- {
- cPieceGenerator::FreePieces(m_Pieces);
- }
-
-protected:
- /** Seed for the random functions */
- int m_Seed;
-
- /** The noise used as a pseudo-random generator */
- cNoise m_Noise;
-
- /** Maximum size, in X / Z blocks, of the village (radius from the origin) */
- int m_MaxSize;
-
- /** Borders of the vilalge - no item may reach out of this cuboid. */
- cCuboid m_Borders;
-
- /** The village pieces, placed by the generator. */
- cPlacedPieces m_Pieces;
-
-
- // cGridStructGen::cStructure overrides:
- virtual void DrawIntoChunk(cChunkDesc & a_Chunk) override
- {
- for (cPlacedPieces::iterator itr = m_Pieces.begin(), end = m_Pieces.end(); itr != end; ++itr)
- {
- const cPrefab & Prefab = static_cast<const cPrefab &>((*itr)->GetPiece());
- Prefab.Draw(a_Chunk, *itr);
- } // for itr - m_PlacedPieces[]
- }
-} ;
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// cRainbowRoadsGen:
-
-
-
-
-
-cRainbowRoadsGen::cRainbowRoadsGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize) :
- super(a_Seed, a_GridSize, a_GridSize, a_MaxOffset, a_MaxOffset, a_MaxSize, a_MaxSize, 100),
- m_Noise(a_Seed + 9000),
- m_MaxDepth(a_MaxDepth),
- m_MaxSize(a_MaxSize)
-{
-}
-
-
-
-
-
-cGridStructGen::cStructurePtr cRainbowRoadsGen::CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ)
-{
- // Create a base based on the chosen prefabs:
- return cStructurePtr(new cRainbowRoads(m_Seed, a_GridX, a_GridZ, a_OriginX, a_OriginZ, m_MaxDepth, m_MaxSize));
-}
-
-
-
-
diff --git a/src/Generating/RainbowRoadsGen.h b/src/Generating/RainbowRoadsGen.h
deleted file mode 100644
index 75383e223..000000000
--- a/src/Generating/RainbowRoadsGen.h
+++ /dev/null
@@ -1,47 +0,0 @@
-
-// RainbowRoadsGen.h
-
-// Declares the cRainbowRoadsGen class representing the underwater base generator
-
-
-
-
-
-#pragma once
-
-#include "GridStructGen.h"
-#include "PrefabPiecePool.h"
-
-
-
-
-
-class cRainbowRoadsGen :
- public cGridStructGen
-{
- typedef cGridStructGen super;
-
-public:
- cRainbowRoadsGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize);
-
-protected:
- class cRainbowRoads; // fwd: RainbowRoadsGen.cpp
-
-
- /** The noise used for generating random numbers */
- cNoise m_Noise;
-
- /** Maximum depth of the generator tree */
- int m_MaxDepth;
-
- /** Maximum size, in X / Z blocks, of the structure (radius from the origin) */
- int m_MaxSize;
-
-
- // cGridStructGen overrides:
- virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
-} ;
-
-
-
-
diff --git a/src/Generating/TestRailsGen.cpp b/src/Generating/TestRailsGen.cpp
deleted file mode 100644
index 72317eb67..000000000
--- a/src/Generating/TestRailsGen.cpp
+++ /dev/null
@@ -1,116 +0,0 @@
-
-// TestRailsGen.cpp
-
-// Implements the cTestRailsGen class representing the testing rails generator
-
-#include "Globals.h"
-#include "TestRailsGen.h"
-#include "Prefabs/TestRailsPrefabs.h"
-#include "PieceGenerator.h"
-
-
-
-
-
-static cPrefabPiecePool g_TestRails(g_TestRailsPrefabs, g_TestRailsPrefabsCount, g_TestRailsStartingPrefabs, g_TestRailsStartingPrefabsCount);
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// cTestRailsGen::cTestRails:
-
-class cTestRailsGen::cTestRails :
- public cGridStructGen::cStructure
-{
- typedef cGridStructGen::cStructure super;
-
-public:
- cTestRails(
- int a_Seed,
- int a_GridX, int a_GridZ,
- int a_OriginX, int a_OriginZ,
- int a_MaxDepth,
- int a_MaxSize
- ) :
- super(a_GridX, a_GridZ, a_OriginX, a_OriginZ),
- m_Seed(a_Seed),
- m_Noise(a_Seed),
- m_MaxSize(a_MaxSize),
- m_Borders(a_OriginX - a_MaxSize, 0, a_OriginZ - a_MaxSize, a_OriginX + a_MaxSize, 255, a_OriginZ + a_MaxSize)
- {
- // Generate the pieces for this test:
- cBFSPieceGenerator pg(g_TestRails, a_Seed);
- pg.PlacePieces(a_OriginX, 150, a_OriginZ, a_MaxDepth, m_Pieces);
- if (m_Pieces.empty())
- {
- return;
- }
- }
-
- ~cTestRails()
- {
- cPieceGenerator::FreePieces(m_Pieces);
- }
-
-protected:
- /** Seed for the random functions */
- int m_Seed;
-
- /** The noise used as a pseudo-random generator */
- cNoise m_Noise;
-
- /** Maximum size, in X / Z blocks, of the structure (radius from the origin) */
- int m_MaxSize;
-
- /** Borders of the structure - no item may reach out of this cuboid. */
- cCuboid m_Borders;
-
- /** The rails pieces, placed by the generator. */
- cPlacedPieces m_Pieces;
-
-
- // cGridStructGen::cStructure overrides:
- virtual void DrawIntoChunk(cChunkDesc & a_Chunk) override
- {
- for (cPlacedPieces::iterator itr = m_Pieces.begin(), end = m_Pieces.end(); itr != end; ++itr)
- {
- const cPrefab & Prefab = static_cast<const cPrefab &>((*itr)->GetPiece());
- Prefab.Draw(a_Chunk, *itr);
- } // for itr - m_PlacedPieces[]
- }
-} ;
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// cTestRailsGen:
-
-
-
-
-
-cTestRailsGen::cTestRailsGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize) :
- super(a_Seed, a_GridSize, a_GridSize, a_MaxOffset, a_MaxOffset, a_MaxSize, a_MaxSize, 100),
- m_Noise(a_Seed + 1000),
- m_MaxDepth(a_MaxDepth),
- m_MaxSize(a_MaxSize)
-{
-}
-
-
-
-
-
-cGridStructGen::cStructurePtr cTestRailsGen::CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ)
-{
- // Create a base based on the chosen prefabs:
- return cStructurePtr(new cTestRails(m_Seed, a_GridX, a_GridZ, a_OriginX, a_OriginZ, m_MaxDepth, m_MaxSize));
-}
-
-
-
-
diff --git a/src/Generating/TestRailsGen.h b/src/Generating/TestRailsGen.h
deleted file mode 100644
index 88e38b368..000000000
--- a/src/Generating/TestRailsGen.h
+++ /dev/null
@@ -1,47 +0,0 @@
-
-// TestRailsGen.h
-
-// Declares the cTestRailsGen class representing the testing rails generator
-
-
-
-
-
-#pragma once
-
-#include "GridStructGen.h"
-#include "PrefabPiecePool.h"
-
-
-
-
-
-class cTestRailsGen :
- public cGridStructGen
-{
- typedef cGridStructGen super;
-
-public:
- cTestRailsGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize);
-
-protected:
- class cTestRails; // fwd: TestRailsGen.cpp
-
-
- /** The noise used for generating random numbers */
- cNoise m_Noise;
-
- /** Maximum depth of the generator tree */
- int m_MaxDepth;
-
- /** Maximum size, in X / Z blocks, of the structure (radius from the origin) */
- int m_MaxSize;
-
-
- // cGridStructGen overrides:
- virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
-} ;
-
-
-
-
diff --git a/src/Generating/UnderwaterBaseGen.cpp b/src/Generating/UnderwaterBaseGen.cpp
deleted file mode 100644
index c5066ca1b..000000000
--- a/src/Generating/UnderwaterBaseGen.cpp
+++ /dev/null
@@ -1,143 +0,0 @@
-
-// UnderwaterBaseGen.cpp
-
-// Implements the cUnderwaterBaseGen class representing the underwater base generator
-
-#include "Globals.h"
-#include "UnderwaterBaseGen.h"
-#include "Prefabs/UnderwaterBasePrefabs.h"
-#include "PieceGenerator.h"
-
-
-
-
-
-static cPrefabPiecePool g_UnderwaterBase(g_UnderwaterBasePrefabs, g_UnderwaterBasePrefabsCount, g_UnderwaterBaseStartingPrefabs, g_UnderwaterBaseStartingPrefabsCount);
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// cUnderwaterBaseGen::cUnderwaterBase:
-
-class cUnderwaterBaseGen::cUnderwaterBase :
- public cGridStructGen::cStructure
-{
- typedef cGridStructGen::cStructure super;
-
-public:
- cUnderwaterBase(
- int a_Seed,
- int a_GridX, int a_GridZ,
- int a_OriginX, int a_OriginZ,
- int a_MaxDepth,
- int a_MaxSize
- ) :
- super(a_GridX, a_GridZ, a_OriginX, a_OriginZ),
- m_Seed(a_Seed),
- m_Noise(a_Seed),
- m_MaxSize(a_MaxSize),
- m_Borders(a_OriginX - a_MaxSize, 0, a_OriginZ - a_MaxSize, a_OriginX + a_MaxSize, 255, a_OriginZ + a_MaxSize)
- {
- // Generate the pieces for this base:
- cBFSPieceGenerator pg(g_UnderwaterBase, a_Seed);
- pg.PlacePieces(a_OriginX, 50, a_OriginZ, a_MaxDepth, m_Pieces);
- if (m_Pieces.empty())
- {
- return;
- }
- }
-
- ~cUnderwaterBase()
- {
- cPieceGenerator::FreePieces(m_Pieces);
- }
-
-protected:
- /** Seed for the random functions */
- int m_Seed;
-
- /** The noise used as a pseudo-random generator */
- cNoise m_Noise;
-
- /** Maximum size, in X / Z blocks, of the base (radius from the origin) */
- int m_MaxSize;
-
- /** Borders of the vilalge - no item may reach out of this cuboid. */
- cCuboid m_Borders;
-
- /** The village pieces, placed by the generator. */
- cPlacedPieces m_Pieces;
-
-
- // cGridStructGen::cStructure overrides:
- virtual void DrawIntoChunk(cChunkDesc & a_Chunk) override
- {
- for (cPlacedPieces::iterator itr = m_Pieces.begin(), end = m_Pieces.end(); itr != end; ++itr)
- {
- const cPrefab & Prefab = static_cast<const cPrefab &>((*itr)->GetPiece());
- Prefab.Draw(a_Chunk, *itr);
- } // for itr - m_PlacedPieces[]
- }
-} ;
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-// cUnderwaterBaseGen:
-
-
-
-
-
-cUnderwaterBaseGen::cUnderwaterBaseGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize, cBiomeGenPtr a_BiomeGen) :
- super(a_Seed, a_GridSize, a_GridSize, a_MaxOffset, a_MaxOffset, a_MaxSize, a_MaxSize, 100),
- m_Noise(a_Seed + 1000),
- m_MaxDepth(a_MaxDepth),
- m_MaxSize(a_MaxSize),
- m_BiomeGen(a_BiomeGen)
-{
-}
-
-
-
-
-
-cGridStructGen::cStructurePtr cUnderwaterBaseGen::CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ)
-{
- // Generate the biomes for the chunk surrounding the origin:
- int ChunkX, ChunkZ;
- cChunkDef::BlockToChunk(a_OriginX, a_OriginZ, ChunkX, ChunkZ);
- cChunkDef::BiomeMap Biomes;
- m_BiomeGen->GenBiomes(ChunkX, ChunkZ, Biomes);
-
- // Check if all the biomes are ocean:
- // If just one is not, no base is created, because it's likely that an unfriendly biome is too close
- for (size_t i = 0; i < ARRAYCOUNT(Biomes); i++)
- {
- switch (Biomes[i])
- {
- case biOcean:
- case biDeepOcean:
- {
- // These biomes allow underwater bases
- break;
- }
- default:
- {
- // base-unfriendly biome, bail out with zero structure:
- return cStructurePtr();
- }
- } // switch (Biomes[i])
- } // for i - Biomes[]
-
- // Create a base based on the chosen prefabs:
- return cStructurePtr(new cUnderwaterBase(m_Seed, a_GridX, a_GridZ, a_OriginX, a_OriginZ, m_MaxDepth, m_MaxSize));
-}
-
-
-
-
diff --git a/src/Generating/UnderwaterBaseGen.h b/src/Generating/UnderwaterBaseGen.h
deleted file mode 100644
index 67551f3c4..000000000
--- a/src/Generating/UnderwaterBaseGen.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// UnderwaterBaseGen.h
-
-// Declares the cUnderwaterBaseGen class representing the underwater base generator
-
-
-
-
-
-#pragma once
-
-#include "GridStructGen.h"
-#include "PrefabPiecePool.h"
-
-
-
-
-
-class cUnderwaterBaseGen :
- public cGridStructGen
-{
- typedef cGridStructGen super;
-
-public:
- cUnderwaterBaseGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize, cBiomeGenPtr a_BiomeGen);
-
-protected:
- class cUnderwaterBase; // fwd: UnderwaterBaseGen.cpp
-
-
- /** The noise used for generating random numbers */
- cNoise m_Noise;
-
- /** Maximum depth of the generator tree */
- int m_MaxDepth;
-
- /** Maximum size, in X / Z blocks, of the structure (radius from the origin) */
- int m_MaxSize;
-
- /** The underlying biome generator that defines whether the base is created or not */
- cBiomeGenPtr m_BiomeGen;
-
-
- // cGridStructGen overrides:
- virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
-} ;
-
-
-
-
diff --git a/src/Generating/VerticalLimit.cpp b/src/Generating/VerticalLimit.cpp
new file mode 100644
index 000000000..5cc003749
--- /dev/null
+++ b/src/Generating/VerticalLimit.cpp
@@ -0,0 +1,414 @@
+
+// VerticalLimit.cpp
+
+#include "Globals.h"
+#include "VerticalLimit.h"
+
+
+
+
+
+// Emit a warning if the first param is true
+#define CONDWARNING(ShouldLog, Fmt, ...) \
+ if (ShouldLog) \
+ { \
+ LOGWARNING(Fmt, __VA_ARGS__); \
+ }
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+// Globals:
+
+/** Parses a string containing a range in which both values are optional ("<MinHeight>|<MaxHeight>") into Min, Max.
+Returns true if successful, false on failure.
+If a_LogWarnings is true, outputs failure reasons to console.
+The range is returned in a_Min and a_Max.
+If no value is in the string, both values are left unchanged.
+If only the minimum is in the string, it is assigned to both a_Min and a_Max. */
+static bool ParseRange(const AString & a_Params, int & a_Min, int & a_Max, bool a_LogWarnings)
+{
+ auto params = StringSplitAndTrim(a_Params, "|");
+ if (params.size() == 0)
+ {
+ // No params, generate directly on top:
+ return true;
+ }
+ if (!StringToInteger(params[0], a_Min))
+ {
+ // Failed to parse the min rel height:
+ CONDWARNING(a_LogWarnings, "Cannot parse minimum height from string \"%s\"!", params[0].c_str());
+ return false;
+ }
+ if (params.size() == 1)
+ {
+ // Only one param was given, there's no range
+ a_Max = a_Min;
+ return true;
+ }
+ if (!StringToInteger(params[1], a_Max))
+ {
+ CONDWARNING(a_LogWarnings, "Cannot parse maximum height from string \"%s\"!", params[1].c_str());
+ return false;
+ }
+ if (a_Max < a_Min)
+ {
+ std::swap(a_Max, a_Min);
+ }
+ return true;
+}
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** Limit that accepts any height. The default for all pieces. */
+class cVerticalLimitNone:
+ public cPiece::cVerticalLimit
+{
+public:
+ virtual bool CanBeAtHeight(int a_BlockX, int a_BlockZ, int a_Height) override
+ {
+ // Any height is okay
+ return true;
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // No parameters to read, no checks being done
+ return true;
+ }
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** Limit that accepts heights above the specified minimum fixed height. */
+class cVerticalLimitAbove:
+ public cPiece::cVerticalLimit
+{
+public:
+ virtual bool CanBeAtHeight(int a_BlockX, int a_BlockZ, int a_Height) override
+ {
+ return (a_Height >= m_MinHeight);
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Parameters: "<MinHeight>", compulsory
+ if (!StringToInteger(a_Params, m_MinHeight))
+ {
+ CONDWARNING(a_LogWarnings, "Cannot parse the minimum height from string \"%s\"!", a_Params.c_str());
+ return false;
+ }
+ return true;
+ }
+
+protected:
+ /** The minimum accepted height. */
+ int m_MinHeight;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** Limit that accepts heights that are a specified number of blocks above terrain. */
+class cVerticalLimitAboveTerrain:
+ public cPiece::cVerticalLimit
+{
+public:
+ virtual bool CanBeAtHeight(int a_BlockX, int a_BlockZ, int a_Height) override
+ {
+ auto terrainHeight = m_TerrainHeightGen->GetHeightAt(a_BlockX, a_BlockZ);
+ int compareHeight = a_Height - terrainHeight;
+ return (
+ (compareHeight >= m_MinBlocksAbove) && // Above the minimum
+ (compareHeight <= m_MaxBlocksAbove) // and below the maximum
+ );
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Parameters: "<MinBlocksAbove>|<MaxBlocksAbove>", both optional
+ m_MinBlocksAbove = 0;
+ m_MaxBlocksAbove = 0;
+ return ParseRange(a_Params, m_MinBlocksAbove, m_MaxBlocksAbove, a_LogWarnings);
+ }
+
+
+ virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_TerrainHeightGen, int a_SeaLevel) override
+ {
+ m_TerrainHeightGen = a_TerrainHeightGen;
+ }
+
+protected:
+ /** The underlying height generator. */
+ cTerrainHeightGenPtr m_TerrainHeightGen;
+
+ /** How many blocks above the terrain level do we accept on minimum. */
+ int m_MinBlocksAbove;
+
+ /** How many blocks above the terrain level do we accept on maximum. */
+ int m_MaxBlocksAbove;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** Limit that accepts heights that are a specified number of blocks above terrain and sealevel, whichever is higher. */
+class cVerticalLimitAboveTerrainAndOcean:
+ public cPiece::cVerticalLimit
+{
+public:
+ virtual bool CanBeAtHeight(int a_BlockX, int a_BlockZ, int a_Height) override
+ {
+ ASSERT(m_TerrainHeightGen != nullptr);
+ int terrainHeight = m_TerrainHeightGen->GetHeightAt(a_BlockX, a_BlockZ);
+ int compareHeight = a_Height - std::max(terrainHeight, m_SeaLevel);
+ return (
+ (compareHeight >= m_MinBlocksAbove) && // Above the minimum
+ (compareHeight <= m_MaxBlocksAbove) // and below the maximum
+ );
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Parameters: "<MinBlocksAbove>|<MaxBlocksAbove>", both optional
+ m_MinBlocksAbove = 0;
+ m_MaxBlocksAbove = 0;
+ return ParseRange(a_Params, m_MinBlocksAbove, m_MaxBlocksAbove, a_LogWarnings);
+ }
+
+
+ virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_TerrainHeightGen, int a_SeaLevel) override
+ {
+ m_TerrainHeightGen = a_TerrainHeightGen;
+ m_SeaLevel = a_SeaLevel;
+ }
+
+protected:
+ /** The underlying height generator. */
+ cTerrainHeightGenPtr m_TerrainHeightGen;
+
+ /** The sealevel for the current world. */
+ int m_SeaLevel;
+
+ /** How many blocks above the terrain level / ocean do we accept on minimum. */
+ int m_MinBlocksAbove;
+
+ /** How many blocks above the terrain level / ocean do we accept on maximum. */
+ int m_MaxBlocksAbove;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** Limit that accepts heights below the specified fixed height.
+NOTE that the query height is the BOTTOM of the piece. */
+class cVerticalLimitBelow:
+ public cPiece::cVerticalLimit
+{
+public:
+ virtual bool CanBeAtHeight(int a_BlockX, int a_BlockZ, int a_Height) override
+ {
+ return (a_Height <= m_MaxHeight);
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Parameters: "<MaxHeight>"
+ if (!StringToInteger(a_Params, m_MaxHeight))
+ {
+ CONDWARNING(a_LogWarnings, "Cannot parse the maximum height from string \"%s\"!", a_Params.c_str());
+ return false;
+ }
+ return true;
+ }
+
+protected:
+ /** The maximum accepted height. */
+ int m_MaxHeight;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** Limit that accepts heights that are within a specified range below terrain.
+NOTE that the query height is the BOTTOM of the piece. */
+class cVerticalLimitBelowTerrain:
+ public cPiece::cVerticalLimit
+{
+public:
+ virtual bool CanBeAtHeight(int a_BlockX, int a_BlockZ, int a_Height) override
+ {
+ auto terrainHeight = m_TerrainHeightGen->GetHeightAt(a_BlockX, a_BlockZ);
+ auto compareHeight = terrainHeight - a_Height;
+ return (
+ (compareHeight >= m_MinBlocksBelow) &&
+ (compareHeight <= m_MaxBlocksBelow)
+ );
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Parameters: "<MinBlocksBelow>|<MaxBlocksBelow>", both optional
+ m_MinBlocksBelow = 0;
+ m_MaxBlocksBelow = 0;
+ return ParseRange(a_Params, m_MinBlocksBelow, m_MaxBlocksBelow, a_LogWarnings);
+ }
+
+
+ virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_TerrainHeightGen, int a_SeaLevel) override
+ {
+ m_TerrainHeightGen = a_TerrainHeightGen;
+ }
+
+protected:
+ /** The underlying height generator. */
+ cTerrainHeightGenPtr m_TerrainHeightGen;
+
+ /** How many blocks below the terrain level do we accept on minimum. */
+ int m_MinBlocksBelow;
+
+ /** How many blocks below the terrain level do we accept on maximum. */
+ int m_MaxBlocksBelow;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** Limit that accepts heights that are a specified number of blocks below terrain or sealevel, whichever is higher. */
+class cVerticalLimitBelowTerrainOrOcean:
+ public cPiece::cVerticalLimit
+{
+public:
+ virtual bool CanBeAtHeight(int a_BlockX, int a_BlockZ, int a_Height) override
+ {
+ int terrainHeight = m_TerrainHeightGen->GetHeightAt(a_BlockX, a_BlockZ);
+ auto compareHeight = std::max(terrainHeight, m_SeaLevel) - a_Height;
+ return (
+ (compareHeight >= m_MinBlocksBelow) &&
+ (compareHeight <= m_MaxBlocksBelow)
+ );
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Parameters: "<MinBlocksBelow>|<MaxBlocksBelow>", both optional
+ m_MinBlocksBelow = 0;
+ m_MaxBlocksBelow = 0;
+ return ParseRange(a_Params, m_MinBlocksBelow, m_MaxBlocksBelow, a_LogWarnings);
+ }
+
+
+ virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_TerrainHeightGen, int a_SeaLevel) override
+ {
+ m_TerrainHeightGen = a_TerrainHeightGen;
+ m_SeaLevel = a_SeaLevel;
+ }
+
+protected:
+ /** The underlying height generator. */
+ cTerrainHeightGenPtr m_TerrainHeightGen;
+
+ /** The sealevel for the current world. */
+ int m_SeaLevel;
+
+ /** How many blocks below the terrain level do we accept on minimum. */
+ int m_MinBlocksBelow;
+
+ /** How many blocks below the terrain level do we accept on maximum. */
+ int m_MaxBlocksBelow;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+// CreateVerticalLimitFromString:
+
+cPiece::cVerticalLimitPtr CreateVerticalLimitFromString(const AString & a_LimitDesc, bool a_LogWarnings)
+{
+ // Break apart the limit class, the first parameter before the first pipe char:
+ auto idxPipe = a_LimitDesc.find('|');
+ if (idxPipe == AString::npos)
+ {
+ idxPipe = a_LimitDesc.length();
+ }
+ AString LimitClass = a_LimitDesc.substr(0, idxPipe);
+
+ // Create a strategy class based on the class string:
+ cPiece::cVerticalLimitPtr Limit;
+ if ((LimitClass == "") || (NoCaseCompare(LimitClass, "None") == 0))
+ {
+ Limit = std::make_shared<cVerticalLimitNone>();
+ }
+ else if (NoCaseCompare(LimitClass, "Above") == 0)
+ {
+ Limit = std::make_shared<cVerticalLimitAbove>();
+ }
+ else if (NoCaseCompare(LimitClass, "AboveTerrain") == 0)
+ {
+ Limit = std::make_shared<cVerticalLimitAboveTerrain>();
+ }
+ else if (NoCaseCompare(LimitClass, "AboveTerrainAndOcean") == 0)
+ {
+ Limit = std::make_shared<cVerticalLimitAboveTerrainAndOcean>();
+ }
+ else if (NoCaseCompare(LimitClass, "Below") == 0)
+ {
+ Limit = std::make_shared<cVerticalLimitBelow>();
+ }
+ else if (NoCaseCompare(LimitClass, "BelowTerrain") == 0)
+ {
+ Limit = std::make_shared<cVerticalLimitBelowTerrain>();
+ }
+ else if (NoCaseCompare(LimitClass, "BelowTerrainOrOcean") == 0)
+ {
+ Limit = std::make_shared<cVerticalLimitBelowTerrainOrOcean>();
+ }
+ else
+ {
+ return nullptr;
+ }
+
+ // Initialize the limit's parameters:
+ AString Params;
+ if (idxPipe < a_LimitDesc.length())
+ {
+ Params = a_LimitDesc.substr(idxPipe + 1);
+ }
+ if (!Limit->InitializeFromString(Params, a_LogWarnings))
+ {
+ return nullptr;
+ }
+
+ return Limit;
+}
+
+
+
+
diff --git a/src/Generating/VerticalLimit.h b/src/Generating/VerticalLimit.h
new file mode 100644
index 000000000..0e36424ac
--- /dev/null
+++ b/src/Generating/VerticalLimit.h
@@ -0,0 +1,26 @@
+
+// VerticalLimit.h
+
+// Declares the public interface for cPiece's cVerticalLimit implementations
+
+
+
+
+
+#pragma once
+
+#include "PieceGenerator.h"
+
+
+
+
+
+/** Returns a new cPiece::cVerticalLimit descendant based on the specified description.
+a_LimitDesc is in the format "<LimitClass>|<Params>". The params and the pipe may be omitted.
+If an unknown class is requested or the param parsing fails, nullptr is returned.
+If a_LogWarnings is true, any problem is reported into the server console. */
+cPiece::cVerticalLimitPtr CreateVerticalLimitFromString(const AString & a_LimitDesc, bool a_LogWarnings);
+
+
+
+
diff --git a/src/Generating/VerticalStrategy.cpp b/src/Generating/VerticalStrategy.cpp
new file mode 100644
index 000000000..08af5b272
--- /dev/null
+++ b/src/Generating/VerticalStrategy.cpp
@@ -0,0 +1,342 @@
+
+// VerticalStrategy.cpp
+
+// Implements the various classes descending from cPiece::cVerticalStrategy
+
+#include "Globals.h"
+#include "VerticalStrategy.h"
+
+
+
+
+
+// Constant that is added to random seed
+static const int SEED_OFFSET = 135;
+
+
+
+
+
+// Emit a warning if the first param is true
+#define CONDWARNING(ShouldLog, Fmt, ...) \
+ if (ShouldLog) \
+ { \
+ LOGWARNING(Fmt, __VA_ARGS__); \
+ }
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+// Globals:
+
+/** Parses a string containing a range in which both values are optional ("<MinHeight>|<MaxHeight>") into Min, Range.
+Returns true if successful, false on failure.
+If a_LogWarnings is true, outputs failure reasons to console.
+The range is returned in a_Min and a_Range, they are left unchanged if the range value is not present in the string. */
+static bool ParseRange(const AString & a_Params, int & a_Min, int & a_Range, bool a_LogWarnings)
+{
+ auto params = StringSplitAndTrim(a_Params, "|");
+ if (params.size() == 0)
+ {
+ // No params, generate directly on top:
+ return true;
+ }
+ if (!StringToInteger(params[0], a_Min))
+ {
+ // Failed to parse the min rel height:
+ CONDWARNING(a_LogWarnings, "Cannot parse minimum height from string \"%s\"!", params[0].c_str());
+ return false;
+ }
+ if (params.size() == 1)
+ {
+ // Only one param was given, there's no range
+ return true;
+ }
+ int maxHeight = a_Min;
+ if (!StringToInteger(params[1], maxHeight))
+ {
+ CONDWARNING(a_LogWarnings, "Cannot parse maximum height from string \"%s\"!", params[1].c_str());
+ return false;
+ }
+ if (maxHeight < a_Min)
+ {
+ std::swap(maxHeight, a_Min);
+ }
+ a_Range = maxHeight - a_Min + 1;
+ return true;
+}
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** A vertical strategy that places the piece at a predefined height. */
+class cVerticalStrategyFixed:
+ public cPiece::cVerticalStrategy
+{
+public:
+ cVerticalStrategyFixed(void):
+ m_Height(-1000) // Default to "unassigned" height
+ {
+ }
+
+
+ virtual int GetVerticalPlacement(int a_BlockX, int a_BlockZ) override
+ {
+ return m_Height;
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Params: "<Height>", compulsory
+ if (!StringToInteger(a_Params, m_Height))
+ {
+ CONDWARNING(a_LogWarnings, "Cannot parse the fixed height from string \"%s\"!", a_Params.c_str());
+ return false;
+ }
+ return true;
+ }
+
+protected:
+ /** Height at which the pieces are placed.
+ Note that this height may be outside the world, so that only a part of the piece is generated. */
+ int m_Height;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** A vertical strategy that places the piece in a random height between two heights. */
+class cVerticalStrategyRange:
+ public cPiece::cVerticalStrategy
+{
+public:
+ cVerticalStrategyRange(void):
+ m_Seed(0),
+ m_Min(-1), // Default to "unassigned" height
+ m_Range(1)
+ {
+ }
+
+
+ virtual int GetVerticalPlacement(int a_BlockX, int a_BlockZ) override
+ {
+ cNoise Noise(m_Seed);
+ return m_Min + (Noise.IntNoise2DInt(a_BlockX, a_BlockZ) / 7) % m_Range;
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Params: "<MinHeight>|<MaxHeight>", all compulsory
+ auto params = StringSplitAndTrim(a_Params, "|");
+ if (params.size() != 2)
+ {
+ CONDWARNING(a_LogWarnings, "Cannot parse the range parameters from string \"%s\"!", a_Params.c_str());
+ return false;
+ }
+ int Max = 0;
+ if (!StringToInteger(params[0], m_Min) || !StringToInteger(params[1], Max))
+ {
+ CONDWARNING(a_LogWarnings, "Cannot parse the minimum or maximum height from string \"%s\"!", a_Params.c_str());
+ return false;
+ }
+ if (m_Min > Max)
+ {
+ std::swap(m_Min, Max);
+ }
+ m_Range = Max - m_Min + 1;
+ return true;
+ }
+
+
+ virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_TerrainHeightGen, int a_SeaLevel) override
+ {
+ m_Seed = a_Seed + SEED_OFFSET;
+ }
+
+protected:
+ /** Seed for the random generator. Received in AssignGens(). */
+ int m_Seed;
+
+ /** Range for the random generator. Received in InitializeFromString(). */
+ int m_Min, m_Range;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** A vertical strategy that places the piece in a specified range relative to the top of the terrain. */
+class cVerticalStrategyTerrainTop:
+ public cPiece::cVerticalStrategy
+{
+public:
+
+ virtual int GetVerticalPlacement(int a_BlockX, int a_BlockZ) override
+ {
+ ASSERT(m_HeightGen != nullptr);
+
+ int ChunkX, ChunkZ;
+ cChunkDef::BlockToChunk(a_BlockX, a_BlockZ, ChunkX, ChunkZ);
+ cChunkDef::HeightMap HeightMap;
+ m_HeightGen->GenHeightMap(ChunkX, ChunkZ, HeightMap);
+ cNoise noise(m_Seed);
+ int rel = m_MinRelHeight + (noise.IntNoise2DInt(a_BlockX, a_BlockZ) / 7) % m_RelHeightRange + 1;
+ return cChunkDef::GetHeight(HeightMap, a_BlockX - ChunkX * cChunkDef::Width, a_BlockZ - ChunkZ * cChunkDef::Width) + rel;
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Params: "<MinRelativeHeight>|<MaxRelativeHeight>", all optional
+ m_MinRelHeight = 0;
+ m_RelHeightRange = 1;
+ return ParseRange(a_Params, m_MinRelHeight, m_RelHeightRange, a_LogWarnings);
+ }
+
+
+ virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_HeightGen, int a_SeaLevel) override
+ {
+ m_Seed = a_Seed + SEED_OFFSET;
+ m_HeightGen = a_HeightGen;
+ }
+
+protected:
+ /** Seed for the random generator. */
+ int m_Seed;
+
+ /** Height generator from which the top of the terrain is read. */
+ cTerrainHeightGenPtr m_HeightGen;
+
+ /** Minimum relative height at which the prefab is placed. */
+ int m_MinRelHeight;
+
+ /** Range of the relative heights at which the prefab can be placed above the minimum. */
+ int m_RelHeightRange;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+/** A vertical strategy that places the piece within a range on top of the terrain or ocean, whichever's higher. */
+class cVerticalStrategyTerrainOrOceanTop:
+ public cPiece::cVerticalStrategy
+{
+public:
+
+ virtual int GetVerticalPlacement(int a_BlockX, int a_BlockZ) override
+ {
+ ASSERT(m_HeightGen != nullptr);
+
+ int ChunkX, ChunkZ;
+ cChunkDef::BlockToChunk(a_BlockX, a_BlockZ, ChunkX, ChunkZ);
+ cChunkDef::HeightMap HeightMap;
+ m_HeightGen->GenHeightMap(ChunkX, ChunkZ, HeightMap);
+ int terrainHeight = static_cast<int>(cChunkDef::GetHeight(HeightMap, a_BlockX - ChunkX * cChunkDef::Width, a_BlockZ - ChunkZ * cChunkDef::Width));
+ terrainHeight = std::max(1 + terrainHeight, m_SeaLevel);
+ cNoise noise(m_Seed);
+ int rel = m_MinRelHeight + (noise.IntNoise2DInt(a_BlockX, a_BlockZ) / 7) % m_RelHeightRange + 1;
+ return terrainHeight + rel;
+ }
+
+
+ virtual bool InitializeFromString(const AString & a_Params, bool a_LogWarnings) override
+ {
+ // Params: "<MinRelativeHeight>|<MaxRelativeHeight>", all optional
+ m_MinRelHeight = 0;
+ m_RelHeightRange = 1;
+ return ParseRange(a_Params, m_MinRelHeight, m_RelHeightRange, a_LogWarnings);
+ }
+
+
+ virtual void AssignGens(int a_Seed, cBiomeGenPtr & a_BiomeGen, cTerrainHeightGenPtr & a_HeightGen, int a_SeaLevel) override
+ {
+ m_Seed = a_Seed + SEED_OFFSET;
+ m_HeightGen = a_HeightGen;
+ m_SeaLevel = a_SeaLevel;
+ }
+
+protected:
+ /** Seed for the random generator. */
+ int m_Seed;
+
+ /** Height generator from which the top of the terrain is read. */
+ cTerrainHeightGenPtr m_HeightGen;
+
+ /** The sea level used by the world. */
+ int m_SeaLevel;
+
+ /** Minimum relative height at which the prefab is placed. */
+ int m_MinRelHeight;
+
+ /** Range of the relative heights at which the prefab can be placed above the minimum. */
+ int m_RelHeightRange;
+};
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+// CreateVerticalStrategyFromString:
+
+cPiece::cVerticalStrategyPtr CreateVerticalStrategyFromString(const AString & a_StrategyDesc, bool a_LogWarnings)
+{
+ // Break apart the strategy class, the first parameter before the first pipe char:
+ auto idxPipe = a_StrategyDesc.find('|');
+ if (idxPipe == AString::npos)
+ {
+ idxPipe = a_StrategyDesc.length();
+ }
+ AString StrategyClass = a_StrategyDesc.substr(0, idxPipe);
+
+ // Create a strategy class based on the class string:
+ cPiece::cVerticalStrategyPtr Strategy;
+ if (NoCaseCompare(StrategyClass, "Fixed") == 0)
+ {
+ Strategy = std::make_shared<cVerticalStrategyFixed>();
+ }
+ else if (NoCaseCompare(StrategyClass, "Range") == 0)
+ {
+ Strategy = std::make_shared<cVerticalStrategyRange>();
+ }
+ else if (NoCaseCompare(StrategyClass, "TerrainTop") == 0)
+ {
+ Strategy = std::make_shared<cVerticalStrategyTerrainTop>();
+ }
+ else if (NoCaseCompare(StrategyClass, "TerrainOrOceanTop") == 0)
+ {
+ Strategy = std::make_shared<cVerticalStrategyTerrainOrOceanTop>();
+ }
+ else
+ {
+ return nullptr;
+ }
+
+ // Initialize the strategy's parameters:
+ AString Params;
+ if (idxPipe < a_StrategyDesc.length())
+ {
+ Params = a_StrategyDesc.substr(idxPipe + 1);
+ }
+ if (!Strategy->InitializeFromString(Params, a_LogWarnings))
+ {
+ return nullptr;
+ }
+
+ return Strategy;
+}
+
+
+
+
diff --git a/src/Generating/VerticalStrategy.h b/src/Generating/VerticalStrategy.h
new file mode 100644
index 000000000..77e86f660
--- /dev/null
+++ b/src/Generating/VerticalStrategy.h
@@ -0,0 +1,25 @@
+
+// VerticalStrategy.h
+
+// Declares the public interface for cPiece's cVerticalStrategy implementations
+
+
+
+
+
+#pragma once
+
+#include "PieceGenerator.h"
+
+
+
+
+
+/** Returns a new cPiece::cVerticalStrategy descendant based on the specified description.
+a_StrategyDesc is in the format "<StrategyClass>|<Params>". The params and the pipe may be omitted.
+If an unknown class is requested or the param parsing fails, nullptr is returned. */
+cPiece::cVerticalStrategyPtr CreateVerticalStrategyFromString(const AString & a_StrategyDesc, bool a_LogWarnings);
+
+
+
+
diff --git a/src/Generating/VillageGen.cpp b/src/Generating/VillageGen.cpp
index 2475565c0..6ee150209 100644
--- a/src/Generating/VillageGen.cpp
+++ b/src/Generating/VillageGen.cpp
@@ -14,8 +14,8 @@
/*
How village generating works:
By descending from a cGridStructGen, a semi-random (jitter) grid is generated. A village may be generated for each
-of the grid's cells. Each cell checks the biomes in an entire chunk around it, only generating a village if all
-biomes are village-friendly. If yes, the entire village structure is built for that cell. If not, the cell
+of the grid's cells. Each cell checks the biomes in an entire chunk around its center, only generating a village if
+all biomes are village-friendly. If yes, the entire village structure is built for that cell. If not, the cell
is left village-less.
A village is generated using the regular BFS piece generator. The well piece is used as the starting piece,
@@ -28,7 +28,7 @@ both types' opposites, type "-2" at the far ends and type "1" on the long edges.
type "2" connectors along the long edges of the roads as well, so that the roads create T junctions.
When the village is about to be drawn into a chunk, it queries the heights for each piece intersecting the
-chunk. The pieces are shifted so that their pivot points lie on the surface, and the roads are drawn
+chunk. The pieces are shifted so that their first connector lies on the surface, and the roads are drawn
directly by turning the surface blocks into gravel / sandstone.
The village prefabs are stored in global piecepools (one pool per village type). In order to support
@@ -134,21 +134,11 @@ public:
{
// Generate the pieces for this village; don't care about the Y coord:
cBFSPieceGenerator pg(*this, a_Seed);
- pg.PlacePieces(a_OriginX, 0, a_OriginZ, a_MaxRoadDepth + 1, m_Pieces);
+ pg.PlacePieces(a_OriginX, a_OriginZ, a_MaxRoadDepth + 1, m_Pieces);
if (m_Pieces.empty())
{
return;
}
-
- // If the central piece should be moved to ground, move it, and
- // check all of its dependents and move those that are strictly connector-driven based on its new Y coord:
- if (static_cast<const cPrefab &>(m_Pieces[0]->GetPiece()).ShouldMoveToGround())
- {
- int OrigPosY = m_Pieces[0]->GetCoords().y;
- PlacePieceOnGround(*m_Pieces[0]);
- int NewPosY = m_Pieces[0]->GetCoords().y;
- MoveAllDescendants(m_Pieces, 0, NewPosY - OrigPosY);
- }
}
~cVillage()
@@ -206,8 +196,8 @@ protected:
Prefab.Draw(a_Chunk, *itr);
} // for itr - m_PlacedPieces[]
}
-
-
+
+
/** Adjusts the Y coord of the given piece so that the piece is on the ground.
Ground level is assumed to be represented by the first connector in the piece. */
void PlacePieceOnGround(cPlacedPiece & a_Piece)
@@ -345,6 +335,7 @@ cVillageGen::cVillageGen(
int a_MaxDensity,
cBiomeGenPtr a_BiomeGen,
cTerrainHeightGenPtr a_HeightGen,
+ int a_SeaLevel,
const AStringVector & a_PrefabsToLoad
) :
super(a_Seed, a_GridSize, a_GridSize, a_MaxOffset, a_MaxOffset, a_MaxSize, a_MaxSize, 100),
@@ -368,6 +359,7 @@ cVillageGen::cVillageGen(
fileName.c_str(), prefabs->GetIntendedUse().c_str()
);
}
+ prefabs->AssignGens(a_Seed, m_BiomeGen, m_HeightGen, a_SeaLevel);
m_Pools.push_back(std::move(prefabs));
}
}
diff --git a/src/Generating/VillageGen.h b/src/Generating/VillageGen.h
index bda6b0312..6b7c4a3b4 100644
--- a/src/Generating/VillageGen.h
+++ b/src/Generating/VillageGen.h
@@ -38,6 +38,7 @@ public:
int a_MinDensity, int a_MaxDensity,
cBiomeGenPtr a_BiomeGen,
cTerrainHeightGenPtr a_HeightGen,
+ int a_SeaLevel,
const AStringVector & a_PrefabsToLoad
);