Requiem

Requiem

562k Downloads

[Request] customize mob aggro

supersaiyansubtlety opened this issue ยท 2 comments

commented

I'd like to be able to control which mobs aggro against which possessed mobs.

It's too OP for me to not have to worry about aggro from most hostile mobs, it's close to peaceful. Personally I'd like for to define "mob factions". A player possessing a mob would receive aggro from all mobs except for those in the same faction. My factions would be something like

  • zombies + skeles (undead)
  • all pillagers
  • most other mobs in factions with just one mob type

My idea for customizing aggro is:

  1. Have a gamerule/command that lets you choose between the following:
  • current behavior
  • all aggro except mobs of same type
  • all aggro (mainly for use with 2))
  • none aggro (mainly for use with 2))
  1. Let datapacks create mob factions with entity tags. These would take precedence over 1)
    Format could be something like:
    The entity tag "requiem:mob_factions/some_faction" would contain all the mobs that belong to "some_faction"
A different approach to 2), for more granular, less faction-centric customization

To define which entities aggro against "some_mod:some_entity":

  • Create the tag "requiem:aggro/some_mod/some_entity" and it would contain the entities that would aggro against that entity.
  • It would also be nice to check "requiem:no_aggro/some_mod/some_entity" for entities that should not aggro against that entity.
commented

Thanks for the suggestion ! We'll be considering it, but I can't promise anything as we already have quite a bit on our plate.
That said, have you taken a look at the requiem:possessionDetection gamerule ? Its hard mode makes it quite likely for mobs to detect you.

commented

Thanks for considering!
Yeah I'll probably use requiem:possessionDetection for now to make things less peaceful.