August 18, 20169 yr Capability registration must happen on both sides, so do it from your @Mod class instead of your proxy classes. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
August 18, 20169 yr Author http://i.imgur.com/kcbTBi5.png A fatal error? LOG: http://pastebin.com/wVZxmgem What am i doing wrong in my packet handler?
August 18, 20169 yr It is not registered. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 18, 20169 yr Just like your capabilities, you're registering your packets in CommonProxy#preInit but ClientProxy overrides this and never calls the super method. Packets need to be registered on both sides, so do this from your @Mod class instead of your proxy classes. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
August 18, 20169 yr Author That worked perfectly. Thank you I was registering them in common because I assumed that's how they worked. How the hell are Elucent's mods working properly? https://github.com/RootsTeam/Roots/blob/master/src/main/java/elucent/roots/proxy/CommonProxy.java#L28 I'm just really curious. He doesn't even register these in the main mod file.
August 18, 20169 yr How the hell are Elucent's mods working properly? https://github.com/RootsTeam/Roots/blob/master/src/main/java/elucent/roots/proxy/CommonProxy.java#L28 I'm just really curious. He doesn't even register these in the main mod file. In that mod, ClientProxy#preInit and ServerProxy#preInit both call the super method ( CommonProxy#preInit ), so the code is run on both sides. This is equivalent to running the code from your @Mod class directly, so there's not much point in using the proxy system for it. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
August 18, 20169 yr And that is why I think passing off the init events to the proxy is stupid. 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.