Posted December 4, 20177 yr Hi, I've been trying to make a simple mod to replace Dense Ores, however I've wanted to make an item to increase the amount of ores that you get from dense ores, I have named it Ore Collector. As far as I can tell I have done everything right so far (well obviously not) but the texture isn't showing up in game, and the name isn't changing, this is shown in the screenshots below. Please tell me what I need to show you for you to figure out what's wrong.
December 4, 20177 yr For the name, what is being shown is considered the "unlocalized" name. To allow for users who speak other languages, the name gets "localized" by looking up the translations in a .lang file in your assets. I have a tutorial on localization here: http://jabelarminecraft.blogspot.com/p/minecraft-modding-localization.html For the texture it is usually a simple thing but often related to a typographical error. You need the blockstate to map to a specific section of the blockstates json file which has to have a name that matches exactly and then points to a texture asset where the name matches exactly. So you should post the contents of your blockstate file and maybe also your block class code in order for us to help you. You should also check the console messages during the loading of your mod -- it probably has a warning somewhere related to either not finding your block state or not finding the texture file. So you should post your console messages as well. It should tell you what is going wrong and it is very important to get familiar with looking at those messages. You can even get more detailed logs from the log file that is saved. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
December 4, 20177 yr If the blockstate/model/texture isn't working, you can check in the logs what's wrong. Post it so we can help. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
December 4, 20177 yr Author For the console data I have this: https://pastebin.com/Y3TPS6j4 The only reference I could find to my mod was 1/3 of the way down. As for the .lang, I have a en_us.lang file listed and all it has in it is this: item.orecollector.name=Ore Collector Edited December 4, 20177 yr by Metrixo
December 4, 20177 yr Look at your resource package: assest.mjpom. You have a typo. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
December 4, 20177 yr Author lmfao, that's great. I can't even use "Refractor->Rename-> and change the name to assets.mjpom because it just adds a new package inside of it and it doesn't change the actual package name. Do I need to recreate everything, or is there an easier way, or am I just stupid?
December 4, 20177 yr I haven't used Eclipse in a while, but I think there's an option to rename subpackages as well, which I think will solve the issue. You can change the folder name in your file manager. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
December 4, 20177 yr 4 minutes ago, larsgerrits said: I haven't used Eclipse in a while, but I think there's an option to rename subpackages as well, which I think will solve the issue. You can change the folder name in your file manager. Right click -> Refactor -> Rename Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
December 4, 20177 yr Author You guys are the bomb. I love you guys, no homo. I changed the en.us.lang back to en.US.lang because the first one wasn't working and now the name works. I manually changed the file locations and deleted the 'assests' folder after changing all of its contents into the folder 'assets'. Thanks for the help guys.
December 4, 20177 yr Author And here are the screenshots for proof. You guys are great, really, thanks.
December 4, 20177 yr 5 minutes ago, Draco18s said: Right click -> Refactor -> Rename I know. He also said he used that, but it didn't work for him. I suggested he checked the "Rename subpackages" option. Edited December 4, 20177 yr by larsgerrits Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
December 4, 20177 yr 6 minutes ago, larsgerrits said: I know. He also said he used that, but it didn't work for him. I suggested he checked the "Rename subpackages" option. Gotcha Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
December 4, 20177 yr 11 minutes ago, Metrixo said: You guys are the bomb. I love you guys, no homo. I changed the en.us.lang back to en.US.lang because the first one wasn't working and now the name works. I manually changed the file locations and deleted the 'assests' folder after changing all of its contents into the folder 'assets'. Thanks for the help guys. Yeah, the lang file has to be capitalized US in recent versions. Overall, for things outside the code itself such as package and file names and json contents most problems tend to be typos so you just have to look really really carefully. Glad you fixed it all. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
December 4, 20177 yr 1 minute ago, jabelar said: the lang file has to be capitalized US in recent versions. It depends. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
December 4, 20177 yr 2 minutes ago, larsgerrits said: It depends. good point -- it is recent versions of the resource format (version 3), which need to be indicated in the pack.mcmeta file. This can definitely be confusing when porting older mods as I usually forget to update the pack.mcmeta. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.