#How do I get the mod name tooltip of an item?
20 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
What is a mod name tooltip? do you mean the mod id? if so:
item.id.substring(0, item.id.indexOf(":"))
yeah
i want the display name
i have a script that replaces stuff from peoples inventories, like stuff that I've removed from the previous version of the pack
so the message goes "Replaced (mod id)'s (item name) with (mod id 2)'s (item name 2)"
use Platform
To get the Mod Display Name you can do Platform.mods.modid.name
Andnitem Display Name is Just item.name
im using this currently but it doesnt add spaces the same way as it does in creative tabs/JEI
spaces? what you mean?
can you show us?