Flemmli97 / MobBattle

Mob Battle mod for minecraft
10 stars 5 forks source link

[Feature Request]: Entity Type List for ignored "revenge" targets #22

Closed Yellowbross closed 1 year ago

Yellowbross commented 1 year ago

Suggestions

so it seems that in my previous suggestion, i had missed an oversight for certain mobs: some bosses that spam minions can end up resulting in a stalemate in 1+v1 team battles. my suggestion is either a config list (preferably) or a new entity type list that determines what attacking mobs will be ignored by team opponents (if a mob is present in the list, opponents will not change their target upon being hit by that mob), as so to stop minions from endlessly stalling team battles

Solution

add the entity list to the mod, then place a check in the team "hurt by target" goal that a mob is not present in this list before having the goal swap the hurt mob's target