Wiki 9Minecraft Wiki 9Minecraft
Minecraft Legends › Entities › badger:target_assigner

badger:target_assigner

Minecraft Legends

Entities
Official docs

Defines this entity as a target assigner which pushes priority targets to influenced entities.

TypeNameDefault ValueDescription
Stringalliance_rule_filterAlliance rule to filter target by.
Booleandespawn_on_target_lostWhen true, the entire order will end when the target is destroyed, cancelling movement.
Decimaldrop_target_rangeHow far a selected target needs to be from the assigner before it is dropped.
Decimalfind_target_rangeHow far will the assigner will search for a target to select/assign.
Booleanforce_moveIf this command is a force move command, will adjust enemy highlighting to match the action.
Decimalforce_target_rangeWithin this range, mobs will go directly to attack the target, ignoring any secondary targets that are closer.
Booleanparent_self_to_targetWhen true, the target assigner entity will parent itself to the targeted entity.
JSON Objectpre_redirect_target_filterEarly phase alliance and tag filter BEFORE redirection. Redirector hurtboxes that get found in this phase will redirect you to target the default hurtbox, which will get further filtered by the main tag filter. Don't change this without coder approval.<br/><h5><p id="exclude_tags">exclude_tags</p></h5>Array of tags to exclude (any of) when filtering targets.</br><br><h5><p id="include_tags">include_tags</p></h5>Array of tags to require (all of) when filtering targets.</br><br>
Booleansingle_targetWhen true, the target assigner will stop searching for targets after its first selected target is destroyed.
JSON Objecttarget_filterAlliance and tag filter used by this assigner to filter targets.<br/><h5><p id="exclude_tags">exclude_tags</p></h5>Array of tags to exclude (any of) when filtering targets.</br><br><h5><p id="include_tags">include_tags</p></h5>Array of tags to require (all of) when filtering targets.</br><br>