Started by
Kuraion
on
Topic category: Help with Minecraft modding (Java Edition)
So the 1.17 snapshot uses init java files, one of which is the ModBlocks.java
This is also the file that includes this event to register render layers:
public static void clientSetup(FMLClientSetupEvent event) {
WhateverBlock.registerRenderLayer();
}
But for some reason, you can't lock this file, even if you lock the base mod files, so now I am failing at adding a block to this event which I'd need to have the texture be multilayered
Any help?
You can not lock these files as they need to be regenerated. You can always add a custom code element or new java file and register to clientSetup event there for custom registraions
Thank you for the answer, now I've figured out what to do!
Would you mind explaining how to do this? I keep getting errors about missing stuff.