Posted October 21, 20169 yr I want to change just the texture or model of some vanilla blocks. I know the simplest way to do this is with a texture pack - but there's only a couple I want to change and it seems excessive to require a whole resource pack to go with a mod that only changes a few textures. Is there any way to do this via code instead of using a resource pack?
October 21, 20169 yr In your resource pack, you only need to have the models/textures you changed. If you don't have a changed model/texture specified, it will fall back to vanilla Minecraft models/textures. So, if you only want to change the model for the furnace, you only need 1 file in your resource pack. 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/
October 21, 20169 yr Author But it still requires the faff of *adding* a whole resource pack, whether that pack contains one texture or a hundred. If there's a way I can do it with just Forge code it'll be much simpler.
October 21, 20169 yr Why would you want to do it in code? You could accomplish this with 0 lines of code, just by adding your replaced resources to src/main/resources/assets/minecraft in the correct subdirectory from there. As long as your built mod is in the mods directory and being loaded by Forge, users won't have to do anything to enable the resource pack. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
October 21, 20169 yr Author I guess I didn't mean strictly in code, but just without the hassle of needing to separately add a resource pack to make the mod fully functional. I did not know I could override things putting them in a minecraft package within my mod, so that's the answer I was looking for - thank you.
October 21, 20169 yr just by adding your replaced resources to src/main/resources/assets/minecraft 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.
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.