Posted October 23, 20177 yr I'm modding with Minecraft Forge 1.12.2 and have recently encountered a problem. When I try to register my items within the mod, I find it impossible because the GameRegistry class by Minecraft Forge has either removed the .registerItems() method or it has gone private. My question is how do I now register my items to Minecraft?
October 23, 20177 yr In the new 1.12.2 version you need to use the new way of registering with the new RegistryEvent<T> Try and read the documentation on at mcforge.readthedocs.io/en/latest/concepts/registries/ If you arent known with events check out this https://mcforge.readthedocs.io/en/latest/events/intro/ I could advice you to check out this repo from Harry'sTechreviews: a youtuber, you can also check out his video on it https://github.com/HarryTechRevs/MinecraftModding/tree/HarryTechRevs-1.12.2-Tutorials/main/java/harry/mod
October 23, 20177 yr Author 3 hours ago, tebreca said: In the new 1.12.2 version you need to use the new way of registering with the new RegistryEvent<T> Try and read the documentation on at mcforge.readthedocs.io/en/latest/concepts/registries/ If you arent known with events check out this https://mcforge.readthedocs.io/en/latest/events/intro/ I could advice you to check out this repo from Harry'sTechreviews: a youtuber, you can also check out his video on it https://github.com/HarryTechRevs/MinecraftModding/tree/HarryTechRevs-1.12.2-Tutorials/main/java/harry/mod 2 hours ago, tebreca said: PS i had the same issue Thank you so much ?
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.