Skip to content

Random Pattern

platz1de edited this page Jan 31, 2022 · 4 revisions

The Random Pattern as it name suggests selects a random Pattern.
The patterns are separated by a comma and can be used in any order

Examples:
dirt,stone,air
red_wool,green_wool,yellow_wool,orange_wool

Weighted Patterns

When one pattern should be more likely than another, the weighted notation can be used:
propability%pattern

Example:
70%dirt,30%grass - 70% chance for dirt, 30% chance for grass

If the sum of given percentages is smaller than 100, there is a chance to not change anything:
10%stone,10%dirt - 80% of the selected area will not be affected

If the sum of given percentages is greater than 100, given probabilities are scaled accordingly:
150%stone,50%dirt - 75% will be set to stone, 25% will be set to dirt