0
\$\begingroup\$

I found this link: Where do I store (or how do I refer to) textures for custom blocks?

Unfortunately, the answer did not explain where that assets folder actually is. As such, I can't figure out where the textures themselves go.

I'm trying to replicate the tutorial on minecraftforge.net, so the mod's ID is "generic". For some reason, though, the assets folders all contain folders called "genericmod".

Basically: Can someone give me the exact path I should go to, starting from forge_1710_src, to put my graphics in?

\$\endgroup\$
0

2 Answers 2

1
\$\begingroup\$
forge_1710_src/src/java <--this is where your code lives, possibly inside more directories

forge_1710_src/src/resources/assets/[MODID]/textures/blocks <--where block textures go

http://www.minecraftforge.net/wiki/Icons_and_Textures

\$\endgroup\$
0
\$\begingroup\$

Why not store fhem inside the jar file? Then you could reference them as YourMainClass.class.getResourcesAsStream(new File(path fo your file))

\$\endgroup\$
2
  • \$\begingroup\$ He wants the source file path for where the files are natively loaded from, which when compiled, is inside the jar. \$\endgroup\$ Commented Jan 29, 2016 at 17:58
  • \$\begingroup\$ Oh. Cheers. Inside two packages inside src folder, assets.themodsname.textures.blocks and assets.themodsname.textures.item \$\endgroup\$
    – Bálint
    Commented Jan 29, 2016 at 18:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .