#Can an entity have multiple mobs allied to it?

6 messages · Page 1 of 1 (latest)

random rapids
#

Like the title says, I'm trying to set up a symbiotic behavior in my pack where wolves and raptors ally together against larger prey. The simple solution is that they are in the same
.isAlliedTo

Can it support multiple mobs allied to or only one?

timid parcelBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

dusty shoal
#
.isAlliedTo(context => ['a', 'b'].includes(context.target.id))
#

it just need to be true or false

random rapids
#

Thanks!

#

Works for the wolf but sadly since the raptor extends from the living class, I think I'm gonna have to make it an entity hurt event instead for them