Minecraft IDs are very confusing
EfficiencyVI opened this issue · 5 comments
All the natura planks have the minecraft id Natura:planks with a sub id. The logs do not fit the subid. Sometimes there are two subids for one wood with a different orientation. Then there are special woods like redwood or bloodwood. But the biggest problem is there are minecraft names with spaces in it, e. g. the Maple wood has the id "Natura:Rare Tree". As far as I can see is natura the only mod that uses spaces in item ids. Even though I do not know if there are guidelines, it may break other mods like Minetweaker. See stanhebben/MineTweaker3#37
unfortunately i noticed this issue after i had released for 1.7 at which time it is to late to do anything about it without breaking worlds.
there is already a TODO in the code
Unfortunately it's not that simple as these things get registered before worlds can be checked
On Aug 12, 2014, at 9:31 AM, EfficiencyVI [email protected] wrote:
Hm, it is possible to check if the world is generated or not, isn't it? How about replacing the spaces with underscores if the wrong name is not already registered? Or an option that the user can set if he needs to. This would be not the best solution but the only option around the problem would be to remove the 6 trees and prevent the generation which isn't the best solution either. :-/
—
Reply to this email directly or view it on GitHub.
Hm, it is possible to check if the world is generated or not, isn't it? How about replacing the spaces with underscores if the wrong name is not already registered? Or an option that the user can set if he needs to. This would be not the best solution but the only option around the problem would be to remove the 6 trees and prevent the generation which isn't the best solution either. :-/