Posted January 12Jan 12 Yes, the same problem is exactly the same, I did everything right, I was tired of using chatgpt, I was already tired of checking all the options, the paths definitely don't match, and the code itself just doesn't see this file, I tried to check the logs, and everything is called and working, but it's not visible. Also version 1.21.5.Here is a piece of code:@Override public ResourceLocation getModelResource(GeoRenderState state) { return ResourceLocation.fromNamespaceAndPath( LiskaMod.MODID, "geo/liska" ); }I tried different ways of writing paths, but more than one did not help.Here is my path to the file that cannot be found: "src\main\resources\assets\liskamod\geo\liska.geo.json"And here's the damn mistake itself: Caused by: java.lang.IllegalArgumentException: Unable to find model file: liskamod:geo/liska If anyone knows what the error is, please tell me! I will be very grateful.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.