Ally Mod banner
Ally Mod icon

Ally Mod

Create a Minecraft mod that adds a new "Companion" NPC entity with the following specifications: Entity Design: Create a human female mob called "Ally."...

00
fabricClient1.20.1mod

Ally Mod

What it does

  • Adds a tameable Ally companion NPC that naturally appears in village biomes and via a spawn egg.
  • Ally can fight alongside you, defend you when attacked, and hunt hostiles you target.
  • Right-click with emeralds or cookies to tame (hearts on success); feed bread or apples to heal.
  • When tamed, Ally follows within about 10 blocks; right-click to toggle Stay/Follow.
  • Sneak-right-click to open the Ally's 9-slot inventory for storage; items are saved and drop on death.
  • If set to Stay near a bed, Ally marks that bed as home, wanders in a small radius there, and will not despawn.

Important details

  • Spawn egg colors: light lilac with deep violet spots (item: Ally Spawn Egg).
  • Ally uses a human-style model and a custom companion texture.
  • Home memory persists once set near a bed; toggling back to follow keeps the stored home.
  • Ally will not despawn when tamed or when a home is set, even if you travel far away.

Known limitations / future ideas

  • Armor visuals are not rendered; Ally currently fights with base attributes only.
  • Inventory opening is limited to the owner; no GUI iconography beyond the default 9-slot chest view.
  • Variants/outfits and affection systems are not implemented.