Now what happens is the server will run perfectly, and then all at once with nothing displaying in the console beforehand, it will tell me that it is crashing because a tick took 60 seconds. This behavior stopped once I teleported the player away from their base and it remained unloaded the server would run perfectly. Recently the server started crashing repeatedly due to a 60 second tick whenever a certain player loaded their base. I'm running a 1.19.2 server with a custom modpack. It's always a good idea to look at other people's code to see how to improve. I've gotten pretty good, but it's very easy to fall into bad habits. I personally learned Java by just looking up random resources to find what worked for me, then I just trial-and-errored my way here. It's no secret that even veteran programmers regularly use Google to make sure they're doing something correctly. If you're a visual learner, there are also many YouTube tutorials that may help explain some confusing aspects of java using examples, too many to list here.Īnd of course, when in doubt, Google can be your best friend when something is confusing. Oracle's official documentations have a pretty bare-bones tutorial, if that works for you.Their section on Classes and Object Oriented Programming in general may be particularly useful. W3Schools' tutorials are pretty good, and they have good examples.I'm not a Java expert myself so I'm sure someone else could give a better answer, but there's a few resources I know of. EventBusSubscriber ( modid = PlatinumMod. For my Hello World project I chose to make a platinum mod? How would I add the enchant effect to an Enchanted Platinum Apple.
0 Comments
Leave a Reply. |