#Changing the Mod Display Name - Not Working

6 messages · Page 1 of 1 (latest)

jade perch
#

Platform.mods.KubeJS.name = 'Example Mod'
StartupEvents.registry('item', event =>
{
event.create('exampleitem', 'basic')
.displayName('Example Item')
.tooltip('This is an example tooltip.')
.unstackable()
.fireResistant(true)
.rarity('EPIC')
}
)

The item works properly, but the mod source is still listed as KubeJS

buoyant oarBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

livid shoal
#

You can use Platform.getMods().get("kubejs").setName("Example Mod")

livid shoal
#

Alright, try with Platform.getInfo("kubejs").name = "Example Mod" then