Page 1 of 1

[solved]Why my modded item got a red "X" error?

Posted: Fri Oct 07, 2022 9:24 am
by Ioci
edit: it was the folder caused the issue. After saving the image file into "./mod/mymod/icons/" directly, the "X" error was gone

-------------------------------------- original post -----------
This is what I did:
1. edit item "building material" into "stoneflour"
2. edit "strawflour" item's png with gimp to change its color so it looks different from its original
3. save the edited version as png with name "stoneflour" into folder "./mod/mymod/data/items/icons/stoneflour.png"
4. link the edited "building material"'s icon to the direction mentioned above

Then I went to store and found out that its icon become a red "X" inside a red box. Which other files do I need to create to make the new icon displayable? Thank you for reading!