Posted September 3, 201510 yr Hi all, I started with Forge modding not long ago and wanted to make a mod that doesn't require the server to be also running that mod. It only does math and sets the velocity on the player after rotating it. When I run it on singleplayer it works fine, when I join a server then it stops working all together without errors. Do I need to use the proxy system for this? Code for reference: http://pastebin.com/7RFzxuWn Thanks, Timtower
September 3, 201510 yr It looks like you're reinventing the command system. You should create a class that implements ICommand (extending CommandBase will handle a lot of stuff for you) for each of your commands and then register them with ClientCommandHandler#registerCommand . 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.
September 3, 201510 yr Author I managed to create a command that logs stuff to the console. Creating the required stuff to let it work again (at least in singleplayer) won't be that hard. Will edit when I run into issues again. Thanks guys EDIT: Works like a charm, really appreciate it, the errors that are currently in are my own fault
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.