Mob Factions

Mob Factions

Mod

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

Client and server Game Mechanics Mobs

0 downloads
1 follower
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

There are 4 parts to this Mod.

  1. Factions: a list of Strings
  2. Entities: a list of Entity Types
  3. Enemies: a list of Strings (which are within Factions)
  4. Allies: a list of Strings (which are within Factions)

This is saved per World, can be edited with /Faction and will be defaulted to whatever the users Common Config File for the Mod is, when the world is first loaded or when /Faction reset is used

For any Entity within a faction (supports mutiple 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. also when its attacked it'll notify any Allies (factions / mobs within its own faction), of its attacker and if it can.. it'll also fight back for them.

By Default the Config is defined with some default values that are meant to guide the user on what possible and how to setup those values within the Config File, those values are:

  • Factions: zombie, skeleton, illager, piglin
  • Entities: [zombie, zombie_villager, husk, drowned, zombified_piglin, zoglin], [skeleton, stray, wither_skeleton], [pillager, vindicator, ravager, evoker, vex], [piglin, piglin_brute, zombified_piglin]
  • Enemies: [illager, piglin], [illager, piglin], [zombie, skeleton, piglin], [zombie, skeleton, illager]
  • Allies: [skeleton], [zombie], [], []

The square brackets separate factions, while the comma (and gap) separate values.

/Faction

  • reset
  • get
  • get [Faction]
  • get [Faction] entities
  • get [Faction] enemies
  • get [Faction] allies
  • create [Quoteable String]
  • remove [Faction]
  • modify [Faction] add entities [EntityType]
  • modify [Faction] add enemies [Faction]
  • modify [Faction] add allies [Faction]
  • modify [Faction] remove entities [EntityType]
  • modify [Faction] remove enemies [Faction]
  • modify [Faction] remove allies [Faction]

[Faction] autocorrects to any/all factions created at the time.

[EntityType] autocorrects the same way the /Summon command does.

as for what they all do, its pretty self explanatory but if you need help feel free to leave a comment.


Project members

spiderman31807

Member

Details

Licensed GPL-3.0-or-later
Published 4 hours ago
Updated 2 days ago