Who receives potions? The player who interacts with the NPC. Particles marked as oninteract are spawned at the NPC’s head (offset).
Usage Examples
Give Speed II for 10s on interact: /mnpc addeffect 12 potion SPEED 10 1
Spawn happy villager particles at ~head height on interact: /mnpc addeffect 12 particle oninteract VILLAGER_HAPPY 1.8
Add looped flame ring (handled by loop manager): /mnpc addeffect 12 particle looped FLAME 0.0
Clear all effects from NPC 12: /mnpc effect clear 12
Compatibility & Behavior Notes
Regular MythicMobs are unaffected. Only NPC-<id> wrappers get NPC flags and PDC tags.
Clearing effects stops future applications/particles but does not remove potions already on players (by default). You can optionally add a small block to strip active potions nearby if you want that behavior.
NPCListener and PotionInteractionListener coexist:
NPCListener still handles animations, command firing, and general interaction flow.
PotionInteractionListener focuses on giving potions and spawning “oninteract” particles, honoring effects.on-* config toggles.