interactEntity

Turn any mob into a fully scripted NPC with branching dialogues, quests, and conditions, all through simple JSON files, no coding required
Back to Files

interactentity-2.3.0-1.20.1.jar

File nameinteractentity-2.3.0-1.20.1.jar
Uploader
AshPapiAshPapi
Uploaded
Oct 28, 2026
Downloads
330
Size
449.9 KB
Mod Loaders
Forge
File ID
9356139
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:interactentity-1528014:9356139")

Learn more about Curse Maven

What's new

InteractEntity 2.3.0 (Minecraft 1.20.1, Forge)

Trading

Any NPC can now trade with the player.

  • To open a shop, add "merchant": "harold_basic" to a dialogue node, where harold_basic is the name of a shop file from config/interactentity/trades/. To close the shop, use "merchant": false.
  • A merchant can both sell items to the player and buy items from them.
  • A price can be made of several items.
  • An item can be shown only when a condition is met, for example after a quest is completed.
  • An item can have a stock limit: separate for each player or shared by everyone.
  • The shop opens right from the dialogue with the pouch icon. Click an item to open a side panel with its price, stock and description.
  • A full shop example and all fields are in the README, section 36.

NPC name tags

  • You can now control the name tag above an NPC's head with the name_tag field:
    • "always": the name tag is always visible;
    • "hover": the name tag is visible only when the player looks at the NPC;
    • "hidden": the name tag is never shown.

Торговля

Теперь любой NPC может торговать с игроком.

  • Чтобы открыть лавку, добавь в ноду диалога строку "merchant": "harold_basic", где harold_basic это имя файла с товарами из папки config/interactentity/trades/. Чтобы закрыть лавку, напиши "merchant": false.
  • Торговец может как продавать игроку товары, так и покупать их у него.
  • Цена может состоять из нескольких предметов.
  • Товар можно показывать только при выполнении условия, например после завершения квеста.
  • У товара можно задать лимит: отдельно для каждого игрока или общий на всех.
  • Лавка открывается прямо из диалога по иконке мешочка. Если нажать на товар, справа появится панель с ценой, остатком и описанием.
  • Полный пример лавки и описание всех полей есть в README, раздел 36.

Никнеймы NPC

  • Теперь можно настроить ник над головой NPC с помощью поля name_tag:
    • "always": ник виден всегда;
    • "hover": ник виден, только когда игрок смотрит на NPC;
    • "hidden": ника не видно совсем.