Items.ini naming convention.
#1
I was updating items.ini today for 1.9, and the item names seemed very inconsistent. We should establish a convention as to the names that we use.

I suggest:

itemname=xyz
item_name=xyz

Along with the same for any common synonyms for all items. This would require a small update to the existing file but should improve consistency for the future.
Reply
Thanks given by:
#2
The item names should match the vanilla names. Of course, any names we've introduced in the past, as well as some common aliases, should be kept for compatibility reasons, unless there's a strong reason not to.
Reply
Thanks given by:
#3
According to the wiki vanilla uses names with underscores. However our crafting and furnace files use the plain names without underscores. What is the correct solution there?
Reply
Thanks given by:
#4
items.ini should list both, recipes can use either. I guess we should use the underscore-y names for future items, but I still think we should keep the old ones.
Reply
Thanks given by:
#5
OK, so I will make sure that the list includes both, to make it consistent. Thank you for the advice.
Reply
Thanks given by:
#6
I thought of a different approach, outlined in PR #3202
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)