Mod Name Tooltip
Yes this is named after the minecraft mod and does the same thing.
Tooltip
Show which mod added a particular item.
This only applies to item tooltips.
HUD
Show a small HUD menu that displays the subject name and mod name of a supported subject under your cursor.
This supports:
- NPCs
- Farm Animals
- Objects
- Crops/Trees/FruitTrees
Installation
- Download and install SMAPI.
- Download this mod and install to the Mods folder.
Configuration
Enable_Tooltip: Enable mod names in item tooltipsToggle_Tooltip: Set a keybinding to enable/disable item tooltipsEnable_HUD: Enable mod name HUDEnable_HUD_NPC: Enable NPCs on the mod name HUDEnable_HUD_FarmAnimal: Enable Farm Animals on the mod name HUDEnable_HUD_Object: Enable Objects on the mod name HUDEnable_HUD_TerrainFeature: Enable Crops/Trees/FruitTrees on the mod name HUDEnable_HUD_Building: Enable Buildings on the mod name HUDEnable_HUD_Event: Enable event names on the mod name HUD, shown when you begin an eventEnable_HUD_Location: Enable location names on the mod name HUD, shown always when no other subject is under the cursor
Toggle_HUD: Set a keybinding to enable/disable HUDDisplay_ModId: Instead of the mod name, display the mod idDisplay_ModSource: In addition to the mod name/mod id, show mod sourceColor_SDV: Hex color code, text color for 'Stardew Valley' in tooltips and HUDColor_Mod: Hex color code, text color for mod names in tooltips and HUD
Configuration
- English
- 简体中文
- Русский (by ellatuk)
Translations are welcome, feel free to post separately.
For Mod Authors
C# API
This mod determines what mod adds a particular item by tracing the content pipeline, making it more accurate than simply deriving that from item id.
You can use the (provided API)[ModNameTooltip/IModNameAPI.cs] to fetch this info.
Providing a Translated Mod Name
For content patcher, do an edit like this in your content.json
{
"Action": "EditData",
"Target": "mushymato.ModNameTooltip/ModNames",
"Entries": {
// need a "mod.name" key in your i18n
"{{ModId}}": "{{i18n: mod.name}}"
}
}
This asset is a Dictionary so C# mods can edit it like this.
private void OnAssetRequested(object? sender, AssetRequestedEventArgs e)
{
if (e.Name.IsEquivalentTo("mushymato.ModNameTooltip/ModNames"))
{
e.Edit(
(asset) =>
{
IDictionary data = asset.AsDictionary().Data;
data[ModManifest.UniqueID] = Helper.Translation.Get("mod.name");
},
AssetEditPriority.Default
);
}
}
Install
Install SMAPI first (it is on Modhold). Then install this with the Modhold app, or unzip it into the Mods folder in your Stardew Valley folder and start the game through SMAPI.





















































