Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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?

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/

  • 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.

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

  • 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.

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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.