Kander16 Posted August 12, 2016 Share Posted August 12, 2016 Hi, When is the playerLoggedInEvent called? Before the world has loaded or after? If it's called before the world is loaded, how to change it so that it's after the world has been loaded. I'm trying to add a version checker into my mod, and I'm using playerLoggedInEvent for sending a message to the player when the player is logged in. But I think that if you've a very bad connection, it takes very long to load the message from a file on the server and the world will not load before the message is loaded. I want to have the message loaded completely after everything else. Quote Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button. Link to comment Share on other sites More sharing options...
Animefan8888 Posted August 12, 2016 Share Posted August 12, 2016 It should be called once the world is loaded. Quote 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. Link to comment Share on other sites More sharing options...
Ernio Posted August 12, 2016 Share Posted August 12, 2016 My opinion: totally wrong place to do such checks. I can't really imagine why version checker should fire from said event. Do you want to add version checker for your MOD? In that case - forge already gives you one, please use it. Quote 1.7.10 is no longer supported by forge, you are on your own. Link to comment Share on other sites More sharing options...
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.