I am coding a minecraft mod and I want to set a icon. I need to place the image file at the root of JAR file (it is what the example code says):
# A file name (in the root of the mod JAR) containing a logo for display
logoFile="examplemod.png" #optional
https://i.sstatic.net/Vcnuc.png
Where in my project do I place the image file? Remember, I need the image file to keep at root of JAR file.
Assuming you are using maven
it will be resources
.