Posted December 22, 201410 yr While trying to update to 1.8, I encountered a strange bug regarding localizations. When running Minecraft, the game will only display unlocalized names for all of my blocks and items and for my creative tab. As far as I can tell, my files are set up properly. assets/whitecraft/lang/en_US.lang: item.whitecraft:whiteDust.name=White Dust item.whitecraft:blackDust.name=Black Dust item.whitecraft:grindStone.name=Grinding Stone item.whitecraft:testItem.name=WhiteCraft Experimental Item (may be removed) item.whitecraft:woodFuel.name=Wooden Fuel itemGroup.whitecraft=WhiteCraft tile.whitecraft:whiteOre.name=White Ore tile.whitecraft:blackOre.name=Black Ore tile.whitecraft:whiteCobble.name=White Cobble tile.whitecraft:blackCobble.name=Black Cobble tile.whitecraft:testBlock.name=WhiteCraft Experimental Block (may be removed) tile.whitecraft:refueler.name=Refueler tile.whitecraft:fireworkEditor.name=Firework Editor Do I need to make any changes from 1.7? They worked flawlessly before. Images:
December 22, 201410 yr Author Yes, but I have included the sourceSets { main { output.resourcesDir = output.classesDir } } line in my build.gradle.
December 22, 201410 yr Author I did add the line before importing, but none of the assets seem to be in the build/classes folder. I couldn't get textures to work, but I didn't link it to this. EDIT: I put the line at the very end of the file, after all of the closing brackets, if that affects anything.
December 22, 201410 yr Author Sorry, I should clarify: The localization files (I have an en_GB.lang file in the same place) are not in the build/classes folder. The only other assets I tried to use, textures, did not work, so the problem extends to all of my assets.
December 22, 201410 yr Author The build/resources folder doesn't exist. I'll re-set up my workspace and try again.
December 22, 201410 yr Author After setting the workspace up again, Minecraft now loads up the localizations perfectly fine. Not sure what was wrong originally, but fixed now.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.