Posted May 16, 20187 yr Thi is my src , so far I have double checked file names and stuff, probably is something I wouldn't notice so I shalt post here. https://github.com/lAimBotl/ElectroStatic-src
May 16, 20187 yr What things are having problems? Are you getting anything in the log? (You should be, show it!) IHasModel is stupid. All items need models. This is stupid: https://github.com/lAimBotl/ElectroStatic-src/blob/master/main/java/com/lAimBotl/electrostatic/util/handlers/RegistryHandler.java#L36 All that method does is call Main.proxy.registerItemModel(...) with parameters that you have available, there is no reason to go to the item class for it. https://github.com/lAimBotl/ElectroStatic-src/blob/master/main/java/com/lAimBotl/electrostatic/util/handlers/RegistryHandler.java#L30 ModelRegistryEvent is client side only, this will crash the dedicated server. Edited May 16, 20187 yr by Draco18s Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
May 16, 20187 yr Author Thanks for the reply, tbh idk what else to use. the Item texture works, but when placed it has a missing texture. https://pastebin.com/KXPna3WZ Edited May 16, 20187 yr by lAimBotl
May 16, 20187 yr Caused by: java.io.FileNotFoundException: esm:blockstates/bat_repeller_block.json Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
May 16, 20187 yr Author { "variants": { "normal": { "model": "esm:bat_repeller_block" } } } This is what is inside that
May 16, 20187 yr You misunderstand. The game cannot find that file. Its contents are irrelevant if the file doesn't exist (i.e. misnamed, in the wrong place, etc). Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.