This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
LanguageRegistry.addName(OreAluminium, "Aluminium Ore"); LanguageRegistry.addName(OreCopper, "Copper Ore"); LanguageRegistry.addName(OrePlatinum, "Platinum Ore"); LanguageRegistry.addName(OreSilver, "Silver Ore"); LanguageRegistry.addName(OreTin, "Tin Ore"); LanguageRegistry.addName(BlockFosil, "Fosil Block");
public static Block genericblock1 = new BlockGeneric1(...).setUnlocalizedName("genericBlock1");
Quote from Geert4321 Do this for all your blocks public static Block genericblock1 = new BlockGeneric1(...).setUnlocalizedName("genericBlock1"); And then do the same for all your other blocks, but give them a different unlocalized name
When I add this code to add name to my custom ores, all my blocks are named like the last block.
CODE
How can I prevent this from happening?
And then do the same for all your other blocks, but give them a different unlocalized name