How villagernews/villager-news-addon works
Villager News Addon is a Bedrock add-on centered on enabling a pack in a world and providing villager voices, reactions, and gossip/reputation; Java support is presented as notes rather than the Marketplace pack. The tree and excerpts identify pack, mob, voice, and Java responsibilities, but do not expose runtime calls or configuration wiring. Edges therefore show only documented usage and capability relationships, not an inferred internal execution pipeline.
Main entry points: Villager.cpp Villager Reactions · Java.cpp Java Notes · Addon.cpp Bedrock Add-on · Enable.cpp Pack Toggle
Components 15
Bedrock Pack
- Bedrock Add-on
pack/Addon.cpp - Pack Toggle
pack/Enable.cpp - Pack Manifest
pack/Manifest.h
Villager Behavior
- Villager Reactions
mob/Villager.cpp - Action Compatibility
mob/React.cpp - Trade Hook
mob/Trade.h
Voice and Gossip
- Voiced Reactions
voice/Lines.cpp - Gossip Reputation
voice/Gossip.cpp - Lip Sync Marks
voice/Lip.h
Java Notes
- Java Notes
java/Java.cpp - Fabric Notes
java/Fabric.cpp - Minecraft Version Gate
java/Mc.h - Java Sound Notes
java/Sounds.cpp
Other components
- Player
- Minecraft World
Connections 12
- Player → Bedrock Add-on: enables
README.md - Bedrock Add-on → Pack Toggle: offers toggle
pack/Addon.cpp - Pack Toggle → Minecraft World: load enabled pack
README.md - Villager Reactions → Voiced Reactions: has voiced reactions
- Villager Reactions → Gossip Reputation: supports gossip
- Villager Reactions → Action Compatibility: supports actions
- Villager Reactions → Trade Hook: has trade hook
- Voiced Reactions → Lip Sync Marks: lip-sync marks
- Player → Java Notes: consults notes
README.md - Java Notes → Fabric Notes: includes Fabric notes
- Java Notes → Minecraft Version Gate: includes version gate
- Java Notes → Java Sound Notes: includes sound notes