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.
- Most passive spawn groups (
CREATURE,AMBIENT,WATER_CREATURE,WATER_AMBIENT,UNDERGROUND_WATER_CREATURE,AXOLOTLS) now hunt nearby survival players. MONSTERmobs 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 grantNight Vision.
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
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.
This project uses Fabric Loom for Minecraft 1.21.11.
- Ensure Java 21+ is installed.
- Run:
./gradlew runServeror
./gradlew buildA dedicated Paper plugin variant is available in /paper.
Build it with:
./gradlew -p paper buildOutput jar:
paper/build/libs/hostility-inverted-paper-1.0.2.jar
Admin command:
/hostilityinverted status [player] (permission: hostilityinverted.admin, default: op)