Started by
EvanMakesMods
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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.