Page 1 of 1

Mod names?

PostPosted: Tue May 24, 2016 01:05
by brie355
How do I edit the lua file to change the names of mods without causing bugs?

Re: Mod names?

PostPosted: Tue May 24, 2016 09:34
by azekill_DIABLO
ex: you want to rename mobs to 355monsters

just change things like mobs:chicken
to 355monsters:chickens

Re: Mod names?

PostPosted: Tue May 24, 2016 20:37
by MineYoshi
azekill_DIABLO wrote:ex: you want to rename mobs to 355monsters

just change things like mobs:chicken
to 355monsters:chickens

*ahemmm*

I don't know, but i don't recommend it, there is some trouble if the name of the folder is different to the name of the mod in the init.lua...
(IDK only that happened to me some time ago...)

If you want to rename completely a mod and his files and code.
You should:
1.Rename the folder
2.Change in all the "item strings", the mod name.
Example:
A item string goes "modname:itemname".
If you have a mod called "azepotato" and you want to rename it to "azepotatoes" you should rename ALL the itemstrings from "azepotato:itemname" to "azepotatoes:itemname", do you understand? Any question say me!
3.No more, any question please, say me i will answer ya'

Re: Mod names?

PostPosted: Wed May 25, 2016 13:57
by azekill_DIABLO
"azepotato"? seriously minebanana??
Image

Re: Mod names?

PostPosted: Wed May 25, 2016 20:27
by MineYoshi
Only is a "test_name", it's to explain ok?

Just i hope i answered your question @brie355

Re: Mod names?

PostPosted: Thu May 26, 2016 07:07
by azekill_DIABLO
i know :)

brie355 you can also set the name of your mod by creating a mod.conf file in your mod folder.
just write the name of your mod in it

Re: Mod names?

PostPosted: Thu May 26, 2016 22:42
by brie355
Thank you guys for all the help! :)