Move world generation outside the engine and into mods and data files
This commit is contained in:
@@ -83,7 +83,8 @@ SOFTWARE.
|
||||
|
||||
# Tectonic
|
||||
|
||||
The overworld's terrain is shaped after Tectonic by Apollo: https://github.com/Apollounknowndev/tectonic
|
||||
The overworld's terrain is shaped after Tectonic by Apollo: https://github.com/Apollounknowndev/tectonic. Its splines
|
||||
are ported to `worldgen/density_function/overworld`.
|
||||
|
||||
License: MIT
|
||||
|
||||
|
||||
@@ -0,0 +1,258 @@
|
||||
// the base game's trees, a feature that's code. biomes say which kinds grow and how often (their json's "trees"), this
|
||||
// says what the kinds are. where they grow can't depend on which chunk generates first, so it only depends on the
|
||||
// seed: every CELL x CELL cell has one candidate spot and a random priority, and a candidate becomes a tree only if no
|
||||
// other candidate within MIN_DISTANCE has a higher priority (then its biome may still say no). that spreads trees out
|
||||
// like poisson disk sampling: never closer than MIN_DISTANCE, but without lining up in a grid. a tree is placed by the
|
||||
// chunk its trunk is in, leaves that reach into the next chunk only fill air there
|
||||
import type { FeatureBiome, FeatureChunk, WorldgenContext } from "bworld/worldgen";
|
||||
|
||||
const CHUNK_SIZE = 16;
|
||||
const CHUNK_HEIGHT = 256;
|
||||
|
||||
const CELL = 4;
|
||||
// trunks are at least this far apart
|
||||
const MIN_DISTANCE = 4;
|
||||
// how many cells out a candidate can be and still be within MIN_DISTANCE
|
||||
const REACH = Math.ceil(MIN_DISTANCE / CELL);
|
||||
// the widest a canopy layer gets
|
||||
const MAX_CANOPY = 3;
|
||||
|
||||
export const TREE_KINDS = ["oak", "big_oak", "birch", "spruce", "jungle", "acacia", "cherry"] as const;
|
||||
export type TreeKind = typeof TREE_KINDS[number];
|
||||
export const WOODS = ["oak", "spruce", "birch", "jungle", "acacia", "dark_oak", "cherry"] as const;
|
||||
export type Wood = typeof WOODS[number];
|
||||
|
||||
type Random = { next(): number };
|
||||
|
||||
export interface TreeSite {
|
||||
x: number;
|
||||
z: number;
|
||||
// seeded from the cell, what's left of it picks the tree
|
||||
rng: Random;
|
||||
}
|
||||
|
||||
interface Candidate extends TreeSite {
|
||||
priority: number;
|
||||
}
|
||||
|
||||
// every cell's candidate, from the seed and the cell alone
|
||||
function candidate(chunk: FeatureChunk, cell_x: number, cell_z: number): Candidate {
|
||||
const rng = chunk.random(`tree_${cell_x}_${cell_z}`);
|
||||
const x = cell_x * CELL + Math.floor(rng.next() * CELL);
|
||||
const z = cell_z * CELL + Math.floor(rng.next() * CELL);
|
||||
return { x, z, priority: rng.next(), rng };
|
||||
}
|
||||
|
||||
// the spots in the chunk where a tree may grow, before biome and ground are checked
|
||||
function tree_sites(chunk: FeatureChunk): TreeSite[] {
|
||||
const cells = CHUNK_SIZE / CELL;
|
||||
const first_x = chunk.x * cells - REACH;
|
||||
const first_z = chunk.z * cells - REACH;
|
||||
const size = cells + 2 * REACH;
|
||||
const candidates: Candidate[] = [];
|
||||
for (let cz = 0; cz < size; cz++) {
|
||||
for (let cx = 0; cx < size; cx++) {
|
||||
candidates.push(candidate(chunk, first_x + cx, first_z + cz));
|
||||
}
|
||||
}
|
||||
|
||||
const sites: TreeSite[] = [];
|
||||
for (let cz = REACH; cz < REACH + cells; cz++) {
|
||||
for (let cx = REACH; cx < REACH + cells; cx++) {
|
||||
const site = candidates[cz * size + cx];
|
||||
let wins = true;
|
||||
for (let dz = -REACH; dz <= REACH && wins; dz++) {
|
||||
for (let dx = -REACH; dx <= REACH; dx++) {
|
||||
const other = candidates[(cz + dz) * size + cx + dx];
|
||||
if (other === site) continue;
|
||||
const distance_sq = (other.x - site.x) ** 2 + (other.z - site.z) ** 2;
|
||||
if (distance_sq < MIN_DISTANCE * MIN_DISTANCE && other.priority > site.priority) {
|
||||
wins = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (wins) sites.push(site);
|
||||
}
|
||||
}
|
||||
return sites;
|
||||
}
|
||||
|
||||
// log replaces leaves, everything else only fills air
|
||||
type PlaceBlock = (x: number, y: number, z: number, block: "log" | "leaves") => void;
|
||||
|
||||
// grows a tree with its trunk's bottom at x, y, z. returns false when it wouldn't fit under the top of the world
|
||||
function grow_tree(kind: TreeKind, x: number, y: number, z: number, rng: Random, place: PlaceBlock) {
|
||||
const random = (min: number, max: number) => min + Math.floor(rng.next() * (max - min + 1));
|
||||
const trunk = (height: number) => {
|
||||
for (let i = 0; i < height; i++) place(x, y + i, z, "log");
|
||||
};
|
||||
// a square layer of leaves, its corners left out at random like minecraft's
|
||||
const layer = (ly: number, radius: number, corners: boolean) => {
|
||||
for (let dx = -radius; dx <= radius; dx++) {
|
||||
for (let dz = -radius; dz <= radius; dz++) {
|
||||
const corner = Math.abs(dx) === radius && Math.abs(dz) === radius;
|
||||
if (corner && radius > 0 && (!corners || rng.next() < 0.5)) continue;
|
||||
place(x + dx, ly, z + dz, "leaves");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
let top: number;
|
||||
switch (kind) {
|
||||
case "oak": {
|
||||
const height = random(4, 6);
|
||||
top = y + height + 1;
|
||||
if (top >= CHUNK_HEIGHT - 1) return false;
|
||||
trunk(height);
|
||||
layer(y + height - 2, 2, true);
|
||||
layer(y + height - 1, 2, true);
|
||||
layer(y + height, 1, true);
|
||||
layer(y + height + 1, 1, false);
|
||||
break;
|
||||
}
|
||||
case "birch": {
|
||||
// oak's canopy on a taller, straight trunk
|
||||
const height = random(5, 7);
|
||||
top = y + height + 1;
|
||||
if (top >= CHUNK_HEIGHT - 1) return false;
|
||||
trunk(height);
|
||||
layer(y + height - 2, 2, true);
|
||||
layer(y + height - 1, 2, true);
|
||||
layer(y + height, 1, true);
|
||||
layer(y + height + 1, 1, false);
|
||||
break;
|
||||
}
|
||||
case "cherry": {
|
||||
// a short trunk under a wide, rounded canopy
|
||||
const height = random(4, 6);
|
||||
top = y + height + 1;
|
||||
if (top >= CHUNK_HEIGHT - 1) return false;
|
||||
trunk(height);
|
||||
layer(y + height - 2, 2, false);
|
||||
layer(y + height - 1, MAX_CANOPY, false);
|
||||
layer(y + height, MAX_CANOPY, false);
|
||||
layer(y + height + 1, 2, false);
|
||||
break;
|
||||
}
|
||||
case "big_oak": {
|
||||
const height = random(6, 8);
|
||||
top = y + height + 1;
|
||||
if (top >= CHUNK_HEIGHT - 1) return false;
|
||||
trunk(height);
|
||||
layer(y + height - 3, 2, true);
|
||||
layer(y + height - 2, 3, false);
|
||||
layer(y + height - 1, 3, true);
|
||||
layer(y + height, 2, true);
|
||||
layer(y + height + 1, 1, false);
|
||||
break;
|
||||
}
|
||||
case "spruce": {
|
||||
const height = random(7, 10);
|
||||
top = y + height + 1;
|
||||
if (top >= CHUNK_HEIGHT - 1) return false;
|
||||
trunk(height);
|
||||
// a cone of layers getting wider going down, every other one narrower, like minecraft's spruce
|
||||
place(x, y + height + 1, z, "leaves");
|
||||
layer(y + height, 1, false);
|
||||
let radius = 1;
|
||||
for (let ly = y + height - 1; ly >= y + 2; ly--) {
|
||||
radius = radius >= 2 + Math.floor((y + height - ly) / 4) ? 1 : radius + 1;
|
||||
layer(ly, Math.min(radius, MAX_CANOPY), false);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "jungle": {
|
||||
const height = random(9, 13);
|
||||
top = y + height + 1;
|
||||
if (top >= CHUNK_HEIGHT - 1) return false;
|
||||
trunk(height);
|
||||
layer(y + height - 2, 3, false);
|
||||
layer(y + height - 1, 3, true);
|
||||
layer(y + height, 2, true);
|
||||
layer(y + height + 1, 1, false);
|
||||
break;
|
||||
}
|
||||
case "acacia": {
|
||||
// a short trunk that leans one way at the top, under a flat, wide canopy
|
||||
const height = random(4, 5);
|
||||
top = y + height + 2;
|
||||
if (top >= CHUNK_HEIGHT - 1) return false;
|
||||
trunk(height);
|
||||
const lean_x = random(-1, 1);
|
||||
const lean_z = lean_x === 0 ? (rng.next() < 0.5 ? -1 : 1) : 0;
|
||||
const cx = x + lean_x;
|
||||
const cz = z + lean_z;
|
||||
place(cx, y + height, cz, "log");
|
||||
for (let dx = -MAX_CANOPY; dx <= MAX_CANOPY; dx++) {
|
||||
for (let dz = -MAX_CANOPY; dz <= MAX_CANOPY; dz++) {
|
||||
if (Math.abs(dx) + Math.abs(dz) <= 4 && !(Math.abs(dx) === 3 && Math.abs(dz) === 3)) {
|
||||
place(cx + dx, y + height + 1, cz + dz, "leaves");
|
||||
}
|
||||
if (Math.abs(dx) + Math.abs(dz) <= 2) {
|
||||
place(cx + dx, y + height + 2, cz + dz, "leaves");
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// trees grow on these, with air above
|
||||
const SOIL = new Set(["bworld:grass", "bworld:dirt", "bworld:snow_block"]);
|
||||
const LEAVES = new Set(WOODS.map((wood) => `bworld:${wood}_leaves`));
|
||||
|
||||
export function register_trees(gen: WorldgenContext) {
|
||||
const trees = new Map<string, NonNullable<FeatureBiome["trees"]>>();
|
||||
for (const biome of gen.biomes()) {
|
||||
if (!biome.trees) continue;
|
||||
for (const kind of biome.trees.kinds) {
|
||||
if (!TREE_KINDS.includes(kind as TreeKind)) {
|
||||
throw new Error(`biome ${biome.id}: trees.kinds: ${kind} isn't one of ${TREE_KINDS.join(", ")}`);
|
||||
}
|
||||
}
|
||||
for (const [kind, wood] of Object.entries(biome.trees.wood)) {
|
||||
if (!TREE_KINDS.includes(kind as TreeKind)) {
|
||||
throw new Error(`biome ${biome.id}: trees.wood: ${kind} isn't a kind of tree`);
|
||||
}
|
||||
if (!WOODS.includes(wood as Wood)) {
|
||||
throw new Error(`biome ${biome.id}: trees.wood.${kind} must be one of ${WOODS.join(", ")}`);
|
||||
}
|
||||
}
|
||||
trees.set(biome.id, biome.trees);
|
||||
}
|
||||
|
||||
gen.register_feature("bworld:trees", (chunk) => {
|
||||
const x0 = chunk.x * CHUNK_SIZE;
|
||||
const z0 = chunk.z * CHUNK_SIZE;
|
||||
const place = (x: number, y: number, z: number, block: "log" | "leaves", wood: string) => {
|
||||
if (y < 0 || y >= CHUNK_HEIGHT) return;
|
||||
const id = `bworld:${wood}_${block}`;
|
||||
if (x < x0 || x >= x0 + CHUNK_SIZE || z < z0 || z >= z0 + CHUNK_SIZE) {
|
||||
// the other chunk only takes it where it has air
|
||||
chunk.set_block(x, y, z, id);
|
||||
return;
|
||||
}
|
||||
const current = chunk.get_block(x, y, z);
|
||||
if (current === "bworld:air" || (block === "log" && LEAVES.has(current!))) chunk.set_block(x, y, z, id);
|
||||
};
|
||||
|
||||
for (const site of tree_sites(chunk)) {
|
||||
const here = trees.get(chunk.biome_at(site.x, site.z));
|
||||
if (!here || site.rng.next() >= here.chance) continue;
|
||||
|
||||
// on soil with air above it, so never under water or on bare rock
|
||||
const ground_y = chunk.height_at(site.x, site.z);
|
||||
const ground = chunk.get_block(site.x, ground_y, site.z);
|
||||
const above = chunk.get_block(site.x, ground_y + 1, site.z);
|
||||
if (!SOIL.has(ground!) || above !== "bworld:air") continue;
|
||||
|
||||
const kind = here.kinds[Math.floor(site.rng.next() * here.kinds.length)] as TreeKind;
|
||||
// big oaks grow oak, every other kind its own wood, unless the biome says
|
||||
const wood = here.wood[kind] ?? (kind === "big_oak" ? "oak" : kind);
|
||||
grow_tree(kind, site.x, ground_y + 1, site.z, site.rng, (x, y, z, block) => place(x, y, z, block, wood));
|
||||
}
|
||||
}, { step: "vegetal_decoration" });
|
||||
}
|
||||
@@ -1,8 +1,11 @@
|
||||
// the base game's features, on top of the engine's terrain. runs in chunk workers and must give the same world every
|
||||
// time: only chunk.rng and the noise helpers, never Math.random or the time
|
||||
// the base game's features, on top of the terrain (which is data, worldgen/). runs on the server and must give the
|
||||
// same world every time: only chunk.rng, chunk.random and the noise helpers, never Math.random or the time
|
||||
import type { FeatureChunk, WorldgenContext } from "bworld/worldgen";
|
||||
import { register_trees } from "./trees.ts";
|
||||
|
||||
export function setup(gen: WorldgenContext) {
|
||||
// trees grow in vegetal_decoration, before the cactus looks for air in the last step
|
||||
register_trees(gen);
|
||||
gen.register_feature("bworld:cactus", cactus);
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,391 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"biome_source": {
|
||||
"id": "bworld:overworld",
|
||||
"rules": [
|
||||
{
|
||||
"id": "bworld:river_bed_frozen",
|
||||
"when": {
|
||||
"surface": {
|
||||
"max_exclusive": 63
|
||||
},
|
||||
"valley": {
|
||||
"max_exclusive": 0.06
|
||||
},
|
||||
"continentalness": {
|
||||
"min_exclusive": -0.2
|
||||
},
|
||||
"temperature": {
|
||||
"max_exclusive": -0.65
|
||||
}
|
||||
},
|
||||
"biome": "bworld:frozen_river"
|
||||
},
|
||||
{
|
||||
"id": "bworld:river_bed",
|
||||
"when": {
|
||||
"surface": {
|
||||
"max_exclusive": 63
|
||||
},
|
||||
"valley": {
|
||||
"max_exclusive": 0.06
|
||||
},
|
||||
"continentalness": {
|
||||
"min_exclusive": -0.2
|
||||
}
|
||||
},
|
||||
"biome": "bworld:river"
|
||||
},
|
||||
{
|
||||
"id": "bworld:deep_frozen_ocean",
|
||||
"when": {
|
||||
"surface": {
|
||||
"max_exclusive": 63
|
||||
},
|
||||
"continentalness": {
|
||||
"max_exclusive": -0.45
|
||||
},
|
||||
"temperature": {
|
||||
"max_exclusive": -0.65
|
||||
}
|
||||
},
|
||||
"biome": "bworld:deep_frozen_ocean"
|
||||
},
|
||||
{
|
||||
"id": "bworld:deep_lukewarm_ocean",
|
||||
"when": {
|
||||
"surface": {
|
||||
"max_exclusive": 63
|
||||
},
|
||||
"continentalness": {
|
||||
"max_exclusive": -0.45
|
||||
},
|
||||
"temperature": {
|
||||
"min_exclusive": 0.55
|
||||
}
|
||||
},
|
||||
"biome": "bworld:deep_lukewarm_ocean"
|
||||
},
|
||||
{
|
||||
"id": "bworld:deep_ocean",
|
||||
"when": {
|
||||
"surface": {
|
||||
"max_exclusive": 63
|
||||
},
|
||||
"continentalness": {
|
||||
"max_exclusive": -0.45
|
||||
}
|
||||
},
|
||||
"biome": "bworld:deep_ocean"
|
||||
},
|
||||
{
|
||||
"id": "bworld:frozen_ocean",
|
||||
"when": {
|
||||
"surface": {
|
||||
"max_exclusive": 63
|
||||
},
|
||||
"temperature": {
|
||||
"max_exclusive": -0.65
|
||||
}
|
||||
},
|
||||
"biome": "bworld:frozen_ocean"
|
||||
},
|
||||
{
|
||||
"id": "bworld:warm_ocean",
|
||||
"when": {
|
||||
"surface": {
|
||||
"max_exclusive": 63
|
||||
},
|
||||
"temperature": {
|
||||
"min_exclusive": 0.55
|
||||
}
|
||||
},
|
||||
"biome": "bworld:warm_ocean"
|
||||
},
|
||||
{
|
||||
"id": "bworld:ocean",
|
||||
"when": {
|
||||
"surface": {
|
||||
"max_exclusive": 63
|
||||
}
|
||||
},
|
||||
"biome": "bworld:ocean"
|
||||
},
|
||||
{
|
||||
"id": "bworld:stony_shore",
|
||||
"when": {
|
||||
"continentalness": {
|
||||
"max_exclusive": -0.12
|
||||
},
|
||||
"surface": {
|
||||
"max_inclusive": 68
|
||||
},
|
||||
"steep": true
|
||||
},
|
||||
"biome": "bworld:stony_shore"
|
||||
},
|
||||
{
|
||||
"id": "bworld:snowy_beach",
|
||||
"when": {
|
||||
"continentalness": {
|
||||
"max_exclusive": -0.12
|
||||
},
|
||||
"surface": {
|
||||
"max_inclusive": 68
|
||||
},
|
||||
"temperature": {
|
||||
"max_exclusive": -0.3
|
||||
}
|
||||
},
|
||||
"biome": "bworld:snowy_beach"
|
||||
},
|
||||
{
|
||||
"id": "bworld:beach",
|
||||
"when": {
|
||||
"continentalness": {
|
||||
"max_exclusive": -0.12
|
||||
},
|
||||
"surface": {
|
||||
"max_inclusive": 68
|
||||
}
|
||||
},
|
||||
"biome": "bworld:beach"
|
||||
},
|
||||
{
|
||||
"id": "bworld:river_frozen",
|
||||
"when": {
|
||||
"valley": {
|
||||
"max_exclusive": 0.04
|
||||
},
|
||||
"continentalness": {
|
||||
"min_exclusive": -0.2
|
||||
},
|
||||
"surface": {
|
||||
"max_inclusive": 65
|
||||
},
|
||||
"temperature": {
|
||||
"max_exclusive": -0.65
|
||||
}
|
||||
},
|
||||
"biome": "bworld:frozen_river"
|
||||
},
|
||||
{
|
||||
"id": "bworld:river",
|
||||
"when": {
|
||||
"valley": {
|
||||
"max_exclusive": 0.04
|
||||
},
|
||||
"continentalness": {
|
||||
"min_exclusive": -0.2
|
||||
},
|
||||
"surface": {
|
||||
"max_inclusive": 65
|
||||
}
|
||||
},
|
||||
"biome": "bworld:river"
|
||||
},
|
||||
{
|
||||
"id": "bworld:frozen_peaks",
|
||||
"when": {
|
||||
"surface": {
|
||||
"min_exclusive": 169
|
||||
},
|
||||
"temperature": {
|
||||
"max_exclusive": -0.3
|
||||
}
|
||||
},
|
||||
"biome": "bworld:frozen_peaks"
|
||||
},
|
||||
{
|
||||
"id": "bworld:jagged_peaks",
|
||||
"when": {
|
||||
"surface": {
|
||||
"min_exclusive": 169
|
||||
},
|
||||
"jaggedness": {
|
||||
"min_exclusive": 0.35
|
||||
}
|
||||
},
|
||||
"biome": "bworld:jagged_peaks"
|
||||
},
|
||||
{
|
||||
"id": "bworld:stony_peaks",
|
||||
"when": {
|
||||
"surface": {
|
||||
"min_exclusive": 169
|
||||
}
|
||||
},
|
||||
"biome": "bworld:stony_peaks"
|
||||
},
|
||||
{
|
||||
"id": "bworld:snowy_slopes",
|
||||
"when": {
|
||||
"surface": {
|
||||
"min_exclusive": 124
|
||||
},
|
||||
"temperature": {
|
||||
"max_exclusive": -0.3
|
||||
}
|
||||
},
|
||||
"biome": "bworld:snowy_slopes"
|
||||
},
|
||||
{
|
||||
"id": "bworld:meadow",
|
||||
"when": {
|
||||
"surface": {
|
||||
"min_exclusive": 94
|
||||
},
|
||||
"temperature": {
|
||||
"min_inclusive": -0.3
|
||||
},
|
||||
"humidity": {
|
||||
"min_exclusive": -0.3
|
||||
}
|
||||
},
|
||||
"biome": "bworld:meadow"
|
||||
},
|
||||
{
|
||||
"id": "bworld:snowy_taiga",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"max_exclusive": -0.65
|
||||
},
|
||||
"humidity": {
|
||||
"min_exclusive": 0
|
||||
}
|
||||
},
|
||||
"biome": "bworld:snowy_taiga"
|
||||
},
|
||||
{
|
||||
"id": "bworld:snowy_plains",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"max_exclusive": -0.65
|
||||
}
|
||||
},
|
||||
"biome": "bworld:snowy_plains"
|
||||
},
|
||||
{
|
||||
"id": "bworld:taiga",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"max_exclusive": -0.3
|
||||
},
|
||||
"humidity": {
|
||||
"min_exclusive": 0
|
||||
}
|
||||
},
|
||||
"biome": "bworld:taiga"
|
||||
},
|
||||
{
|
||||
"id": "bworld:cold_plains",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"max_exclusive": -0.3
|
||||
}
|
||||
},
|
||||
"biome": "bworld:plains"
|
||||
},
|
||||
{
|
||||
"id": "bworld:desert",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"min_exclusive": 0.55
|
||||
},
|
||||
"humidity": {
|
||||
"max_exclusive": -0.2
|
||||
}
|
||||
},
|
||||
"biome": "bworld:desert"
|
||||
},
|
||||
{
|
||||
"id": "bworld:hot_savanna",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"min_exclusive": 0.55
|
||||
},
|
||||
"humidity": {
|
||||
"max_exclusive": 0.4
|
||||
}
|
||||
},
|
||||
"biome": "bworld:savanna"
|
||||
},
|
||||
{
|
||||
"id": "bworld:hot_jungle",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"min_exclusive": 0.55
|
||||
}
|
||||
},
|
||||
"biome": "bworld:jungle"
|
||||
},
|
||||
{
|
||||
"id": "bworld:warm_savanna",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"min_exclusive": 0.2
|
||||
},
|
||||
"humidity": {
|
||||
"max_exclusive": -0.3
|
||||
}
|
||||
},
|
||||
"biome": "bworld:savanna"
|
||||
},
|
||||
{
|
||||
"id": "bworld:warm_jungle",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"min_exclusive": 0.2
|
||||
},
|
||||
"humidity": {
|
||||
"min_exclusive": 0.6
|
||||
}
|
||||
},
|
||||
"biome": "bworld:jungle"
|
||||
},
|
||||
{
|
||||
"id": "bworld:warm_forest",
|
||||
"when": {
|
||||
"temperature": {
|
||||
"min_exclusive": 0.2
|
||||
}
|
||||
},
|
||||
"biome": "bworld:forest"
|
||||
},
|
||||
{
|
||||
"id": "bworld:swamp",
|
||||
"when": {
|
||||
"humidity": {
|
||||
"min_exclusive": 0.5
|
||||
},
|
||||
"flatness": {
|
||||
"min_exclusive": 0.6
|
||||
}
|
||||
},
|
||||
"biome": "bworld:swamp"
|
||||
},
|
||||
{
|
||||
"id": "bworld:dry_plains",
|
||||
"when": {
|
||||
"humidity": {
|
||||
"max_exclusive": -0.35
|
||||
}
|
||||
},
|
||||
"biome": "bworld:plains"
|
||||
},
|
||||
{
|
||||
"id": "bworld:forest",
|
||||
"when": {
|
||||
"humidity": {
|
||||
"max_exclusive": 0.45
|
||||
}
|
||||
},
|
||||
"biome": "bworld:forest"
|
||||
},
|
||||
{
|
||||
"id": "bworld:dark_forest",
|
||||
"biome": "bworld:dark_forest"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/badlands",
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:badlands",
|
||||
"even": true
|
||||
}
|
||||
},
|
||||
"argument2": 0.7
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/cave_entrances",
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/depth",
|
||||
"max_exclusive": 7,
|
||||
"when_in_range": {
|
||||
"type": "range_choice",
|
||||
"input": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:entrances"
|
||||
},
|
||||
"max_exclusive": 0.5,
|
||||
"when_in_range": "bworld:overworld/river_tunnel",
|
||||
"when_out_of_range": "bworld:overworld/open_caves"
|
||||
},
|
||||
"when_out_of_range": "bworld:overworld/open_caves"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/caves",
|
||||
"type": "range_choice",
|
||||
"input": {
|
||||
"type": "y"
|
||||
},
|
||||
"min_exclusive": {
|
||||
"type": "add",
|
||||
"argument1": "bworld:overworld/height",
|
||||
"argument2": 4
|
||||
},
|
||||
"when_in_range": 1,
|
||||
"when_out_of_range": {
|
||||
"type": "range_choice",
|
||||
"input": {
|
||||
"type": "y"
|
||||
},
|
||||
"max_exclusive": 5,
|
||||
"when_in_range": 1,
|
||||
"when_out_of_range": {
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/height",
|
||||
"max_exclusive": 67,
|
||||
"when_in_range": {
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/depth",
|
||||
"max_exclusive": 14,
|
||||
"when_in_range": "bworld:overworld/river_tunnel",
|
||||
"when_out_of_range": "bworld:overworld/cave_entrances"
|
||||
},
|
||||
"when_out_of_range": "bworld:overworld/cave_entrances"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/continents",
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/continents_base",
|
||||
"min_inclusive": -0.5,
|
||||
"when_in_range": "bworld:overworld/continents_base",
|
||||
"when_out_of_range": {
|
||||
"type": "max",
|
||||
"argument1": "bworld:overworld/continents_base",
|
||||
"argument2": {
|
||||
"type": "sub",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "add",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "max",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:island_a",
|
||||
"even": true,
|
||||
"x": "bworld:overworld/warp_x",
|
||||
"z": "bworld:overworld/warp_z"
|
||||
},
|
||||
"argument2": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:island_b",
|
||||
"even": true,
|
||||
"x": "bworld:overworld/warp_x",
|
||||
"z": "bworld:overworld/warp_z"
|
||||
}
|
||||
},
|
||||
"argument2": 0.76
|
||||
},
|
||||
"argument2": 0.05
|
||||
},
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "smoothstep",
|
||||
"input": "bworld:overworld/continents_base",
|
||||
"from": -0.5,
|
||||
"to": -0.8
|
||||
},
|
||||
"argument2": 0.7
|
||||
}
|
||||
},
|
||||
"argument2": 0.7
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/continents_base",
|
||||
"type": "add",
|
||||
"argument1": -0.8,
|
||||
"argument2": {
|
||||
"type": "spline",
|
||||
"spline": {
|
||||
"coordinate": "bworld:overworld/continents_far",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.4,
|
||||
"value": 0.575,
|
||||
"derivative": 1
|
||||
},
|
||||
{
|
||||
"location": 0.48,
|
||||
"value": 0.68,
|
||||
"derivative": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/continents_far",
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:continents",
|
||||
"even": true,
|
||||
"x": "bworld:overworld/warp_x",
|
||||
"z": "bworld:overworld/warp_z"
|
||||
}
|
||||
},
|
||||
"argument2": 0.85
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/depth",
|
||||
"type": "sub",
|
||||
"argument1": "bworld:overworld/height",
|
||||
"argument2": {
|
||||
"type": "y"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/dune_crest",
|
||||
"type": "sub",
|
||||
"argument1": 1,
|
||||
"argument2": {
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:dune",
|
||||
"x": {
|
||||
"type": "add",
|
||||
"argument1": {
|
||||
"type": "x"
|
||||
},
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:dune_warp"
|
||||
},
|
||||
"argument2": 40
|
||||
}
|
||||
},
|
||||
"z": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "z"
|
||||
},
|
||||
"argument2": 0.35
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/dunes",
|
||||
"type": "div",
|
||||
"argument1": {
|
||||
"type": "spline",
|
||||
"spline": {
|
||||
"coordinate": "bworld:overworld/continents",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.05,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.4,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.45,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/temperature_index",
|
||||
"points": [
|
||||
{
|
||||
"location": 4,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 5,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/region",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.25,
|
||||
"value": 6
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.8,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/temperature_index",
|
||||
"points": [
|
||||
{
|
||||
"location": 4,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 5,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/region",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.25,
|
||||
"value": 6
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.85,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"argument2": 6
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/erosion",
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:erosion",
|
||||
"even": true,
|
||||
"x": "bworld:overworld/warp_x",
|
||||
"z": "bworld:overworld/warp_z"
|
||||
},
|
||||
"argument2": 1.05
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/erosion_folded",
|
||||
"type": "abs",
|
||||
"argument": "bworld:overworld/erosion"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/ground_density",
|
||||
"type": "add",
|
||||
"argument1": {
|
||||
"type": "div",
|
||||
"argument1": {
|
||||
"type": "sub",
|
||||
"argument1": "bworld:overworld/height",
|
||||
"argument2": {
|
||||
"type": "y"
|
||||
}
|
||||
},
|
||||
"argument2": 20
|
||||
},
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": "bworld:overworld/roughness",
|
||||
"argument2": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:ground"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/height",
|
||||
"type": "add",
|
||||
"argument1": 64,
|
||||
"argument2": "bworld:overworld/height_above_sea"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/height_above_sea",
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/dunes",
|
||||
"min_exclusive": 0,
|
||||
"when_in_range": {
|
||||
"type": "add",
|
||||
"argument1": "bworld:overworld/height_jagged",
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": "bworld:overworld/dunes",
|
||||
"argument2": 7
|
||||
},
|
||||
"argument2": "bworld:overworld/dune_crest"
|
||||
},
|
||||
"argument2": "bworld:overworld/dune_crest"
|
||||
}
|
||||
},
|
||||
"when_out_of_range": "bworld:overworld/height_jagged"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/height_base",
|
||||
"type": "mul",
|
||||
"argument1": "bworld:overworld/offset",
|
||||
"argument2": 128
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/height_jagged",
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/jaggedness",
|
||||
"min_exclusive": 0,
|
||||
"when_in_range": {
|
||||
"type": "add",
|
||||
"argument1": "bworld:overworld/height_base",
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": "bworld:overworld/jaggedness",
|
||||
"argument2": 36
|
||||
},
|
||||
"argument2": "bworld:overworld/mountain_ridge"
|
||||
},
|
||||
"argument2": "bworld:overworld/mountain_ridge"
|
||||
}
|
||||
},
|
||||
"when_out_of_range": "bworld:overworld/height_base"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/height_multiplier",
|
||||
"type": "clamp",
|
||||
"input": {
|
||||
"type": "add",
|
||||
"argument1": 1.2,
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": 0.4,
|
||||
"argument2": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:height_multiplier",
|
||||
"even": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"min": 0.8,
|
||||
"max": 1.6
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/hills",
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:hills",
|
||||
"even": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/humidity",
|
||||
"type": "noise",
|
||||
"noise": "bworld:humidity",
|
||||
"even": true,
|
||||
"x": "bworld:overworld/warp_x",
|
||||
"z": "bworld:overworld/warp_z"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/jaggedness",
|
||||
"type": "clamp",
|
||||
"input": {
|
||||
"type": "div",
|
||||
"argument1": {
|
||||
"type": "spline",
|
||||
"spline": {
|
||||
"coordinate": "bworld:overworld/continents",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.175,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0.2
|
||||
},
|
||||
{
|
||||
"location": 0.125,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"argument2": 0.2
|
||||
},
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/lower_tier",
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:lower_tier",
|
||||
"even": true
|
||||
}
|
||||
},
|
||||
"argument2": 0.3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/mountain_ridge",
|
||||
"type": "sub",
|
||||
"argument1": 1,
|
||||
"argument2": {
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:mountain_ridges"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,793 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/offset",
|
||||
"type": "add",
|
||||
"argument1": {
|
||||
"type": "spline",
|
||||
"spline": {
|
||||
"coordinate": "bworld:overworld/continents",
|
||||
"points": [
|
||||
{
|
||||
"location": -0.45,
|
||||
"value": -0.33
|
||||
},
|
||||
{
|
||||
"location": -0.35,
|
||||
"value": -0.17
|
||||
},
|
||||
{
|
||||
"location": -0.195,
|
||||
"value": -0.14
|
||||
},
|
||||
{
|
||||
"location": -0.155,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.2,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": -0.1
|
||||
},
|
||||
{
|
||||
"location": 0.15,
|
||||
"value": 0.15,
|
||||
"derivative": 3
|
||||
},
|
||||
{
|
||||
"location": 0.25,
|
||||
"value": 0.22
|
||||
}
|
||||
]
|
||||
},
|
||||
"derivative": -0.17
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.03,
|
||||
"value": -0.06,
|
||||
"derivative": 0.5
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0.65
|
||||
},
|
||||
{
|
||||
"location": 0.15,
|
||||
"value": 0.425,
|
||||
"derivative": -1.5
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.33
|
||||
},
|
||||
{
|
||||
"location": 0.375,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": -0.1
|
||||
},
|
||||
{
|
||||
"location": 0.15,
|
||||
"value": 0.15
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.25
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.4,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.03,
|
||||
"value": -0.06,
|
||||
"derivative": 0.5
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": 0.01
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.95,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.03,
|
||||
"value": -0.06,
|
||||
"derivative": 0.5
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": 0.01
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 1.075,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.38,
|
||||
"value": -0.03
|
||||
},
|
||||
{
|
||||
"location": 0.45,
|
||||
"value": 0.03
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0.95
|
||||
},
|
||||
{
|
||||
"location": 0.175,
|
||||
"value": 0.55
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.36
|
||||
},
|
||||
{
|
||||
"location": 0.375,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": -0.1
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": 0.125,
|
||||
"derivative": 5
|
||||
},
|
||||
{
|
||||
"location": 0.1667,
|
||||
"value": 0.225
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.3
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.425,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/regions",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0,
|
||||
"derivative": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/regions",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0,
|
||||
"derivative": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.825,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/regions",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0,
|
||||
"derivative": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.875,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": -0.1,
|
||||
"derivative": 1
|
||||
},
|
||||
{
|
||||
"location": 0.175,
|
||||
"value": 0.075,
|
||||
"derivative": 0.3
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.25
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.95,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": -0.1,
|
||||
"derivative": 1
|
||||
},
|
||||
{
|
||||
"location": 0.175,
|
||||
"value": 0.075,
|
||||
"derivative": 0.3
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.25
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 1.075,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.38,
|
||||
"value": -0.03
|
||||
},
|
||||
{
|
||||
"location": 0.45,
|
||||
"value": 0.03
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.8,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 1.1
|
||||
},
|
||||
{
|
||||
"location": 0.175,
|
||||
"value": 0.65
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.38
|
||||
},
|
||||
{
|
||||
"location": 0.375,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": -0.1
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": 0.125,
|
||||
"derivative": 5
|
||||
},
|
||||
{
|
||||
"location": 0.1667,
|
||||
"value": 0.225
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.33
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.425,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/regions",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0,
|
||||
"derivative": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/regions",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0,
|
||||
"derivative": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.8,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/regions",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0,
|
||||
"derivative": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.9,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": -0.1,
|
||||
"derivative": 1
|
||||
},
|
||||
{
|
||||
"location": 0.175,
|
||||
"value": 0.075,
|
||||
"derivative": 0.3
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.25
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.95,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": -0.1,
|
||||
"derivative": 1
|
||||
},
|
||||
{
|
||||
"location": 0.175,
|
||||
"value": 0.075,
|
||||
"derivative": 0.3
|
||||
},
|
||||
{
|
||||
"location": 0.3,
|
||||
"value": 0.25
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 1.075,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.38,
|
||||
"value": -0.03
|
||||
},
|
||||
{
|
||||
"location": 0.45,
|
||||
"value": 0.03
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"argument2": {
|
||||
"type": "spline",
|
||||
"spline": {
|
||||
"coordinate": "bworld:overworld/continents",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion",
|
||||
"points": [
|
||||
{
|
||||
"location": -0.875,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": -0.825,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/region",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/temperature_index",
|
||||
"points": [
|
||||
{
|
||||
"location": 3,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 4,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/vegetation_index",
|
||||
"points": [
|
||||
{
|
||||
"location": 3,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 4,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges",
|
||||
"points": [
|
||||
{
|
||||
"location": -0.75,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/pillar",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.05,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.2,
|
||||
"value": 0.4,
|
||||
"derivative": -0.2
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": 0.7,
|
||||
"derivative": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": -0.175,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/pillar",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.05,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.2,
|
||||
"value": 0.25,
|
||||
"derivative": -0.2
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": 0.5,
|
||||
"derivative": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": -0.125,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 5,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.125,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.175,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/pillar",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.05,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.2,
|
||||
"value": 0.25,
|
||||
"derivative": -0.2
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": 0.5,
|
||||
"derivative": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.75,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/pillar",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.05,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.2,
|
||||
"value": 0.45,
|
||||
"derivative": -0.2
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": 0.75,
|
||||
"derivative": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.8,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 5,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": -0.425,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/region",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/temperature_index",
|
||||
"points": [
|
||||
{
|
||||
"location": 3,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 4,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/vegetation_index",
|
||||
"points": [
|
||||
{
|
||||
"location": 3,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 4,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges",
|
||||
"points": [
|
||||
{
|
||||
"location": -0.75,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/pillar",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.05,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.2,
|
||||
"value": 0.4,
|
||||
"derivative": -0.2
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": 0.7,
|
||||
"derivative": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": -0.175,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/pillar",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.05,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.2,
|
||||
"value": 0.25,
|
||||
"derivative": -0.2
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": 0.5,
|
||||
"derivative": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": -0.125,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 5,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.125,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.175,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/pillar",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.05,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.2,
|
||||
"value": 0.25,
|
||||
"derivative": -0.2
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": 0.5,
|
||||
"derivative": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.75,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/pillar",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.05,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 0.2,
|
||||
"value": 0.45,
|
||||
"derivative": -0.2
|
||||
},
|
||||
{
|
||||
"location": 0.5,
|
||||
"value": 0.75,
|
||||
"derivative": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.8,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 5,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": -0.375,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/open_caves",
|
||||
"type": "min",
|
||||
"argument1": {
|
||||
"type": "min",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "sub",
|
||||
"argument1": 0.52,
|
||||
"argument2": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:cheese"
|
||||
}
|
||||
},
|
||||
"argument2": 4
|
||||
},
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "sub",
|
||||
"argument1": {
|
||||
"type": "max",
|
||||
"argument1": {
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:spaghetti_a"
|
||||
}
|
||||
},
|
||||
"argument2": {
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:spaghetti_b"
|
||||
}
|
||||
}
|
||||
},
|
||||
"argument2": 0.07
|
||||
},
|
||||
"argument2": 8
|
||||
}
|
||||
},
|
||||
"argument2": "bworld:overworld/river_tunnel"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/pillar",
|
||||
"type": "mul",
|
||||
"argument1": 1.7,
|
||||
"argument2": {
|
||||
"type": "sub",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:pillar",
|
||||
"even": true
|
||||
},
|
||||
"argument2": 0.7
|
||||
},
|
||||
"argument2": 0.35
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/region",
|
||||
"type": "add",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:region",
|
||||
"even": true
|
||||
},
|
||||
"argument2": 0.5
|
||||
},
|
||||
"argument2": 0.1
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/ridges",
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:ridges",
|
||||
"even": true,
|
||||
"x": "bworld:overworld/warp_x",
|
||||
"z": "bworld:overworld/warp_z"
|
||||
},
|
||||
"argument2": 0.7
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/ridges_folded",
|
||||
"type": "abs",
|
||||
"argument": "bworld:overworld/ridges"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/river_tunnel",
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/underground_river",
|
||||
"min_exclusive": 0,
|
||||
"when_in_range": {
|
||||
"type": "range_choice",
|
||||
"input": {
|
||||
"type": "y"
|
||||
},
|
||||
"min_inclusive": 57,
|
||||
"max_inclusive": 70,
|
||||
"when_in_range": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "sub",
|
||||
"argument1": {
|
||||
"type": "max",
|
||||
"argument1": {
|
||||
"type": "sub",
|
||||
"argument1": 1,
|
||||
"argument2": "bworld:overworld/underground_river"
|
||||
},
|
||||
"argument2": {
|
||||
"type": "div",
|
||||
"argument1": {
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "sub",
|
||||
"argument1": {
|
||||
"type": "y"
|
||||
},
|
||||
"argument2": 63.5
|
||||
}
|
||||
},
|
||||
"argument2": 4.5
|
||||
}
|
||||
},
|
||||
"argument2": 1
|
||||
},
|
||||
"argument2": 4
|
||||
},
|
||||
"when_out_of_range": 1
|
||||
},
|
||||
"when_out_of_range": 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/river_valley",
|
||||
"type": "sub",
|
||||
"argument1": 1,
|
||||
"argument2": {
|
||||
"type": "div",
|
||||
"argument1": "bworld:overworld/ridges_folded",
|
||||
"argument2": 0.035
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,168 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/roughness",
|
||||
"type": "div",
|
||||
"argument1": {
|
||||
"type": "mul",
|
||||
"argument1": 0.12,
|
||||
"argument2": 5.6
|
||||
},
|
||||
"argument2": {
|
||||
"type": "spline",
|
||||
"spline": {
|
||||
"coordinate": "bworld:overworld/continents",
|
||||
"points": [
|
||||
{
|
||||
"location": -0.19,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": -0.15,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.825,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": 0.875,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": 0.6
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.975,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": 0.6
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 1.025,
|
||||
"value": 5.6
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.03,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.825,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": 0.875,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": 0.6
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.975,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges",
|
||||
"points": [
|
||||
{
|
||||
"location": 0,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": 0.1,
|
||||
"value": 0.6
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 1.025,
|
||||
"value": 5.6
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.06,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/erosion_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.825,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": 0.875,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.25,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": 0.4,
|
||||
"value": 1.3
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 0.975,
|
||||
"value": {
|
||||
"coordinate": "bworld:overworld/ridges_folded",
|
||||
"points": [
|
||||
{
|
||||
"location": 0.25,
|
||||
"value": 5.6
|
||||
},
|
||||
{
|
||||
"location": 0.4,
|
||||
"value": 1.3
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": 1.025,
|
||||
"value": 5.6
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/snow_line",
|
||||
"type": "add",
|
||||
"argument1": 176,
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:snow_line"
|
||||
},
|
||||
"argument2": 10
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/temperature",
|
||||
"type": "noise",
|
||||
"noise": "bworld:temperature",
|
||||
"even": true,
|
||||
"x": "bworld:overworld/warp_x",
|
||||
"z": "bworld:overworld/warp_z"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/temperature_index",
|
||||
"type": "spline",
|
||||
"spline": {
|
||||
"coordinate": "bworld:overworld/temperature",
|
||||
"points": [
|
||||
{
|
||||
"location": -0.48,
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"location": -0.42,
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"location": -0.18,
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"location": -0.12,
|
||||
"value": 3
|
||||
},
|
||||
{
|
||||
"location": 0.17,
|
||||
"value": 3
|
||||
},
|
||||
{
|
||||
"location": 0.23,
|
||||
"value": 4
|
||||
},
|
||||
{
|
||||
"location": 0.52,
|
||||
"value": 4
|
||||
},
|
||||
{
|
||||
"location": 0.58,
|
||||
"value": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/terrain",
|
||||
"type": "range_choice",
|
||||
"input": {
|
||||
"type": "y"
|
||||
},
|
||||
"max_exclusive": 1,
|
||||
"when_in_range": {
|
||||
"type": "max",
|
||||
"argument1": "bworld:overworld/top_slide",
|
||||
"argument2": 1
|
||||
},
|
||||
"when_out_of_range": "bworld:overworld/top_slide"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/top_slide",
|
||||
"type": "range_choice",
|
||||
"input": {
|
||||
"type": "y"
|
||||
},
|
||||
"min_exclusive": 232,
|
||||
"when_in_range": {
|
||||
"type": "sub",
|
||||
"argument1": "bworld:overworld/ground_density",
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "smoothstep",
|
||||
"input": {
|
||||
"type": "y"
|
||||
},
|
||||
"from": 232,
|
||||
"to": 252
|
||||
},
|
||||
"argument2": 4
|
||||
}
|
||||
},
|
||||
"when_out_of_range": "bworld:overworld/ground_density"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/underground_river",
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/river_valley",
|
||||
"min_exclusive": 0,
|
||||
"when_in_range": {
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/height_above_sea",
|
||||
"min_exclusive": 16,
|
||||
"when_in_range": {
|
||||
"type": "range_choice",
|
||||
"input": "bworld:overworld/continents",
|
||||
"min_exclusive": -0.17,
|
||||
"when_in_range": "bworld:overworld/river_valley",
|
||||
"when_out_of_range": 0
|
||||
},
|
||||
"when_out_of_range": 0
|
||||
},
|
||||
"when_out_of_range": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/upper_tier",
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "abs",
|
||||
"argument": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:upper_tier",
|
||||
"even": true
|
||||
}
|
||||
},
|
||||
"argument2": 0.3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/vegetation_index",
|
||||
"type": "spline",
|
||||
"spline": {
|
||||
"coordinate": "bworld:overworld/humidity",
|
||||
"points": [
|
||||
{
|
||||
"location": -0.38,
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"location": -0.32,
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"location": -0.13,
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"location": -0.07,
|
||||
"value": 3
|
||||
},
|
||||
{
|
||||
"location": 0.07,
|
||||
"value": 3
|
||||
},
|
||||
{
|
||||
"location": 0.13,
|
||||
"value": 4
|
||||
},
|
||||
{
|
||||
"location": 0.27,
|
||||
"value": 4
|
||||
},
|
||||
{
|
||||
"location": 0.33,
|
||||
"value": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/warp_x",
|
||||
"type": "add",
|
||||
"argument1": {
|
||||
"type": "x"
|
||||
},
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:warp_x"
|
||||
},
|
||||
"argument2": 24
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/warp_z",
|
||||
"type": "add",
|
||||
"argument1": {
|
||||
"type": "z"
|
||||
},
|
||||
"argument2": {
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:warp_z"
|
||||
},
|
||||
"argument2": 24
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/wetland",
|
||||
"type": "mul",
|
||||
"argument1": {
|
||||
"type": "noise",
|
||||
"noise": "bworld:wetland",
|
||||
"even": true
|
||||
},
|
||||
"argument2": 0.6
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:badlands",
|
||||
"wavelength": 512,
|
||||
"amplitudes": [
|
||||
1,
|
||||
2,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:ridges"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:cheese",
|
||||
"wavelength": 80,
|
||||
"amplitudes": [
|
||||
1,
|
||||
0.5
|
||||
],
|
||||
"dimensions": 3,
|
||||
"vertical_stretch": 0.6
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:continents",
|
||||
"wavelength": 2560,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": [
|
||||
-0.833,
|
||||
-0.386,
|
||||
-0.311,
|
||||
-0.256,
|
||||
-0.21,
|
||||
-0.17,
|
||||
-0.133,
|
||||
-0.098,
|
||||
-0.065,
|
||||
-0.032,
|
||||
0,
|
||||
0.032,
|
||||
0.065,
|
||||
0.098,
|
||||
0.133,
|
||||
0.17,
|
||||
0.21,
|
||||
0.256,
|
||||
0.311,
|
||||
0.386,
|
||||
0.833
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:dune",
|
||||
"wavelength": 96,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:dune_warp",
|
||||
"wavelength": 400,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:entrances",
|
||||
"wavelength": 90,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:erosion",
|
||||
"wavelength": 1280,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": [
|
||||
-0.917,
|
||||
-0.48,
|
||||
-0.393,
|
||||
-0.328,
|
||||
-0.273,
|
||||
-0.222,
|
||||
-0.174,
|
||||
-0.13,
|
||||
-0.086,
|
||||
-0.042,
|
||||
0,
|
||||
0.042,
|
||||
0.086,
|
||||
0.13,
|
||||
0.174,
|
||||
0.222,
|
||||
0.273,
|
||||
0.328,
|
||||
0.393,
|
||||
0.48,
|
||||
0.917
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:ground",
|
||||
"wavelength": 64,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1,
|
||||
0.5
|
||||
],
|
||||
"dimensions": 3,
|
||||
"vertical_stretch": 1.2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:height_multiplier",
|
||||
"wavelength": 1024,
|
||||
"amplitudes": [
|
||||
1,
|
||||
2,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:ridges"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:hills",
|
||||
"wavelength": 320,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:humidity"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:humidity",
|
||||
"wavelength": 1536,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": [
|
||||
-0.962,
|
||||
-0.536,
|
||||
-0.439,
|
||||
-0.368,
|
||||
-0.306,
|
||||
-0.248,
|
||||
-0.195,
|
||||
-0.146,
|
||||
-0.096,
|
||||
-0.046,
|
||||
0,
|
||||
0.046,
|
||||
0.096,
|
||||
0.146,
|
||||
0.195,
|
||||
0.248,
|
||||
0.306,
|
||||
0.368,
|
||||
0.439,
|
||||
0.536,
|
||||
0.962
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:island_a",
|
||||
"wavelength": 320,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:humidity"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:island_b",
|
||||
"wavelength": 320,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:humidity"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:lower_tier",
|
||||
"wavelength": 512,
|
||||
"amplitudes": [
|
||||
1,
|
||||
2,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:ridges"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:mountain_ridges",
|
||||
"wavelength": 256,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:pillar",
|
||||
"wavelength": 32,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:humidity"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:region",
|
||||
"wavelength": 2048,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:continents"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:ridges",
|
||||
"wavelength": 640,
|
||||
"amplitudes": [
|
||||
1,
|
||||
2,
|
||||
1
|
||||
],
|
||||
"quantiles": [
|
||||
-0.91,
|
||||
-0.468,
|
||||
-0.377,
|
||||
-0.308,
|
||||
-0.249,
|
||||
-0.199,
|
||||
-0.154,
|
||||
-0.113,
|
||||
-0.073,
|
||||
-0.036,
|
||||
0,
|
||||
0.036,
|
||||
0.073,
|
||||
0.113,
|
||||
0.154,
|
||||
0.199,
|
||||
0.249,
|
||||
0.308,
|
||||
0.377,
|
||||
0.468,
|
||||
0.91
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:snow_line",
|
||||
"wavelength": 96,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:spaghetti_a",
|
||||
"wavelength": 64,
|
||||
"amplitudes": [
|
||||
1
|
||||
],
|
||||
"dimensions": 3,
|
||||
"vertical_stretch": 0.8
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:spaghetti_b",
|
||||
"wavelength": 64,
|
||||
"amplitudes": [
|
||||
1
|
||||
],
|
||||
"dimensions": 3,
|
||||
"vertical_stretch": 0.8
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:temperature",
|
||||
"wavelength": 3072,
|
||||
"amplitudes": [
|
||||
1.5,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"quantiles": [
|
||||
-0.973,
|
||||
-0.6,
|
||||
-0.509,
|
||||
-0.44,
|
||||
-0.379,
|
||||
-0.319,
|
||||
-0.254,
|
||||
-0.19,
|
||||
-0.127,
|
||||
-0.063,
|
||||
0,
|
||||
0.063,
|
||||
0.127,
|
||||
0.19,
|
||||
0.254,
|
||||
0.319,
|
||||
0.379,
|
||||
0.44,
|
||||
0.509,
|
||||
0.6,
|
||||
0.973
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:upper_tier",
|
||||
"wavelength": 512,
|
||||
"amplitudes": [
|
||||
1,
|
||||
2,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:ridges"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:warp_x",
|
||||
"wavelength": 200,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:warp_z",
|
||||
"wavelength": 200,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:wetland",
|
||||
"wavelength": 96,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:humidity"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise_settings": {
|
||||
"id": "bworld:overworld",
|
||||
"sea_level": 64,
|
||||
"default_block": "bworld:stone",
|
||||
"cell_width": 4,
|
||||
"terrain": {
|
||||
"density": "bworld:overworld/terrain",
|
||||
"cell_height": 8
|
||||
},
|
||||
"caves": {
|
||||
"density": "bworld:overworld/caves",
|
||||
"cell_height": 4
|
||||
},
|
||||
"preliminary_surface": "bworld:overworld/height",
|
||||
"climate": {
|
||||
"continentalness": "bworld:overworld/continents",
|
||||
"temperature": "bworld:overworld/temperature",
|
||||
"humidity": "bworld:overworld/humidity",
|
||||
"valley": "bworld:overworld/ridges_folded",
|
||||
"flatness": "bworld:overworld/erosion_folded",
|
||||
"jaggedness": "bworld:overworld/jaggedness"
|
||||
},
|
||||
"steep": 3.5,
|
||||
"biome_source": "bworld:overworld",
|
||||
"fluids": [
|
||||
{
|
||||
"block": "bworld:water",
|
||||
"below": 64,
|
||||
"where": "open_sky"
|
||||
},
|
||||
{
|
||||
"block": "bworld:water",
|
||||
"below": 64,
|
||||
"where": {
|
||||
"function": "bworld:overworld/underground_river",
|
||||
"min_exclusive": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"surface_rule": {
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "above_preliminary_surface",
|
||||
"offset": -20
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "stone_depth",
|
||||
"offset": 0
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "surface_underwater"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "biome_surface",
|
||||
"part": "underwater_top"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "y_at_least",
|
||||
"function": "bworld:overworld/snow_line"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "steep"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:stone"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:snow_block"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "steep"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "bare_cliffs"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:stone"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "biome_surface",
|
||||
"part": "top"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "filler_depth"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "surface_underwater"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "biome_surface",
|
||||
"part": "underwater_filler"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "biome_surface",
|
||||
"part": "filler"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"ores": [
|
||||
{
|
||||
"id": "bworld:coal_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"min_y": 5,
|
||||
"max_y": 200,
|
||||
"scale": 0.05,
|
||||
"threshold": 0.55
|
||||
},
|
||||
{
|
||||
"id": "bworld:copper_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"min_y": 5,
|
||||
"max_y": 110,
|
||||
"scale": 0.06,
|
||||
"threshold": 0.6
|
||||
},
|
||||
{
|
||||
"id": "bworld:tin_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"min_y": 5,
|
||||
"max_y": 70,
|
||||
"scale": 0.06,
|
||||
"threshold": 0.62
|
||||
},
|
||||
{
|
||||
"id": "bworld:iron_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"min_y": 5,
|
||||
"max_y": 80,
|
||||
"scale": 0.05,
|
||||
"threshold": 0.65
|
||||
},
|
||||
{
|
||||
"id": "bworld:gold_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"min_y": 5,
|
||||
"max_y": 36,
|
||||
"scale": 0.04,
|
||||
"threshold": 0.7
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user