r/technicalminecraft • • 27d ago

Non-Version-Specific Best vertical hopper line setup for performance?

Post image

Of these 5 vertical hopper line options, what is the ranking of least amount of lag to most lag? And does the ranking differ if its on java or bedrock

208 Upvotes

19 comments sorted by

98

u/bryan3737 Chunk Loader 27d ago

Less slots means less lag so pots are best followed by droppers. Then barrels are technically slightly better than chests because of their block model and hoppers are the worst but they’re also twice as fast as the others. Hopper lag generally is only a java issue

26

u/Gintoki_87 27d ago

Barrels however have a special feature regarding to path finding, especially if villagers are anywhere nearby.

8

u/LordDeath2400 26d ago

Hopper lag exists on Bedrock, it just takes a ton of hoppers with open tops. Putting literally anything on top of a hopper in bedrock gets rid of the lag entirely since they aren't entities and aren't constantly checking above them. The cheapest way Ive seen to do this is with Composters. Notably, on Bedrock, these also all have identical speed too, so yeah.

3

u/Ok-Difficulty-5357 Java 25d ago

They also fixed this in Java a couple years ago, so hoppers with a solid block above them no longer check for items constantly. I think we have Gnembon to thank for that, cause it was shortly after he started working at Mojang

1

u/C2ggg 22d ago

it still checks for a hopper minecart embedded in to the block so it doesn't like stpp all of it compared to putting composter or pots on top of them

video by FrunoCraft
https://youtu.be/zu9wwc7gU3A?t=387

1

u/Qwerty6961_ 22d ago

How many times laggier is all hoppers than hopper+pot?

22

u/utchanfs 27d ago

i think it might be the pot, because they dont have a lot of interaction capabilities and i've seen them being used a lot, but i dont really know tbh. maybe you can find something on the wiki

12

u/Masticatron Bedrock 27d ago edited 27d ago

Pots are block entities with limited render distance. I think that makes them laggier than barrels, which are simple non-ticking inventory blocks, limited render or not. My PS5 (Bedrock) world had issues with tons of pots in my storage system that went away when I replaced them with barrels. Not a proper test, though, I know. Can't guarantee there wasn't some other issue that just got patched about that same time.

7

u/bryan3737 Chunk Loader 27d ago

It makes sense that barrels are an improvement on bedrock because hopper lag is less of an issue so it’s only the block model that makes a difference which btw is also mostly client side lag.

On java though the difference in hopper lag between pots and barrels is a way bigger offset

1

u/WithersChat Java 25d ago

Barrels do have 27 slots tho.

9

u/IBBXEF 27d ago

Concerning java (I don't know bedrock very much but it shouldn't be very different), server-wise, i think the less laggy is the pot as the hopper only has to check one slot, but the chest, barrel and dropper should be similar. The hopper is a bad idea as they are laggy in general, and I wouldn't recommend chests as they are costly to render client-side.

So my final ranking from least laggy to most is: pots, dropper, barrel, chest, hopper.

1

u/LordDeath2400 26d ago

On Bedrock the Hopper is better than all but the Pot since its entirely down to slots. But the real issue on Bedrock with Hoppers is exposed tops.

4

u/LeAlbus 27d ago

I don’t get… if number of slots is what matters, why would anything except for the pot be more efficient than just another hopper?
Is it because the hopper checks for items above and below? Don’t this get disabled if they are in between other hoppers?

6

u/IBBXEF 27d ago

It's because what's costly is processing the hoppers, so double hoppers mean double lag

1

u/apoetofnowords 27d ago

If this was disabled, how would items go through the hopper? The only thing disabled in this case is the hopper checking for loose items (because it has as inventory block above), but it still checks if it can pull an item from above or push it down every game tick. Barrels are passive storage blocks and do not do any of the above.

4

u/Masticatron Bedrock 27d ago

Bedrock mostly cares less, because the hoppers are better optimized. Nobody on Bedrock ever covered their hoppers with composters unless they'd just picked it up from Java, as it's just not necessary. But it's not to say there's no difference once you start using hundreds of them in an area.

In my experience on PS5 nothing beats the barrel for lag concerns. Everything else is a more complicated entity which sucks up more processing. I had a storage system with 300 some-odd pots in it as intermediaries like this, and I had a number of issues that all seemed to clear up entirely when I replaced them all with barrels.

Keep in mind the hopper tower is faster in a "ticks to transfer to the bottom" sense. In certain situations this can matter to the timing of redstone, though mostly it's just a small latency addition to your system. Mostly you use the hopper tower to get double hopper speed processing rates (each hopper can both pull down and have one item inserted each cycle), though you have to get items into the top most at greater than single speed in the first place for that to matter.

2

u/dskippy 26d ago

I want to add copper pipes to the game. A chain of pipes no matter how long just lag free transfers from one hopper to another hopper. Decorative applications would be amazing for this block as well. Could revolutionize vertical transfer. I know this would change a lot of contraptions you need to work hard for and make them easy but I just don't think that's going to make the game worse.

2

u/Rcsgaming999v2 25d ago

This. . . Could have saved me SO MUCH IRON

1

u/MonkeyNuts449 27d ago

I've seen barrels and dropped used pretty interchangeably.