There are 4 parts to this Mod.
- Factions: a list of Strings
- Entities: a list of Entity Types
- Enemies: a list of Strings (which are within Factions)
- 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.
External resources
Project members
spiderman31807
Member