-
Notifications
You must be signed in to change notification settings - Fork 9
Palette Configuration
This page discusses the configuration of Block Palettes. For information on Block Palettes, see the About Block Palettes page.
Palette configurations are in the palettes/
directory within a config pack.
Palettes support all Terra Object Options.
A list of palette layers. Each layer has a block layout, and can be configured to repeat for a number of blocks.
-
materials
- A weighted pool of materials and their weights. -
layers
The number of blocks to repeat this layer for. (The "depth" of this layer). The actual depth of this layer is equal to the sum of the depths of all previous layers.
The last layer of a palette will be repeated infinitely, regardless of its layers
option.
A Noise Configuration that defines placement of blocks in this palette. Defaults to 3D white noise.
Example Palette
An example palette that generates 1 layer of Grass Blocks, 2 layers of Dirt underneath, then Stone for all
remaining blocks. Its ID is GRASSY
.
layers:
- materials:
- "minecraft:grass_block": 1
layers: 1
- materials:
- "minecraft:dirt": 1
layers: 2
- materials:
- "minecraft:stone": 1
layers: 1
id: GRASSY
Example Simplex Palette
An example palette that generates 2 layers of simplex-distributed Gravel, Dirt, and Sand. Dirt is more common,
weighted at 4/7, followed by sand at 2/7, then gravel at 1/7. The seed of the Simplex generator is 3, and
its frequency has been set to 0.05.
Subsequent layers are Stone.
layers:
- materials:
- "minecraft:gravel": 1
- "minecraft:dirt": 4
- "minecraft:sand": 2
layers: 2
- materials:
- "minecraft:stone": 1
layers: 1
id: RIVER_BOTTOM
simplex: true
frequency: 0.05
seed: 3
Can't find what you're looking for? Join our Discord server and we'll be happy to help you!
Need to report a bug? Create an issue on the repository!
Want to contribute to the wiki? Submit a PR to the Wiki Repository!
Home
Community Packs
Community Addons
Commands
Quick Start Guide
Creating a Terra World
Config Packs
Config Development Introduction
Config System
Creating a Pack
Modifying an Existing Pack
Configuring Your Pack
Weighted Pools
Block Palettes
Using Custom Blocks on Bukkit
TerraScript
Working with Structures
Noise
Noise Equation
Advanced Noise Equations
List o' Noise Equations
Pack Configuration
Biome Configuration
Palette Configuration
Ore Configuration
Flora Configuration