Posted April 26, 20187 yr Just added a update checker to my library mod and now when the game loads up i see this output in my console, anyone have any idea whats causing it or how to fix it? Adding break points and bit of debugging shows its related to registry names on my items but i haven't changed them at all and was not getting this before i added my update checker [14:30:52] [main/INFO]: Potentially Dangerous alternative prefix `crafthorsearmor` for name `horse_armor`, expected `apexcore`. This could be a intended override, but in most cases indicates a broken mod. Source Code
April 26, 20187 yr Author 1 hour ago, diesieben07 said: You cannot create items in a static initializer. It must happen explicitly in the proper events, ideally RegistryEvent.Register<Item>. Also, Forge already has an update checker, don't write your own. thanks, using the registry events fixed my issue dont know why i didnt use them in the first place, as for using forges update checker, dont know if its possible but i wanted 1 json file for all my mods that why wrote my own update checker, nothing like forges update checker that allows for a change log and stuff just very simple for multiple mods in 1 file
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.