1

Lang Not Working

zombieslayer4324 6/5/16 12:37 pm
356
6/5/2016 7:11 pm
Hello, I can't seem to get my en_US.lang to work its in the right spot but wont change the name of anything. What I put inside it was "name.test_item.name=Test Item"
but nothing happens and that is exactly the name of my item it renders and everything in the same I just can't get anything to name.
Posted by
zombieslayer4324
Level 2 : Apprentice Crafter
3

  Have something to say?

JoinSign in

13

kristinnvikar
06/05/2016 12:42 pm
Level 52 : Grandmaster Programmer
its "item.test_item.name" not name.test_item.name
1
zombieslayer4324
06/05/2016 12:46 pm
Level 2 : Apprentice Crafter
That is in it, sorry kinda forgot that was item instead of name.
1
kristinnvikar
06/05/2016 12:48 pm
Level 52 : Grandmaster Programmer
is it in a modding workspace? like are you using it for a mod?
1
zombieslayer4324
06/05/2016 12:54 pm
Level 2 : Apprentice Crafter
From what I have seen it is in the right place in my workspace. And i'm currently making a mod but can't get anything to name. its in the "src/main/resources/assets.wk/lang"
1
kristinnvikar
06/05/2016 1:25 pm
Level 52 : Grandmaster Programmer
it should be in "src/main/java/assets/modid/lang"
1
kristinnvikar
06/05/2016 1:26 pm
Level 52 : Grandmaster Programmer
well what version of minecraft?
1
zombieslayer4324
06/05/2016 1:28 pm
Level 2 : Apprentice Crafter
1.8.9 and so it goes in the java section not in resources?
1
kristinnvikar
06/05/2016 1:30 pm
Level 52 : Grandmaster Programmer
no... it should be "src/main/resources/assets/modid/lang"
1
zombieslayer4324
06/05/2016 1:34 pm
Level 2 : Apprentice Crafter
Testing it right know will let you know what it does.
1
kristinnvikar
06/05/2016 1:36 pm
Level 52 : Grandmaster Programmer
1.8.9-1.9 = "src/main/resources/assets/modid/lang" but 1.7.10 = "src/main/java/assets/modid/lang"
1
zombieslayer4324
06/05/2016 1:54 pm
Level 2 : Apprentice Crafter
Thank you!! It worked!
1
kristinnvikar
06/05/2016 2:09 pm
Level 52 : Grandmaster Programmer
np
1
zombieslayer4324
06/05/2016 7:11 pm
Level 2 : Apprentice Crafter
I ran into a new problem but has nothing to do with lang. Upon my block model my texture kinda work's but has 2 white lines and a black line on the top but it doesn't have when rendered with MrCrayfish's model maker it uses vanilla mc textures such as stone, planks_oak, and cobblestone and everything in the json code is right.
Images found in link below couldn't figure out how to upload them on here.

http://imgur.com/a/lS8JW
1

Welcome