Wiki 9Minecraft Wiki 9Minecraft
Minecraft Legends › VillageGeneration › In Direction Of Influence

In Direction Of Influence

Minecraft Legends

VillageGeneration
Official docs

This placement preference can be multiplied with buildable request cards. Buildable request cards with this placement preference will try to place in the direction of a source of influence that passes the specified alliance rule filter. Sources of influence will have the “badger:village_influence” component. This is similar to the wedge_brush placement preference except the direction is going to be towards the source of influence. This can be used to place buildables in the direction of an enemy attack.

Name

in_direction_of_influence

Settings

alliance_rule_filter

Indicates what units should influence this placement preference. Possible values include “enemy”, “friendly”, and “any_team”.

wedge_angle

The angle between the two sides of the wedge. This determines how wide the wedge area is. See the wedge_brush placement preference for an example.