NpcTexture
No reviews yet
A two-part system that shows Citizens NPC dialogue in a Pokémon-style text box and makes the NPC walk up to you, on a Minecraft 1.21.1 hybrid
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
A two-part system that shows Citizens NPC dialogue in a Pokémon-style text box and makes the NPC walk up to you, on a Minecraft 1.21.1 hybrid (Mohist/Arclight) server running Cobblemon.
Part 1 — Client mod (npc-dialog-box, Fabric)
Installed in the client's mods/ folder. It's purely visual.
- Listens to incoming chat/system messages using Fabric's message events.
- Matches a configurable regex pattern against each line. The default matches your server's NPC speech format | <Name>: (e.g. ᴅᴏc | Toh: Hello!) and also the rank-less form Name: text, while ignoring normal player chat (which uses the » separator) and plugin broadcasts like [PokeHunt] ….
- When a line matches, it hides it from chat and opens a Pokémon-style box at the bottom of the screen, drawing the original KantoNPCs textures (dialog_box.png, arrow_down.png).
- Typewriter effect: text appears character-by-character.
- Auto-pagination: long text is split into pages of ~2 lines that fit the box; a bouncing arrow shows when there's more. Click / Space / Enter advances; the last click closes it.
- Consecutive lines from the same NPC merge into extra pages of the same box.
- Config file config/npcdialogbox.json: pattern, charsPerTick (typing speed), scale, wrapWidth, linesPerPage, debug.
- Test command: /npcdialogtest opens the box directly.
Part 2 — Server plugin (npc-approach-plugin, Bukkit/Citizens)
Installed in the server's plugins/ folder. It controls NPC behavior (the client can't move server entities).
- Detects the nearest player within a radius, makes the Citizens NPC walk up to them, and when it arrives sends that player the dialogue line (in the [rank] | Name: text format the client mod reads).
- When the player leaves, the NPC walks back to its home spot (teleports back as a fallback), restoring its original facing — mirroring KantoNPCs' behavior.
- Per-NPC setup in-game: select with /npc select, then /npcapproach set , plus add, enable/disable, radius, stop, cooldown, speed, info, clear, reload (with tab-complete).
- Global defaults in config.yml (radius 8, stop 2, cooldown 16s, speed 1.0 — matched to KantoNPCs).
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources