Posted February 7, 20169 yr Hello , I started working on my mod after a few weeks break and now i updated forge and everything and now i have fps drop, screen is freezing every few seconds, and i don't know what's causing it, I tried removing all my events and it didnt help , but what helped is reducing view distance to 2 , when i set it to 8 it's dropping fps but on 16 it freezes. And i know it's probably not my pc because when i try it in vanilla i can play normally even on 32 chunks view distance. You can see my mod's source code here
February 8, 20169 yr I can only assume, (I'm not entirely sure) but what may be causing it is something that's in the "SendPacketToClient.java". I could be wrong, but mess around with it. -Will. PLEASE do not send me messages with your problems, instead just post a thread first, and then other people can help you too. Thanks for the consideration.
February 8, 20169 yr Turn on the diagnostics (F3) and get an entity count. Having too many entities doing lots of thinking and fighting can bog down the game (maybe because of messaging). Loads of tile entities can slow you too. The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.
February 8, 20169 yr I would not use Forge for 1.8.8. It's highly unstable. Try switching to 1.8.9. Once I wanted to update my mod to 1.8.8, but there were so many methods missing x_X Bringing the best mod back alive! Our mod REFORGED! Balkon's Weapons for 1.8: https://github.com/TheOnlySilverClaw/Reforged/releases
February 8, 20169 yr Author I found the error, it was not my code's fault, for some reason there was only 256mb allocated for minecraft so that's why it was lagging. I added these arguments for JVM: -Xms512m -Xms1024m and then it worked fine.
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.