Wiki 9Minecraft Wiki 9Minecraft
Minecraft Legends › VillageGeneration › Circle Sine Wave

Circle Sine Wave

Minecraft Legends

VillageGeneration
Official docs

This placement preference will use the angle between the zone positions and the district start position to sample from a sine wave. The result from that sine wave is shifted so that the placement preference will by default add a score between 0 and 1 to the zone being scored.

Name

circle_sine_wave

Settings

amplitude

By default, the circle_sine_wave placement preference will add a score between 0 and 1. This score will be multiplied with the amplitude. As a result, the amplitude can be used to increase or decrease the effect that this placement preference has on the final score.

frequency

The frequency determines the number of times the sine wave oscillates between 0 and 1 over the 0 to 360 degree range.

Example

!

!

When combined with a wall request card and a threshold card, circle_sine_wave can be used to create fragmented walls. The yellow lines are how I like to visualize the sine wave as it affects the scores of the zones.