Replace Block Textures

Started by EvanMakesMods on

Topic category: Help with modding (Java Edition)

Last seen on 15:31, 14. Jan 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Replace Block Textures

So, I'm trying to make a Christmas-themed mod and I want to add lights onto spruce leaves to make them look like Christmas trees. I have textures made to replace the spruce leaves. So, I know that you can't replace the texture with a mod and need to use a texture pack. Does anybody know how I can make it where when spruce leaves spawn they get replaced by the Christmas leaves that I made?

Last seen on 18:36, 16. Jul 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can add resource pack…
Sun, 12/31/2023 - 01:47

You can add resource pack textures to a mod, and they'll override vanilla textures when a mod is installed. (Just keep in mind that this will be permanent, not just during christmas- there's not a great way to make it dependent on the date.)

You can manually open up the workspace folder on your harddrive. (Should be Users/yourusername/Data/Mcreator Workspaces, or something like that.) Inside the workspace, go to src/resources, and you should find a folder named after your mod. Make a new folder named 'minecraft,' and from there on, the file structure is the same as a resource pack. (So you would create an 'assets' folder inside the minecraft folder, a 'textures' folder inside the assets folder, and then just put the spruce leave texture in there. It'll be included in your mod resources, but will override the vanilla texture instead. If you know how to use optifine textures, you could even add some emissive overlays for the lights, and they'll work as long as you have optifine installed.