6

I've been playing on the same single-player world in Minecraft for about 3 years or more now, and I at some point I began having lower and lower FPS. What was strange was that I only had that issue inside my base.

My computer is good enough to handle that at ~40 FPS (min 35) using an i7 6700K (and it's integrated GPU, HD 530) but on my laptop I can go as low as 10 FPS. However, anywhere else I get a solid 60 FPS even on my laptop with it's integrated GPU selected (i7 3610QM and it's integrated GPU, HD 4000)

I came to the conclusion that all the lag is caused by the insane amount of redstone contraptions that my base is built upon.

My question is: How can I reduce the lag? Is there any way to somehow reduce the FPS lag caused by the redstone/hoppers, while still keeping their functions? If there isn't an "easy" way, do you have any tips for how I can avoid this in the future?

I read some old posts claiming that hoppers are a huge lag source and that there are ways to reduce some that partially, but those posts are very old and possibly outtaded.

Some more context: I have something called "The Vault" which is a huge nicely-decorated, 3-level room with 480 double chests and thousands of hoppers that automatically sort items into each chests (It's like a creative inventory down there, every item worth storing) and also some extra chests for surplus or uncategorised items, and a villager trading station on which I'm still working. I also got some automatic farms nearby but nothing insane. But they do use long hopper lines and a huge item elevator to send the items directly to the Vault.

I believe that "vault" of mine is what causes all/most of the lag, because of all the hoppers that it uses.

Also, there's an item frame for every two double chests in there, so somewhere around 120 of them.

Even more context: My whole base is built inside only a few chunks, because I started on a small island in an ocean. Also most of it is underground but I almost only expanded vertically, because the ocean is very deep. That means that all the redstone is loaded and active at the same time, right?

7
  • If you're having constant lag spike and fps drop then it's not the Vault, because you're not using that most of the time (I'm assuming) and the hoppers aren't doing anything. It's something that's constantly runing somewhere (possibly many things added together over time) see if you can shut down some of your tickers when you're not using them. Take my comment as a programmer, not minecraft player. (that's why its not an answer too) Dec 12, 2016 at 12:32
  • How much exposed Redstone / Redstone torches is there?
    – Sulphate
    Dec 12, 2016 at 17:36
  • Yes, my Vault is idle most of the time. There's the ocasional item that is automatically inputed by small automated farms but other than that it's only active when I put items in it. I can't seem to find anything too demanding running constantly :( I tried even in spectator mode (for the no-clip movement). Dec 12, 2016 at 22:43
  • As for the exposed redstone: Well, I think all of it. When I'm building a contraption I usually dig a square room that's big enough to fit it, and then just build everything inside that square. I always hide all the redstone from the player, so it is not visible, but if you break the wall then everything is there as I left it (with air blocks). Dec 12, 2016 at 22:47
  • I forgot to mention (but now I edited the question) that the Vault also contains 120 item frames (plus around 6 other ones very close to it). If I remove them I get around 10-15 more frames per second, which is nice but the problem still persists somewhere else. Dec 12, 2016 at 23:04

4 Answers 4

7

As an Intermediate Redstone-er, I'd recommend doing the following:

  1. Convert long Hopper-Lines into Water Stream Ways, example for if you don't understand my terminology on this:

Water Conveyance System Water Conveyance System The packed_ice helps to speed up the transport process, as well as preventing itself from melting like normal ice does. An additional note, replacing hoppers with this greatly reduces block-lag, as myth-busted here: Redstone Myth Busting
(I won't go into all the details here...)

  1. If you have two outputs next to each other, that need to be activated at the same time (for the same amount of time, etc.) then use a repeater to input into one of the outputs.
    Reminder: Power is shared with adjacent blocks when a repeater is used!

Two Outputs powered by One Input Two Outputs powered by One Input

  1. Redstone lighting updates can cause fps-drops: as detailed in the previous hyperlink above, redstone lighting updates can contribute to a 'massive' portion of your fps being 'eaten-up'.
    The solution: lighting the entire circuit with glowstone (or minimising air-pockets between components for optimum light-emission-reduction).

  2. When using clock-circuits, be sure to optimise it's efficiency. So, example: 'Comparator Clock', run the output from beneath/next-to the Comparator-I/O 'wires'.

Increasing Efficiency for Comparator Clocks Increasing Efficiency for Comparator Clocks

I hope my tips/tricks have helped with your fps-drops. I'm interested to see whether some of my concepts will be incorporated into later projects. :)

0
4

You can improve your performance by easily changing the particle/animation settings in your video settings.

When you are in a village with thousands of torches, each one of those torches have both a smoke and a flame animation. By reducing that setting or removing it entirely you can increase your performance without seriously affecting the gameplay.

1

Everything you can easily increase your fps is mostly found the minecraft video settings.

The bigger the screens size, the lower the frame rate. Having MC be in a window will run faster than in full screen.

Fancy vs Fast I always turn it to fast as the first thing I do when I desire more fps. This changes smoothness of lighting and changes non-3D items to sprites, but doesn't really effect the game all that much IMO.

Clouds. Clouds used to be a fps-dropper but not any more, but could still mean the diffrence between 10 and 15 fps.

Don't use super Hi-def texture packs. These can slow down your fps quite a bit.

Optifine? I have heard it increases fps, but I don't have experience with it.

2
  • 1
    I am already using Optifine and almost everything is set to lowest. The game works fine all of the time, even if I turn the settings up a little, except for that area. Jan 15, 2017 at 11:25
  • @HorațiuMlendea This might be a minor help, speaking of mods. May 6, 2021 at 7:38
0

I know this is an old post but could get clicks to this day, so I wanted to add an answer that hasn't really been mentioned yet.

If your vault still lags when no redstone is triggering and no items flow through it, you may be experiencing block entity lag. A few block entities update every tick and so require more processing; hoppers, chests, and a few other redstone related blocks require updates each tick. Hoppers are notorious for creating lag by just existing, even when unused, since they update each tick. A lesser known cause of lag is a chest, which is in fact worse than a hopper in this state. In a void world (no mobs, blocks or entities) the following test was run:

8000 block cube of air (void with no blocks) 310fps

8000 block cube of cobble 280fps

8000 block cube of barrels 280fps

8000 block cube of hoppers 170fps

8000 block cube of chests 5fps

(https://amp.reddit.com/r/Minecraft/comments/app8mi/til_chests_kill_fps_much_more_than_hoppers/) You can reduce lag by using waterways instead of hoppers and, in some circumstances, barrels instead of chests (https://www.reddit.com/r/technicalminecraft/comments/gr30rz/barrels_or_double_chests_a_question_about_lag/).

Any method you can use to reduce the usage of these blocks will mitigate the impact of block entities.

Hopefully someone finds this useful!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .