Topic category: Help with MCreator software
Hello there! I imported some pngs as block textures. Then I made some changes in my paint program and saved the new pngs. (It was one pixel off from perfect tiling smh.) Now I would like to keep the old Block Elements, keep the old Texture Resources, and simply replace the current image within one of those Resources with the new contents of the updated png file.
I can't find a Texture import button in the menu other than the one that creates a new Resource (which fails because the name matches an existing Resource,) and I also can't seem to copy and paste from Krita into Mcreator using the OS's clipboard (unless the hotkey is something other than Ctrl+V and I completely missed it in the UI.)
Is there currently any way to do this?
Thanks for making such a great tool. :)
Figured it out. The quickest way seems to be to delete the old Texture Resource, accept the warning about broken textures, then re-import the texture and re-add it to all the blocks that used it. Mcreator will incorrectly display the old version of the texture, but you can wait for the gradle to finish its tasks, exit, and then re-launch Mcreator, and it will display the new texture.
If anyone knows a more efficient workflow for replacing textures, please let me know. :) The moral of the story is to plan ahead and make those changes early so there's less work to redo.
There is a more efficient way to do this- if you just import a texture file with the same name as an existing one, it will replace the existing one- you just have to open the texture file and save it for the texture to update. Alternatively, you can delete the texture, and if you then import a texture with an identical name, none of your textures should break.
My bad. I just found out that there's no need to mess with the Block Elements at all! You just delete the old Texture Resource, import the new one, and as long as the name is exactly the same, Mcreator will link up the new texture under-the-hood. It does the sensible thing you'd expect it to do automatically. The only catch is it doesn't show you that it's done it until you restart the app.
I hope this thread helps somebody else who was as confused as I was about this. :)
Oh, hi there, Mindthemoods. You snuck in while I was typing my post. XD
So far, I have not been able to "import a texture file with the same name as an existing one." It shows me a modal dialogue that only gives me the option to Cancel or pick a different name. "Overwrite" or "Re-import" or "Update texture" or anything like that do not appear to be options:
Weird- I might have been thinking about 3D model files or something. Anyways, glad it's working!