Hello everyone,
I've been studying Forge's source code for the past few days because I'm basically trying to mod the standard minecraft so that I can specify another terrain.png file for the custom items of my server. I've been trying to locate what Forge does so that the rendering of block now depends on the path of (for instance) the terrain2.png I've created but I'm stuck at the :
public static void renderBlock(RenderBlocks render, Block block, int x, int y, int z)
which is located in the MinecraftForgeClient.java
It seems to be doing the custom rendering but I cannot a single place where this method is called. Feels like a dead end to me. Does anyone know where this method is used or if it has nothing to do with the custom terrain.png path? If so, do you think I can easily replicate this functionnality "by hand"?
I cannot install Forge on my server because my code structure is already way too advanced and too heavy to be rethought.
If anyone has any info on how to achieve this, I would be extremely grateful. If what I'm trying to achieve is not clear, please tell me so and I will try to explain it better... Thanks a lot for reading all that!