-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add biomes to overworld config for testing
- Loading branch information
Showing
223 changed files
with
6,626 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
id: BASE | ||
type: BIOME | ||
abstract: true | ||
extends: | ||
- DEPOSITS_DEFAULT | ||
- ORES_DEFAULT | ||
|
||
slant-depth: 15 | ||
|
||
ocean: | ||
palette: BLOCK:minecraft:water | ||
level: 62 | ||
|
||
features: | ||
global-preprocessors: | ||
- LAVA_FLOOR | ||
- UNDERGROUND_LAVA_COLUMNS | ||
- CONTAIN_FLOATING_WATER | ||
- CAVE_GLOW_LICHEN | ||
# - GRASS_PLATFORMS | ||
# - TEXTURED_DIORITE_SLANT | ||
# - TEXTURED_GRANITE_SLANT | ||
# - TEXTURED_ANDESITE_SLANT | ||
- TEXTURED_STONE_SLANT | ||
underwater-flora: | ||
- KELP | ||
- SEAGRASS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
id: CARVING_LAND | ||
type: BIOME | ||
abstract: true | ||
|
||
carving: | ||
sampler: | ||
dimensions: 3 | ||
type: EXPRESSION | ||
variables: | ||
|
||
carvingThreshold: 0.55 # Higher = less carving | ||
carvingMinHeight: -63 | ||
carvingMinTaper: 8 | ||
carvingMaxHeight: 140 | ||
carvingMaxTaper: 20 | ||
carvingCap: 1 # Caps the amount of base carving | ||
|
||
cheeseStrength: 0.8 | ||
cheeseHorizontalFrequency: 1.5 | ||
cheeseVerticalFrequency: 3 | ||
cheeseMaxHeight: 90 | ||
cheeseMaxTaper: 40 | ||
|
||
spaghettiStrengthLarge: 0.59 | ||
spaghettiStrengthSmall: 0.57 | ||
|
||
pillarStrength: 0.5 | ||
pillarRadius: 0.02 | ||
|
||
megaCaveStrength: 0.3 | ||
megaCaveSize: 0.3 | ||
|
||
expression: | | ||
-carvingThreshold | ||
+ if(y<carvingMinHeight||y>carvingMaxHeight,0,maskSmooth(maskSmooth( // Skip unnecessary calculations | ||
min(carvingCap, | ||
max( | ||
// Spaghetti Caves | ||
max( | ||
spaghettiStrengthLarge * ((-(|simplex3(x,y+0000,z)|+|simplex3(x,y+1000,z)|)/2)+1), | ||
spaghettiStrengthSmall * ((-(|simplex3(x,y+2000,z)|+|simplex3(x,y+3000,z)|)/2)+1) | ||
), | ||
// Cheese caves | ||
if(y>cheeseMaxHeight,0, | ||
maskSmooth( | ||
cheeseStrength * (simplex3( | ||
x * cheeseHorizontalFrequency, | ||
(y + simplex2(x, z) * 5) * cheeseVerticalFrequency, | ||
z * cheeseHorizontalFrequency | ||
)+1)/2 | ||
// Mega caves | ||
+lerp(megaCaves(x, y, z), 1-megaCaveSize, 0, 1, megaCaveStrength) | ||
// Pillars | ||
-lerp(cavePillars(x, z),-1+pillarRadius,0,-1,1) * pillarStrength, | ||
// Cheese clamp parameters | ||
cheeseMaxHeight, cheeseMaxHeight - cheeseMaxTaper, y | ||
) | ||
) | ||
) | ||
), | ||
// Clamp parameters | ||
carvingMinHeight, carvingMinHeight + carvingMinTaper, y | ||
), | ||
carvingMaxHeight, carvingMaxHeight - carvingMaxTaper, y | ||
)) | ||
samplers: | ||
cavePillars: | ||
dimensions: 2 | ||
type: CELLULAR | ||
frequency: 0.05 | ||
|
||
megaCaves: | ||
dimensions: 3 | ||
type: OPEN_SIMPLEX_2 | ||
salt: 777 | ||
frequency: 0.003 | ||
|
||
# Basic 2D simplex noise | ||
simplex2: | ||
dimensions: 2 | ||
type: LINEAR | ||
min: -0.9 | ||
max: 0.9 | ||
sampler: | ||
type: FBM | ||
octaves: 4 | ||
sampler: | ||
type: OPEN_SIMPLEX_2 | ||
frequency: 0.0075 | ||
|
||
# Basic 3D simplex noise | ||
simplex3: | ||
dimensions: 3 | ||
type: FBM | ||
octaves: 2 | ||
sampler: | ||
type: OPEN_SIMPLEX_2 | ||
frequency: 0.0075 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
id: CARVING_OCEAN | ||
type: BIOME | ||
abstract: true | ||
|
||
carving: | ||
sampler: | ||
dimensions: 3 | ||
type: EXPRESSION | ||
variables: | ||
"<<": | ||
- biomes/abstract/carving/carving_land.yml:carving.sampler.variables | ||
carvingMaxHeight: 40 | ||
|
||
expression: $biomes/abstract/carving/carving_land.yml:carving.sampler.expression | ||
samplers: $biomes/abstract/carving/carving_land.yml:carving.sampler.samplers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
id: CAVE | ||
abstract: true | ||
type: BIOME | ||
extends: [ CARVING_LAND ] | ||
|
||
carving: | ||
update-palette: true | ||
|
||
terrain: | ||
sampler: | ||
type: CONSTANT | ||
dimensions: 3 | ||
value: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id: COLOR_FROZEN | ||
type: BIOME | ||
abstract: true | ||
|
||
colors: | ||
sky: 0xe4f1ff | ||
fog: 0xbacddc | ||
grass: 0xe9f2e2 | ||
foliage: 0x1f4418 | ||
water: 0x3181ff | ||
water-fog: 0x2756ab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
id: COLOR_TUNDRA | ||
type: BIOME | ||
abstract: true | ||
|
||
colors: | ||
sky: 0xe4f1ff | ||
fog: 0xbacddc | ||
grass: 0xda771d | ||
foliage: 0xa75c42 | ||
water: 0x3181ff | ||
water-fog: 0x2756ab | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id: COLOR_XERIC | ||
type: BIOME | ||
abstract: true | ||
|
||
colors: | ||
sky: 0xc5ffff | ||
fog: 0xfffce1 | ||
grass: 0xbdd394 | ||
foliage: 0x8cbb5e | ||
water: 0x3497cb | ||
water-fog: 0x5c83b9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
id: DEPOSITS_DEFAULT | ||
type: BIOME | ||
abstract: true | ||
|
||
features: | ||
deposits: | ||
- ANDESITE_DEPOSITS | ||
- DIORITE_DEPOSITS | ||
- DIRT_DEPOSITS | ||
- GRANITE_DEPOSITS | ||
- GRAVEL_DEPOSITS | ||
- TUFF_DEPOSITS | ||
- UNDERGROUND_MAGMA_BLOCK_DEPOSITS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
id: ORES_DEFAULT | ||
type: BIOME | ||
abstract: true | ||
|
||
features: | ||
ores: | ||
- DIAMOND_ORE | ||
- LAPIS_ORE | ||
- LAPIS_ORE_UNIFORM | ||
- GOLD_ORE | ||
- GOLD_ORE_UNIFORM | ||
- IRON_ORE | ||
- IRON_ORE_HIGH | ||
- IRON_ORE_UNIFORM | ||
- COAL_ORE | ||
- COAL_ORE_UNIFORM | ||
- COPPER_ORE | ||
- REDSTONE_ORE | ||
- REDSTONE_ORE_UNIFORM | ||
- AMETHYST_GEODES | ||
- IRON_ORE_VEINS | ||
- COPPER_ORE_VEINS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
id: RIVER_BASIC | ||
type: BIOME | ||
abstract: true | ||
|
||
features: | ||
river-decoration: | ||
- CLAY_DEPOSITS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id: RIVER_DRIPSTONE | ||
type: BIOME | ||
abstract: true | ||
|
||
features: | ||
river-decoration: | ||
- CLAY_DEPOSITS | ||
- MOUNTAIN_RIVER_DRIPSTONE_DEPOSITS | ||
- MOUNTAIN_RIVER_POINTED_DRIPSTONE | ||
- LARGE_CEILING_VINES | ||
- MOUNTAIN_RIVER_GLOW_LICHEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
id: RIVER_FROZEN | ||
type: BIOME | ||
abstract: true | ||
|
||
features: | ||
river-decoration: | ||
- CEILING_ICICLES | ||
- CLAY_DEPOSITS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
id: PALETTE_OCEAN | ||
type: BIOME | ||
abstract: true | ||
|
||
palette: | ||
- SAND: 319 | ||
- << meta.yml:palette-bottom | ||
|
||
slant-depth: 4 | ||
|
||
slant: | ||
- threshold: 2.5 | ||
palette: | ||
- BLOCK:minecraft:stone: 319 | ||
- GRAVEL: 61 | ||
- << meta.yml:palette-bottom |
17 changes: 17 additions & 0 deletions
17
biomes/abstract/terrain/aquatic/deep-ocean/eq_deep_ocean.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
id: EQ_DEEP_OCEAN | ||
type: BIOME | ||
abstract: true | ||
|
||
# Simple relatively flat terrain under ocean level. | ||
|
||
terrain: | ||
sampler: | ||
dimensions: 3 | ||
type: LINEAR_HEIGHTMAP | ||
base: 20 | ||
sampler-2d: | ||
dimensions: 2 | ||
type: EXPRESSION | ||
variables: | ||
height: 30 | ||
expression: "|simplex(x/2, z/2)| * height" |
17 changes: 17 additions & 0 deletions
17
biomes/abstract/terrain/aquatic/deep-ocean/eq_ocean_trench.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
id: EQ_OCEAN_TRENCH | ||
type: BIOME | ||
abstract: true | ||
|
||
# Rocky terrain far under ocean level. | ||
|
||
terrain: | ||
sampler: | ||
dimensions: 3 | ||
type: LINEAR_HEIGHTMAP | ||
base: 20 | ||
sampler-2d: | ||
dimensions: 2 | ||
type: EXPRESSION | ||
variables: | ||
height: 60 | ||
expression: "|simplex(x/2, z/2)| * height" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
id: EQ_OCEAN | ||
type: BIOME | ||
abstract: true | ||
extends: NO_TERRAIN_2D | ||
|
||
# Simple relatively flat terrain under ocean level. | ||
|
||
terrain: | ||
sampler: | ||
dimensions: 3 | ||
type: LINEAR_HEIGHTMAP | ||
base: 40 | ||
sampler-2d: | ||
dimensions: 2 | ||
type: EXPRESSION | ||
variables: | ||
height: 20 | ||
expression: "|simplex(x/2, z/2)| * height" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
id: EQ_RIVER | ||
type: BIOME | ||
abstract: true | ||
extends: NO_TERRAIN_2D | ||
|
||
# Generic river terrain. | ||
|
||
vars: &variables | ||
base: 50 | ||
height: 4 | ||
density: 2 | ||
|
||
# Erosion - subtracts from surrounding terrain to make the rivers look eroded | ||
erosion: 300 # Strength of erosion | ||
erosionYMax: 90 # The height that erosion is capped by | ||
erosionYMid: 75 # The height that erosion is strongest | ||
erosionYMin: 66 # The height that erosion starts | ||
|
||
terrain: | ||
sampler: | ||
dimensions: 3 | ||
type: EXPRESSION | ||
expression: | | ||
( | ||
-y + base + (simplex(x, z)+1)/2 * height | ||
// Erode | ||
-|erosion(x,y/3,z)| | ||
* erosion | ||
* max(0, min((y-erosionYMin)/(erosionYMid-erosionYMin),(y-erosionYMax)/(erosionYMid-erosionYMax))) | ||
) * density | ||
variables: *variables | ||
samplers: | ||
erosion: | ||
dimensions: 3 | ||
type: OPEN_SIMPLEX_2 | ||
frequency: 0.03 |
Oops, something went wrong.