Mechanic

setParent

Sets the caster's parent to the target entity

Examples & Notes

Examples

This mob will try to set its current parent to the nearest ZombieBoss mob in a 20 block radius if it does not already have a parent

ZombieFollower:
  Type: DROWNED
  Skills:
  - setparent @MIR{r=20;t=ZombieBoss;limit=1;sort=NEAREST} ~onTimer:20 ?!hasparent

Universal Mechanic Options

Author:
Ashijin
Community-maintained documentation for the Mythic plugin ecosystem.