Posted January 27, 201411 yr Hello, I am a modder. I've begun updating my mod to 1.7.2 using forge 10.12.0.1013 when I realised that when I left a world and then rejoined, all the mod blocks / items disappeared and left this error in the console: http://pastebin.com/8e5Nt7w7. As far as I can see, it's detecting the missing blocks / items and saying that they are missing but still connecting to the world with the mods: ([07:26:42] [Netty IO #3/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],AtomicAPI@v1) I was wondering whether it was: A bug in forge An issue that I needed to fix If it was a mistake on my part, how would I go about fixing it and what are the common causes of this error? Thanks
January 27, 201411 yr You've somehow registered your items/blocks wrong so that they no longer match up. Also as a pro tip, your domains should always be lowercase: AtomicAPI:compoundItem should be atomicapi:compoundItem or atomic_api:compoundItem How are you registering your items? I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
January 27, 201411 yr Author Ok, thanks for the tip. I'm using GameRegistry.registerItem(compoundItem, "compoundItem");
January 27, 201411 yr Author Also, this only seems to occur on the client, the server seems to be fine
January 27, 201411 yr ya you should specify your domain manually in there. One of the things is, you could of changed your mod id or something that causes it to not sync up anymore. Does this happen on FRESH worlds? Create a world, go to main menu, join same world. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
January 27, 201411 yr Author Errm, derp on my behalf at no point was I giving any form of item or block Id. How do I give an id to a block or item?
January 27, 201411 yr You don't as it's not existant in 1.7 How about you just start posting all of your codee and exact steps to reproduce. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
January 28, 201411 yr Author I'm confused, as I have now made my unlocalized names the same as the names I used in GameRegistry.registerItem. Another thing, I can spawn the items in using /give playerN
January 28, 201411 yr How about you just start posting all of your codee and exact steps to reproduce. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
January 28, 201411 yr Author Oops, my keyboard derped there. /give playerName atomicraft:compoundItem gives me the item but as soon as I even try to right click it, I get an itemstack out of bounds -1. Also, if I create a world, quit the game, relaunch mc and join that world, everything is still there meaning that the things only disappear when leaving and rejoining in the same game session. Ok heres my init code where the items are first referenced http://pastebin.com/hYRmwLfT and then my item init code http://pastebin.com/3dgyQ5bm
January 28, 201411 yr Welcome. I am the creator of a thriving Polish modification, and I'm one of the editors Minecraft Wiki Poland. But the thing ... Happened to me the exact same problem as robobanana99. I was able to fix it, so I think I can help betraying how. To fix this error simply swap lines public static void init(FMLInitializationEvent event) on public void preInit(FMLPreInitializationEvent event) which fixes this problem. Yours Bartosz Konkol ps. I apologize for any grammatical errors. On average, I know language English... Bartosz Konkol
January 29, 201411 yr Author Thank you so much Probbably not the proper way round it but it works for now!
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.