Skip to content

MrLionware/hostility-inverted

Repository files navigation

Hostility Inverted (Minecraft Java 1.21.11)

A Fabric mod that flips mob behavior:

  • Passive mobs become hostile toward players.
  • Hostile mobs become passive toward players, but still attack villagers and iron golems.
  • Pillagers and witches can trade with you.
  • You can swear loyalty to illagers and help their village raids.

Gameplay

Mob behavior inversion

  • Most passive spawn groups (CREATURE, AMBIENT, WATER_CREATURE, WATER_AMBIENT, UNDERGROUND_WATER_CREATURE, AXOLOTLS) now hunt nearby survival players.
  • MONSTER mobs are pacified and stop targeting non-villager entities.
  • Light is inverted for survival/adventure gameplay: bright areas apply Blindness (mine-like darkness), very dark areas grant Night Vision.

Trading

Right-click a Pillager or Witch with:

  • Emerald:
    • Pillager: 16 arrows
    • Witch: random brewing supplies
  • Emerald Block:
    • Pillager: crossbow + 32 arrows
    • Witch: experience bottles + ender pearls

Join the illagers

Right-click a Pillager or Witch with an Ominous Bottle to join them.

  • This marks you as an illager ally.
  • Nearby hostile mobs are redirected to attack villagers and iron golems around you.

To leave the pact: sneak + empty-hand right-click a Pillager or Witch.

Build / run

This project uses Fabric Loom for Minecraft 1.21.11.

  1. Ensure Java 21+ is installed.
  2. Run:
./gradlew runServer

or

./gradlew build

PaperMC version

A dedicated Paper plugin variant is available in /paper.

Build it with:

./gradlew -p paper build

Output jar:

paper/build/libs/hostility-inverted-paper-1.0.2.jar

Admin command:

/hostilityinverted status [player] (permission: hostilityinverted.admin, default: op)

About

Minecraft 1.21.11 gameplay overhaul that inverts mob hostility, trading, raids, and light/day behavior.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages