Mob Factions

A Fully Customisable Faction based Targeting System for almost any Mob (doesn't work on Brains)

Bugs can be Reported on the Github Page

There are 5 parts to a Faction

  1. Entities: a set of Entity Types (members of the faction)
  2. AlliedEntities: a set of Entity Types (entities that faction wont attack)
  3. HostileEntities: a set of Entity Types (entities that faction will attack on sight)
  4. Enemies: a set of Faction UUID (factions that faction wont attack)
  5. Allies: a set of Faction UUID (faction that faction will attack on sight)

​ This is saved per World, There is no limit to how many factions there is or how many a mob is in.. everything about this mod can be edited with /Faction in-game or using a NBT editor on the saved file for that world, if no file is found when loading it'll load 4 default factions, Zombie, Skeleton, Illager & Piglin.

For any Entity within a faction (supports multiple at the same time), it'll attack without reason any Entities within an Enemy Faction, however it will NEVER attack any Entities within an Allied Faction.

This mod doesn't work on Entities with Brains, they will be attacked automatically by enemies and the ally system still prevents them attacking allies, and they will not attack enemies automatically. a list of Entities with brains is below (since no Wiki pages does)

  • Allay
  • Axolotl
  • Camel
  • Frog
  • Tadpole
  • Goat
  • Sniffer
  • Zoglin
  • Hoglin
  • Piglin
  • Piglin Brute
  • Warden
  • Villager

Mob Factions Team

profile avatar
  • 16
    Followers
  • 28
    Projects
  • 112.9K
    Downloads

Hard at work on my Mob Selector mod port to 26.1.2 with more features and multiplayer support! Development is taking awhile due to starting from scratch and having a lovely girlfriend now who desires my attention ever so much

Donate

More from Spiderman31807View all

  • TamableAPI project image

    TamableAPI

    A Utility API that set ups alot of the generic code used for Taming, Breeding or Aging, which can be applied to any Entity that extends the `Mob` class with nothing more than an interface!

    • 13
    • October 3, 2026
  • Goal Injector project image

    Goal Injector

    A simple mod that adds a custom event `DefineGoalsEvent` that allows the modification and query of a mobs goals during the registration (for modders)

    • 25
    • October 2, 2026
  • AttachmentsAPI project image

    AttachmentsAPI

    Allows registration of saved, synched custom data on any entity using a simple event, attachments can also be setup to allow changing from only serverside or only clientside but by default can be set by client or server

    • 21
    • September 30, 2026
  • Chunks by Chunk project image

    Chunks by Chunk

    Restricts Players to their Chunk bounds, which can be extended by earning XP (1 Chunk per point, not Linked to XP it just increases when it does)

    • 1.1K
    • September 21, 2026
  • TamableAPI project image

    TamableAPI

    A Utility API that set ups alot of the generic code used for Taming, Breeding or Aging, which can be applied to any Entity that extends the `Mob` class with nothing more than an interface!

    • 13
    • October 3, 2026
  • Goal Injector project image

    Goal Injector

    A simple mod that adds a custom event `DefineGoalsEvent` that allows the modification and query of a mobs goals during the registration (for modders)

    • 25
    • October 2, 2026
  • AttachmentsAPI project image

    AttachmentsAPI

    Allows registration of saved, synched custom data on any entity using a simple event, attachments can also be setup to allow changing from only serverside or only clientside but by default can be set by client or server

    • 21
    • September 30, 2026
  • Chunks by Chunk project image

    Chunks by Chunk

    Restricts Players to their Chunk bounds, which can be extended by earning XP (1 Chunk per point, not Linked to XP it just increases when it does)

    • 1.1K
    • September 21, 2026