rwtema / DenseOres

53 stars 51 forks source link

[Question] How can I overwrite names ? #99

Open gabor7d2 opened 8 years ago

gabor7d2 commented 8 years ago

Description

I tried some forms of of overwriting the names with Lang files (Minetweaker), and I searched in the code for "name", and I think I may have found the lines that are responsible for creating names, but I don't really know programming.

The main thing I want to overwrite names is because I want to add Colours to the names of Dense Ores as some of the original ores have coloured names and Dense Ores cannot transfer those colours into the names.

So like I want to add localization \u00a79Dense Aluminum Ore to denseores.whatewer.idontknow.name - This ore is from GalactiCraft. Because the main normal ore has &9 coloured name.

I tried these 2:

game.setLocalization("denseores.galacticraft.oreAluminum.name", "\u00a79Dense Aluminum Ore"); and game.setLocalization("DenseOresMod.Galacticraft:galacticraftcore/oreAluminum", "\u00a79Dense Aluminum Ore"); but neither worked.

I hope you can help me. Sorry if this is an intended feature or an already known issue.

Screenshots:

Changing the colour of the Galacticraft Aluminum Ore don't work 2015-10-25_10 18 31

I also want to change like the Thermal Foundation Shiny Ore 2015-10-25_10 18 38 2015-10-25_10 18 46

Versions:

Dense Ores:1.6.2

If you need forge logs, modlist, or anything like that, tell me. Thanks for the help!