Minion Command
The command an entity a minion of a summoner = when the summoner dies or logs out, the minions die.
/goop mythicmobs minion <owner uuid> <minion uuid> [leashrange] [MM Skill] [pvpBlock]
Instead of dying, one may specify a mythic skill the minions run when their summoner is defeated.
Args Breakdown (What everything does)
<owner UUID>
The UUID of the entity, or the name of the player, who will be set as the "Summoner".
When the summoner dies or logs out, all his minions are removed.
There is also an MMOItem stat that affects max minion count, if a summoner exceeds their max minion count, older minions will be deleted.
<minion UUID>
UUID of the monster who will be set as the "Minion"
[leashrange]
If the minions are further away than this distance from their summoner, they will be teleported to the summoner.
Default is 20
[MM Skill]
Rather than straight up killing the minions, you may choose to write a Mythic Skill here.
They will run it when they would die because of this command (when the summoner dies, logs out, or exceeds minion count).
If this is specified, this command will not kill them, you must choose when to kill them through the MM Skill.
@Caster = Minion, @Trigger = Owner, @Origin = Owner Death Location
[pvpBlock]
If players should not be able to deal damage to this minion.
Allows minions friendly to the players (usually summoned by players themselves) to not be killed by other players in PvE battles.
Tips
Allow to more easily have summoned minions, supporting that Max Minions stat and everything.
This command kills the minions when the summoner dies, logs out, or exceeds their max minion count.
Monsters have a default max minion count of 32767.
Players have a default max minion count of 1.
You may specify a mythic skill to run when a minion would die because of this command.
The minion will run it instead of dying.
You probably should kill the minion, you must do this through the skill itself.
The skill will run once, and the minion (if it survives it) will be free from being considered a minion.
All minions have the GooP_Minion scoreboard tag.
An entity cannot be claimed as a minion if they already are one.
A minion cannot have two owners.
Simple Examples:
/goop mythicmobs minion cocopad <some-uuid>
Registers target entity as a minion of cocopad. If cocopad dies, so will the entity.
/goop mythicmobs minion atuosto <some-uuid> 50
This minion can travel up to 50 blocks from atuosto. If they go further away, they will teleport to atuosto.
/goop mythicmobs minion BreezyBread <some-uuid> 20 MMSkill_DramaticExplosion
These minions, rather than just dying when Bread dies, will go out with a dramatic explosion.
*All player names may be entity UUIDs instead