Davidthemodder Posted May 23, 2021 Author Posted May 23, 2021 On 5/23/2021 at 5:56 PM, Luis_ST said: no, do this in one class, if you have a class for server event and one for client events then create one for both (ModCommonEvent) Expand It crashed. crash-2021-05-23_20.00.52-client.txtFetching info... latest.logFetching info... Quote
Luis_ST Posted May 23, 2021 Posted May 23, 2021 On 5/23/2021 at 6:01 PM, Davidthemodder said: It crashed. Expand please post a git repo of your mod so i can use debugger Quote
Davidthemodder Posted May 23, 2021 Author Posted May 23, 2021 (edited) On 5/23/2021 at 6:08 PM, Luis_ST said: please post a git repo of your mod so i can use debugger Expand What? I never used Github How? Edited May 23, 2021 by Davidthemodder Quote
Luis_ST Posted May 23, 2021 Posted May 23, 2021 On 5/23/2021 at 6:11 PM, Davidthemodder said: What? I never used Github How? Expand use a git client, look in the internet the are a lot of good github tutorial Quote
Davidthemodder Posted May 23, 2021 Author Posted May 23, 2021 On 5/23/2021 at 6:17 PM, Luis_ST said: use a git client, look in the internet the are a lot of good github tutorial Expand So I should make my mod a git project? Like the Folder or the folder where the mod folder is? Quote
Davidthemodder Posted May 23, 2021 Author Posted May 23, 2021 On 5/23/2021 at 6:17 PM, Luis_ST said: use a git client, look in the internet the are a lot of good github tutorial Expand Can I post a zip file of the mod? Quote
Davidthemodder Posted May 23, 2021 Author Posted May 23, 2021 On 5/23/2021 at 6:17 PM, Luis_ST said: use a git client, look in the internet the are a lot of good github tutorial Expand Wait. Is this Right? @Mod.EventBusSubscriber(modid = UltimateSheepMod.MOD_ID, bus = Mod.EventBusSubscriber.Bus.FORGE) Quote
Davidthemodder Posted May 23, 2021 Author Posted May 23, 2021 I think the problem is that the default dist is client and it never gets registered on the server. Quote
Davidthemodder Posted May 23, 2021 Author Posted May 23, 2021 On 5/23/2021 at 7:24 PM, diesieben07 said: Key bindings are always client only. The server has no idea about the keyboard. Expand This is about the registering of the ModPacketHandler Quote
Davidthemodder Posted May 23, 2021 Author Posted May 23, 2021 I GOT IT TO WORK!!! I registered the ModPacketHandler in my main class and it workend. (In the private void setup) Quote
Draco18s Posted May 23, 2021 Posted May 23, 2021 On 5/23/2021 at 6:24 PM, Davidthemodder said: So I should make my mod a git project? Expand It already is one. Quote 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.
Recommended Posts
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.