Jump to content

[solved] Change vanilla block textures without resource pack


Jay Avery

Recommended Posts

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?

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.