Wiki 9Minecraft Wiki 9Minecraft
Minecraft Legends › VillageGeneration › Path (Building and District)

Path (Building and District)

Minecraft Legends

VillageGeneration
Official docs

These components contain all the village path settings.

Component Name(s)

badger:village_building_path and badger:village_district_path

Settings

path_blocks

A list of block names and their relative weights to be placed for the central portion of the path. Changing the weight influences which block is randomly selected.

edge_block

A list of block names and their relative weights to be placed along the outer edges of the path.

edge_decoration_blocks

A list of block names and their relative weights to be placed on top of the path edge blocks.

inner_blocks

path_blocks, edge_blocks, and edge_decoration_blocks can all be divided into inner and outer sections, as shown in the example for edge_decoration_blocks. This allows the inner and outer portions of the path and path edge to have different blocks with different weights. inner_blocks is a list of block names and their relative weights for the inner portion of the path or path edge.

outer_blocks

A list of block names and their relative weights for the outer portion of the path or path edge

path_width

The number of meters across the main portion of the path should be.

edge_width

The number of meters across the edge on either side of the main path should be.

path_noise_scale_factor

A small scale factor will produce more gradual changes in a building path's weathering.

path_deco_noise_scale_factor

A smaller scale factor will cause path edge decorations to alternate less frequently.

path_block_noise_scale_factor

A smaller scale factor will cause path blocks to alternate less frequently.

path_edge_block_noise_scale_factor

A smaller scale factor will cause path edge blocks to alternate less frequently.

path_noise_amplitude

The noise amplitude affects the severity of a building path’s weathering. This affects both the edge and main path, but is capped by the path width + edge width + edge noise amplitude.

edge_noise_amplitude

How far noise can extend past the building path’s edge in meters.

diagonal_path_degree_tolerance

The number of degrees a building path can deviate from right angles before being considered diagonal.

prevent_buildable_placement

Setting this to false will allow buildables to place so that they overlap paths.

can_place_under_buildables

Setting this to false will force paths to generate around buildables instead of underneath them.

can_resuse_existing_paths

Setting this to true will encourage paths to reuse existing paths and bridges. If a path step is reused, it won’t add any additional cost to the path being planned. If this is false, it’s possible for a path to overlap another, but the cost of the path will still be added to the path being planned as normal. If this is false, paths won’t be able to reuse existing bridges.

height_change_needs_bridge

If the height change between zones is equal to or larger than this value, a bridge must be placed to connect the two zones.

outer_edge_threshold

Sets the proportion of the inner and outer path. A lower setting means a larger outer edge and a higher setting means a larger inner edge.

Example

!