Minecraft Blogs / Other

Minecraft lag

  • 770 views, 1 today
  • 1
  • 0
  • 5
Croctom avatar Croctom
Level 29 : Expert Skinner
12
If there's one thing a lot of minecraft players have trouble with its lag. framerate lag especially. It can really ruin the gaming experience for some people. I don't understand why minecraft has such a big problem with lag. Its a blocky game with pixelated graphics and there's not a single round object in the game. (yes i know things like clocks and compasses are round but they're still made of square pixels.) Take games like skyrim for instance: HUGE world, very detailed graphics, much more content and yet it has barely any framerate lag.
I understand the minecraft world is virtually endless, but maybe if it wasn't endless, maybe if it was just 1 million blocks in each direction and that's it. Would that help the lag? anyway who needs and endless world? I've barely explored more then 10000 blocks in a single direction on my singleplayer world that I've played for months. I honestly think minecraft should not be anywhere near as laggy as it is now. Who cares if the file size needs to be bigger or if they need to spend days changing the games coding to get it right. It would still be totally worth it!. I'm sure many other people will agree.

Thanks for taking the time to read this blog and feel free to comment.

Create an account or sign in to comment.

1
11/29/2013 5:56 pm
Level 3 : Apprentice Miner
L4Desu_DJM
L4Desu_DJM avatar
Hello Corctom,
let me explain to you why minecraft is way more laggy than other games. But first: there is the possibility that youre PC is lagging or the server is lagging:
*Computer Lag:
- constant low fps
- slow respond of input
Fix: get a better pc or if you can not afford one, do render distance realy small and general low video settings, maybe optifine would help.
*Server Lag:
- reappearing blocks and placed block disappear again
- can't pick up items
- chunks don't load in
Fix: If you aren't the owner ... you can't realy do anything. If you are the owner put more money in the server and/or reduce the by players loaded chunks and entitys.

Now, why does minecraft lag more that other games:
The main reason would be, that one could change everything. In skyrim for example the world is fixed and can not realy be changed by the player. So, Minecraft is made in java and java is an object oriented programming language, which would make every entity(cows,item frames, players,...) and probably every block an object. I don't want to go into to much detail about programming. So basicly what does it mean If there is so many objects in a game? It results in every object "talking" to the other objects in form of methodes. But, thats still fine, till there is objects that get update a lot ( and may even have spectial properties) and thus "talk" a lot. Basicly resulting in many many calculations that need to be done.
Lets do an example of a realy laggy thing players like to do:
A player has 50 chickens in a small water pit:
Resulting in 50*50 calculations each tick, for the collision calculation for each chicken with each ckicken.
Then because they are in water also testing for block and 50*swimming hight for each chicken.
And then there are still all the "random" object actions, like cackling, shakeing,...
Lets assume every chicken does 5 "random" actions. So 50*5
Then we end up with 50*50+50+5*50=2800 methodes/calculations that need to be done each game tick just for that small water pit. Well but if theres no player loading it there shouldn't be a problem ... only if one is there, the server has a lot to do.

Now about the infinit world thing you mentioned. If there never was a player in that area of that minecraft world, it will not be loaded nor calculated the world is only as big as the players have explored it and also only the chunks where players are in, are processed. So if you have a laggy server reduce the loaded chunks and or entitys in those loaded chunks to reduce lag.

regards L4Desu_DJM
1
12/01/2013 3:00 am
Level 29 : Expert Skinner
Croctom
Croctom avatar
Thank you for that very good and detailed explanation, much appreciated.
1
07/16/2013 12:46 pm
Level 29 : Expert Blockhead
CookyGamer
CookyGamer avatar
Hey Bro, Its Not Minecraft Thats Causing All your Lag, its your COMPUTER!
1
11/23/2012 7:13 pm
Level 26 : Expert Toast
EnderPlix
EnderPlix avatar
they cant fix lag its ur computer and downlaoded games that are not also created for ps3 and xbox360 will lag a bit and i need endless worlds
if i had ended worlds my worlds would be f'd up
1
11/04/2012 2:22 am
Level 20 : Expert Dragon
bohwalks
bohwalks avatar
hi Croctom cun u subscribe to me pls
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome