Intro to Storage Tech No. 1: The Hopper

  Рет қаралды 144,483

Nico is LOST

Nico is LOST

Күн бұрын

This is episode 1 of the storage tech series.
This is a community researched and written video! If you would like to be involved please join the discord community!
There are more topics to cover with hoppers (like hasing), but we will cover those in later videos.
The following discord members have contributed to the production of this video:
Nvertd
​ @silnarm
@EmdyMC
@wizotok4852
KWAKZ
Minty
Pew
Ayiana Arch
PogMaster9001
ShyamiSalami
Intro world from: @AndrewsTechMC
Join the discord for access to our free, public SMP, technical support, and just generally good vibes.
Discord Link:
discord.nicoislost.com
For perks like early access, video shoutouts, and exclusive world downloads join my patreon, it is really appreciated:
/ nicoislost
As always feel free to comment if you have any questions
#redstone #minecraft #hopper
00:00 Introduction
01:09 Hopper Intro
03:07 Hopper Logic
06:52 Hopper Logic Diagram
07:11 Hopper Lag
09:17 Outro

Пікірлер: 274
@Mulakulu
@Mulakulu 10 ай бұрын
Mojang should add a suctionless hopper, or a pipe. Still only allowing the transfer of items horizontal and downwards, but being slightly cheaper and much less laggy due to not checking for entities above it.
@magicspell1780
@magicspell1780 10 ай бұрын
Maybe using some copper instead of iron in the recipe to give another use for copper.
@Mulakulu
@Mulakulu 10 ай бұрын
@@magicspell1780 That's brilliant. I love that. Copper pipes. Iron is already used for so much
@Gandhi_Physique
@Gandhi_Physique 10 ай бұрын
@@magicspell1780 Right. Copper definitely needs more uses.
@milokiss8276
@milokiss8276 10 ай бұрын
Made of copper. I will keep advocating for more copper uses. Because jesus christ why is copper SO common but SO useless. It needs a reason to exist, And crafting a large amount of pipes for your pipe line sounds perfect. I’m still mad about copper golems.
@Gandhi_Physique
@Gandhi_Physique 10 ай бұрын
@@milokiss8276 Even if it isn't pipes, copper is so useless right now that something has gotta be done. Copper is almost the modern version of what Lapis Lazuli was.
@PasiFourmyle
@PasiFourmyle 10 ай бұрын
Really looking forward to this. There's something really great about being able to just throw all of my stuff out and have it neatly sorted that makes storage tech my favorite tech.
@maxirunpl
@maxirunpl 10 ай бұрын
Yeah I was always making big storages without any sorting machines and sorting it all manually was pain in the ass.
@fockssss
@fockssss 10 ай бұрын
I completely agree, recently finished an all (stackable) item sorter utilizing basic multi sorters and a few bulk tiles, and the ability to just toss in a shulker full of materials or just random items and have all of them perfectly sorted is allowing me to actually get back into building in survival. Also have several farms hooked directly into the sorter which just makes using it even more satisfying. (Accidentally made this way longer than I thought lol)
@-ElysianEcho-
@-ElysianEcho- 10 ай бұрын
This is the video that finally made me understand why composters on hoppers reduce lag
@sq33z3r3
@sq33z3r3 10 ай бұрын
Although Ilmango and Ray(sWorks) have explained hopper operations and I understood it all, that flowchart simplified it so much. Well done. Keep up the great content.
@Threefold.
@Threefold. 10 ай бұрын
Cool video! I enjoy the way you explain things and I'm looking forward to following the storage-tech series :D
@Exotic69420
@Exotic69420 9 ай бұрын
😮😮😮😮threefold
@th3fish
@th3fish 10 ай бұрын
I never mess with storage systems because there is so much to sort. also you do an amazing explanation on how this stuff works!
@DreadKiwi
@DreadKiwi 10 ай бұрын
So, if we take that [double chest -> hopper -> double chest] setup, could you essentially create a lag switch? 1) Build an arbitrarily large number of those double chest setups 2) Connect all of the hoppers in the setups with redstone 3) Connect a lever to the redstone, so that all the hoppers can be turned on/off simultaneously I'm not sure what applications this might have (other than trolling servers).
@pepsiatlas5452
@pepsiatlas5452 10 ай бұрын
Tracing line through the flow chart is a very very good visual aid for efficiency
@indoorjetpacks
@indoorjetpacks 10 ай бұрын
the walkthrough of the abstract followed by the flow block diagram is great. really thorough explanation
@Jackpkmn
@Jackpkmn 10 ай бұрын
Hoppers get anxious and need to be covered up to feel better. Got it.
@thegeektrain6908
@thegeektrain6908 10 ай бұрын
This is one of the best minecraft youtuber of the era. You definitely deserve more. Keep making great videos! Subbed :)
@manukeno
@manukeno 10 ай бұрын
5:09 I think the targeted hopper gets cooldown only when the targeted hopper is empty.
@NicoisLOST
@NicoisLOST 10 ай бұрын
Yes, I think you may be right.
@jvliaaaaan
@jvliaaaaan 10 ай бұрын
@@NicoisLOST has to be that way. Imagine a hopper line. If it would be as described in the video, the items would just stack up from the first hopper, into the next and then so on. But items pass through 1 at a time. Other than that, great video!
@Yowesephth
@Yowesephth 10 ай бұрын
Fantastic vid! I really enjoy how you explained the operations and also covered both the most and least lag friendly layouts. Can't wait to see more of this kinda thing!
@slocm3z
@slocm3z 10 ай бұрын
this is crazy. thank yall for the work. I love in depth explanations about stuff like this and it's good to see every aspect put into graphs as well
@key_bounce
@key_bounce 10 ай бұрын
Can you clarify how storage entities (not blocks) fit into this -- I'm looking at minecarts with chests, and the horses/mules/llamas/etc as well.
@CambaCua1995
@CambaCua1995 5 ай бұрын
Super nice video for learning. Thank you!
@boxlid214
@boxlid214 10 ай бұрын
Tip for those situations where you need to dump a ton of items downward: Use a sticky piston+observers+dropper setup with two hoppers feeding a downward facing dropper, and place a cobweb right in the dropper's face. Item entities aren't much of an issue since the items automatically stack as they sink through the cobweb, and then you don't even need a drop chute since cobwebs ensure items fall perfectly straight down reliably. Lot less laggy than a ton of single item entities falling or a ton of vertical hoppers.
@tt54l32v
@tt54l32v 9 ай бұрын
You reckon that can keep up with a bedrock portal tick gold farm
@boxlid214
@boxlid214 9 ай бұрын
@@tt54l32v depends on the quantity of items, you can always use a instant-unloader minecart hopper if it's bamboo generator level load, basically collecting and dumping 5 full stacks at a time. If you don't need it that heavy duty, you can always tile more than one piston-dropper setup with the comparator only reading one of the droppers on the end
@metamilo
@metamilo 9 ай бұрын
That was a great and much needed explanation for those looking to get into storage tech.
@IoIIonator
@IoIIonator 7 ай бұрын
very interesting, i didnt think hoppers would be polling every frame, you would think they only check if the relevant blocks are updated.
@LimolaGaming
@LimolaGaming 10 ай бұрын
"The only block that can do that" Hopper minecart: i shall be forgotten😢
@LimolaGaming
@LimolaGaming 10 ай бұрын
I know that Minecraft hopper is not a block, but he said item and I'm too lazy to edit
@juusomaenpaa7236
@juusomaenpaa7236 9 ай бұрын
​@@LimolaGaminghopper minecarts can't push to chests tho
@pasta2469
@pasta2469 10 ай бұрын
I am already invested in this series! Good work!
@GuilitoDoinks
@GuilitoDoinks 5 ай бұрын
There's few things better than returning from a big mining expedition, filling a chest with valuables and trash, having a hoper suck all of it up to bring it to a system, to then see all of your important items be neatly organized and smelted in different barrels, while the trash being gone forever.
@eb3yr
@eb3yr 9 ай бұрын
Seeing that all of that is done every tick per hopper baffles me. I would've expected optimisations based on the connected containers to determine when they become incapable of having items pulled from or pushed into them when a respective flowchart step is reached, which're then reset whenever those containers are interacted with. Feels like it'd skip a HUGE amount of calculations, unless this is one of those really complicated things in the code that you haven't delved into. Really good video! Definitely helps a ton.
@areadenial2343
@areadenial2343 10 ай бұрын
Very informative! I'd like to see more deep dives into storage tech. One thing I was sad to see not included in this video was how hoppers interact with entities that have an inventory, such as chest minecarts. Do they also pull from the oldest entity first, like they do with item entities? What about hopper minecarts, are there any differences in their logic? What about the potential for lag when many entities with inventories occupy one hopper's pickup region?
@irwainnornossa4605
@irwainnornossa4605 9 ай бұрын
Very much thank you for this explanation, now I know why my mansion lags so much. Storage, with double chests and hoppers.
@lulboiking5806
@lulboiking5806 10 ай бұрын
great video!! and thanks for all your awesome minecraft content, I really love it!!😊
@Erimioa
@Erimioa 10 ай бұрын
Personaly, i prefere furnaces over composter. They have only 1 slot a hopper can suck too, but are simplier to made (one source instead of two who are also have to be made) and you can put redstone lines on top of it as a hopper locking line. Furnaces where a source of lag by themself, but that was a thing of the past. After 1.15 or 16, they become lag friendly as long they didn't run or hoppers go into it. But i don't know if it is as kag friendly as composters. It would be nice to Check different container how good they are. Nevertheless, the redstone part is important for me, so i use what i have.
@uponeric36
@uponeric36 9 ай бұрын
"Push and pull events..." Zoom out to Masahiro Sakurai smiling and nodding: "Push and pull, push and pull..."
@TheGoodMorty
@TheGoodMorty 10 ай бұрын
hoppers are probably my favorite vanilla block
@michaelstriker8698
@michaelstriker8698 9 ай бұрын
This cool, and explains some stuff I've seen. Assuming, rightly, that I'm focused on entity pickup... I need hoppers to ... have fewer pickup options? (I think I will have to test stone types for friction, too.)
@rendezvous_
@rendezvous_ 10 ай бұрын
Darn you with the chest minecart! I've been familiar with the flowchart, but the looping part of the container logic was an eye opener to me. Lesson learned: Hoppers bad. Place items in the world and unload with TNT.
@mrwolfyface1361
@mrwolfyface1361 10 ай бұрын
thank you soo much for this video, it was very interesting and will deffinitly help reduce the lag on my Minecraft Server that I have
@GoGoGoTV1
@GoGoGoTV1 7 ай бұрын
Hoping you continue this series!
@SkylorBeck
@SkylorBeck 10 ай бұрын
It took me five days to reverse engineer the hopper code for my mod Tokenable Furnaces and Storage. This video is very well made.
@joue_zep
@joue_zep 9 ай бұрын
Once again a good video, clear and well edited, keep it up!
@uruacufutsal1
@uruacufutsal1 10 ай бұрын
They should really optimize the hopper code, it would solve so many problems and open so many possibilities on contraptions for non technical people. I honestly never done a huge sorting system only because of lag
@EdvinNGU
@EdvinNGU 10 ай бұрын
fun fact i found out fairly recently which Really surprised me..... but ill let you take a guess... did you know there is another way to input items into a chest?? other then hopper and minecarthopper? guess now place a dispensor or dropper facing up and but a chest above... place any item activate with redstone, i was so surprised and confused when first saw this but like dam NO one talks about this... i had a friend of a friend that barely plays miencraft show me this cuz he saw it in a really old video as a kid
@psigreen3864
@psigreen3864 10 ай бұрын
it's a good way to do it, but it requires a redstone pulse and the hopper does not. they both have their use cases, for sure
@EdvinNGU
@EdvinNGU 10 ай бұрын
@@psigreen3864 i wasnt refering to adding it as part of the video I was just interested because a hopper has a input mechanic dispensor and hopper are different and not direct do they have throw out and input mechanic or is it that the chest has a interesting item collecting feature if direct without any gaps
@servilleta__6075
@servilleta__6075 9 ай бұрын
Yeah that's also the only way to move items upwards without them being entities of course. Since hoppers only move them downwards and sideways.
@mrfoodarama
@mrfoodarama 10 ай бұрын
Great video, simple and easy to understand explanation
@Fakyp
@Fakyp 9 ай бұрын
there is so possibility of caching hopper data to optimize it but the trade of will be a increase of memory usage. for example when trying to pull or push a item if another of eqaul was already been checked it skips unless the adjancent blocks got updated
@ClayHales
@ClayHales 10 ай бұрын
Nice video. I feel like you missed talking about how hoppers pointing to the side with hoppers below it work.
@GamingBren
@GamingBren 10 ай бұрын
You are very underrated and taught me that composters can help the game perform better. Thank you, I subbed, and I hope you get a ton more subs in the future!
@ThisIsNotADrell
@ThisIsNotADrell 10 ай бұрын
I wonder if this can be used as lag machines? Hmmm... Just think about it! An inconspicuous double chest with an innocent hopper down to another even more inconspicuous double chest! It practically writes itself! Say you portion out a few such setups in a lightly furnished base (just enough to avoid suspicion), and do so in multiple bases (to avoid even more suspicion), and viola! A lag machine so we'll hidden that not even the most paranoid of mods will suspect it!
@smooshymemes
@smooshymemes 10 ай бұрын
so THATS why i need 7 composters for my item sorter for my piglin farm
@wilkowskyy
@wilkowskyy 10 ай бұрын
i didnt know why people put composters above ther hoppers, now i know that its reduses lag. nice simple video about difficult topic.
@agsilverradio2225
@agsilverradio2225 10 ай бұрын
"Hoppers. They suck."
@Fuzzi974
@Fuzzi974 10 ай бұрын
I knew the hoper was doing all the function from in game experience, not the underlying mass of calculation... Damn Good to know!
@elias69420
@elias69420 10 ай бұрын
Thanks for the video! This really cleared some things up. In what situations does the whole hopper situation really ruin everything? Lemme rephrase that: in which situations is it critical? Hoppers are basically only used to transport items, and they do accomplish that well enough. I'm assuming certain systems that have to be fast, precise etc.?
@NicoisLOST
@NicoisLOST 10 ай бұрын
I think the only obvious case is in spigot forks, the optimizations there can mess up things where the game is laggy. Otherwise it just will slow the game down, which isn't good of course... but this only really applies to the extreme cases, hundreds if not thousands of hoppers.
@PugganBacklund
@PugganBacklund 9 ай бұрын
So do a vertical hopper line, with every other hopper disable reduce lag.
@MakenaForest
@MakenaForest 10 ай бұрын
i love sending things to my friends with the 1wt unload-proof 100% reliable 0 gt reset slice-preserving dustless slimeless noiseless variable mixed storage system
@TheMrPog
@TheMrPog 10 ай бұрын
Awesome vid, keep up the good work!
@cosmo_7
@cosmo_7 2 ай бұрын
Going back to this vid, just to say that decorated pots might be more efficient than composters on top of hopper, since it's only one slot
@Nadeli0
@Nadeli0 9 ай бұрын
Completely forgot you had a KZbin and got surprised when I recognized Emdy in this video.
@iwersonsch5131
@iwersonsch5131 9 ай бұрын
Now, are there mods that make hoppers less laggy, for example by: - creating a hash of the hopper's items and comparing it to any containers above and below it so it only has to go through the list if something that might be movable exists - going on an 8 tick cooldown if the push or pull was blocked - checking whether the hopper or the adjacent container had any changes before reattempting a failed push or pull?
@WhyplayGaming
@WhyplayGaming 9 ай бұрын
Wow thank you gonna add the composter idear too my auto sorter see how much it reducess lag. But quick question would it not just work if you put a solid block ontop of a hopper surly then it will detect it dont need to do a check for pull in this case?
@shoespeak
@shoespeak 10 ай бұрын
really pumped for this series
@DyingDarkStar
@DyingDarkStar 7 ай бұрын
i think copper pipes would solve the lag issues, (also it would be nice for it go up and down unlike the hopper) and with the addition in the next update of auto crafting, i would also like a redstone hopper where you can sort all items instead of just stackable items.
@RaPsCaLLioN1138
@RaPsCaLLioN1138 10 ай бұрын
Oooh a whole series!
@Heyght
@Heyght 6 ай бұрын
"Storage tech is my passion" -Nico
@psigreen3864
@psigreen3864 10 ай бұрын
To save a little bit of performance, could the hopper not cache the state of the inventories above and below it if they do not allow a push/pull and check if the inventories have changed before attempting again (assuming that the hopper's inventory has also not changed)? Could maybe also be a hash, if generating the hash wouldn't cost more than you save on comparison time. That could potentially cause an issue if two unique inventories have a matching hash, but it's unlikely.
@chaosmagican
@chaosmagican 4 ай бұрын
I would kinda want to see the code and how it's optimized because I immediately got some ideas on how to optimize it (especially considering the most popular use cases of hoppers). But I think what we really need is new blocks/components that do less things at the same time. As many suggested it could also give copper more uses.
@phixidelta
@phixidelta 10 ай бұрын
I'd like to troll a bit: the command block is the most complicated block.... Im still excited to watch tho :)
@haaldor
@haaldor 10 ай бұрын
I might be mistaken, but I'm pretty sure update order is pulling BEFORE pushing, not the other way around like you said in the vid; That's why storage silos work after all - because lower hopper pulls item before upper hopper is able to push the item to chest. But - other than that, it's a really nice explaination and I think this series will be do amazing job at getting more players to understand and like redstone and storage tech
@NicoisLOST
@NicoisLOST 10 ай бұрын
Yeah this is a common thing. What you are mentioning is the update order between two hoppers, the video focuses on within the hopper itself. For the silo case it only matters which hopper updates first not which event within the hopper. :-]
@haaldor
@haaldor 10 ай бұрын
@@NicoisLOST Oh, in that case now I'm confused! I was so sure every tick game first executes pull action for all hoppers, than push action for all hoppers etc - not all actions per hopper... But it wasn't my knowledge, just only gut feeling; Now that you said it, it makes much more sense (taken how all the other blocks are updated) for game to update hoppers all actions at once. Well, this is why even experienced people should watch basics videos from time to time, thanks for opening my eyes on that topic!
@NicoisLOST
@NicoisLOST 10 ай бұрын
Glad to help :-]. Join the discord if you want to discuss more, happy to dig more into it. Pro
@gentle_warrior
@gentle_warrior 10 ай бұрын
Would be really nice if you explained how hoppers work together. Like how several hoppers facing down move items at double speed and how the lower hopper has priority in a hopper silo. Also, how do hoppers facing down go at double speed if 1 hopper puts the other into cooldown like mentioned in this video? Those are all things I would be really happy to see covered.
@NicoisLOST
@NicoisLOST 10 ай бұрын
This will come :-]
@derram0k
@derram0k 10 ай бұрын
The bottom hopper on a silo getting priority comes down to the fact that hoppers pull before they push. So a hopper below another hopper will pull items out before the top hopper can push its items into the chest it's pointed into.
@RussianSpy4632
@RussianSpy4632 10 ай бұрын
If you have all this knowledge on how to make hoppers less laggy, do you have a design using your knowledge for an item sorter that is less laggy than the standard one? Or is it already the most efficient it can be (before Ianxofour eventually posts a video)
@LiLGhostPlays
@LiLGhostPlays 10 ай бұрын
I'm like slightly above noob level when it comes to redstone. One time I built an automatic dripstone farm without a tutorial, and I also made an infinite charcoal farm that recycles the charcoal it creates into the fuel source to cook even more charcoal, I use this machine in servers that have a money economy that I need tons of fuel in, but can't get a lot of it easily. So I just buy logs in /shop and build the machine.
@RussianSpy4632
@RussianSpy4632 10 ай бұрын
So if I understand this correctly, a hopper acts somewhat like a diode with it constantly pulling in items and pushing others out. If it stops pulling, there is no push
@boxlid214
@boxlid214 10 ай бұрын
Not necessarily, if your hopper is filled with carrots, and the container/entity above it is all potatoes, it'll continue pushing until a slot is free to pull in potatoes
@luizclaudaofossati1495
@luizclaudaofossati1495 7 ай бұрын
pls continue with this
@HPerrin
@HPerrin 10 ай бұрын
I hope for Mojang’s sake that there is also a Map of item types to slots of a block’s inventory. Scanning through an Array a bunch of times is unnecessary.
@heretichazel
@heretichazel 9 ай бұрын
One of the reasons i prefer modded so much, i can entirely ignore hoopers sinxe pipes are just better and cheaper
@noob1noob2real
@noob1noob2real 10 ай бұрын
how to code a hopper in 5 minutes: 1. cast a ray above to see if there is a storage hitbox intersecting the ray 2. make items appear in the hopper 3. cast a ray in way the hopper is facing to see if there is a storage hitbox intersecting the ray 4. funnel items into container
@user-zu1ix3yq2w
@user-zu1ix3yq2w 10 ай бұрын
would be kind of amazing if you even had to cast a ray though
@noob1noob2real
@noob1noob2real 10 ай бұрын
@@user-zu1ix3yq2w then explain to me how block detection works if you’re so smart
@user-zu1ix3yq2w
@user-zu1ix3yq2w 10 ай бұрын
@@noob1noob2real I don't think you understood my comment. Get the fk out of here.
@lydianlights
@lydianlights 9 ай бұрын
@@noob1noob2real You actually don't need raycasting for detecting containers because minecraft is on a fixed cube grid. This means that every x,y,z coordinate has exactly one block in it. The hopper just asks directly "which block is at my y position +1?" Which is much more efficient than computing a raycast. For detecting entities (which are not fixed to the grid) though, you need something more expensive. The hopper actually uses an invisible collision box above it and gets a list of all entities that collide with that box. This is actually one of the reasons why hoppers are so laggy in large numbers.
@noob1noob2real
@noob1noob2real 9 ай бұрын
@@lydianlights if theres a grid then explain slabs
@johnnodwarf1201
@johnnodwarf1201 10 ай бұрын
This is really great as always
@Uthael_Kileanea
@Uthael_Kileanea 10 ай бұрын
Laggoggles mod renders lag. Useful for finding out which of your hoppers does 100x times the lag it should. Also finds your friend's >9k cows farm if it's within render distance.
@Woxis12
@Woxis12 10 ай бұрын
Applied Energistics mod: Look What They Need to Mimic a Fraction of Our Power.
@hickek6607
@hickek6607 9 ай бұрын
You forgot to mention how hoppers can move items to another hopper below even if it isn't facing down. Also how when this happens it can dispense 2 items every 8 ticks, 1 item to the hopper below and 1 item to the block the hopper actually is facing.
@lydianlights
@lydianlights 9 ай бұрын
This is because of the hopper below's "pull" operation, which was covered in the video.
@NedJeffery
@NedJeffery 9 ай бұрын
Having a stack of double chests with hoppers running into it must be quite laggy when full. Would it be beneficial to use a comparator to check if a chest is full, then lock the hopper running into it?
@JKM115
@JKM115 10 ай бұрын
Storage tech is my passion
@FireDragon91245
@FireDragon91245 10 ай бұрын
i mada a storage system using computer craft and i cached every empty slot and item stack in 3 way by Slot ID by Item ID by Chest ID so i could do instant lookups of the entire storage for free slots or not full item stacks instantly i think you could move that concept to hoppers as well that would increse the memory intensity by a lot but decrese the compution needed by a ton
@user-zu1ix3yq2w
@user-zu1ix3yq2w 10 ай бұрын
How much is a "lot"? Maybe caching would be the bigger issue.
@FireDragon91245
@FireDragon91245 10 ай бұрын
@@user-zu1ix3yq2w *Speed argument* when you ignore the fact that computercraft adds extra delay throught the *lua -> java (cc) -> minectaft inventory api* steps then the diference betwen the minecraft way cycle through each slot and the caching way on a storage system with 20 double chests and 1 double echest input items is: (Time of moving 1 full double chest (input chest) of items (input items) to the storage) Minecraft way: 5 - 30 seconds (Depends on if you catch the right slots early, increses with target inventory size (storage system size)) Chaching: constant 2 seconds
@FireDragon91245
@FireDragon91245 10 ай бұрын
@@user-zu1ix3yq2w *Memory argument* A Default size of a Hashmap is 128 bytes with 16 elements (32 bit vm) so i would guess 256 or 512 bytes extra memory per storage block
@theundefinedone8775
@theundefinedone8775 10 ай бұрын
Meanwhile, in a galaxy not so far away: “Storagetech is my passion.”
@timo4463
@timo4463 3 ай бұрын
The composter thing was actually nice to know i knew it redices lag but fidnt know the reason for it
@ponocni1
@ponocni1 10 ай бұрын
Hopper is one of the best and worst block added into vannila. Best, because it kickstarted the automatization revolution and made so much possible, worst because of how hard impact it has on game performance. One hopper often eats as much resources as 10s other item pipes, in some cases 100. Thats the reason why big hopper sorters are able to gut punch servers to crawl.
@johnm9263
@johnm9263 10 ай бұрын
saying that the hopper is laggy is like saying that anything that has special functionality is laggy we might as well say that redstone itself is just as laggy they definitely have problems that are fixed with some mods, but for the most part, the lag you experience is usually frame lag rather than TPS or "game" lag
@silverslime_
@silverslime_ 10 ай бұрын
at 8:23 the highlighted path for the composter doesn't seem to have a lot more steps than if you left it open with no items over it. Which if i understand correctly would go like this : "find the source inventory -> Not found -> find items entities in pickup area -> no more item entities -> check for conditions of the comparator update -> end" it may be a dumb question but i'd like to understand and not just do it because i saw it. Is it really much less lag friendly than checking for a empty composter making it worth the effort of covering the hoppers or is it only noticeable on large scale farms etc ? That aside really good explanation and visualisation, looking forward to see the next one.
@servilleta__6075
@servilleta__6075 10 ай бұрын
I am no expert, but following the chart having a block with an inventory is one step faster. Which isn't noticeable on a small farm but for large scale farms or just ones that rely on picking up items it is, that's why people recommend using hopper minecarts or this. Fun fact it also works for older versions by using furnaces which is the cheapest equivalent to composters now. Hope I helped (And wasn't wrong)
@silverslime_
@silverslime_ 10 ай бұрын
@@servilleta__6075 thanks for your answer, it makes sense to me so ill take it as right unless someone says it's wrong. also i didn't knew hopper minecarts were a good option i'll try to use more of these.
@silnarm
@silnarm 10 ай бұрын
Entity search is relatively expensive, and an extra bonus with the composter is the single slot isn't even 'real', it is not a tile entity and the contents of that one slot is determined from block state rather than looking through NBT as with real containers. As to the scale question: individually, hopper's cause little 'lag'. You are not going to see any noticeable difference doing this on a small system, the pay off is when you are talking about many hundreds or more hoppers.
@silverslime_
@silverslime_ 10 ай бұрын
@@silnarm thanks for the precisions, I assumed it was something like that but I wanted to have a confirmation from someone more knowledgeable than myself. Didn't know the composter had that unique property at all tho
@junkynioy
@junkynioy 10 ай бұрын
looking at the pull/push phases, no wonder why its laggy
@Yanni_X
@Yanni_X 10 ай бұрын
oh well, i never knew that chaining chest-hopper-chest-hopper... for a silo is laggier than "daisy-chaining" hoppers underneath each other each pointing sideways to a chest.
@Thepeepbros
@Thepeepbros 10 ай бұрын
This is gonna be a kewl series idk jack abt storage
@TheRealWormbo
@TheRealWormbo 3 ай бұрын
The lag part is over-stated most of the time. Okay, a "killer hopper" with two double chests of non-matching items is bad, but the average case is only bad for technical players who already eliminated many other sources of lag. Any loaded mob, and particularly villagers, will by far "out-lag" any small number of hoppers. And once you introduce the Lithium mod into the mix (it makes unlocked hoppers out of range of entities essentially as lag-free as locked hoppers) , or play on a single-player world, hopper lag is nearly inconsequential in all but the most extreme cases.
@saucelessbones5872
@saucelessbones5872 Ай бұрын
My favorit is the sorter with the hoppers and compeetors
@qy9892
@qy9892 10 ай бұрын
I am going to troll people with this information or build an insane storage device, hard to tell.
@hahaxolotl
@hahaxolotl 10 ай бұрын
is there an application that you can use to easily create such diagrams as shown for the hopper logic ? Or was it custom made in blender or illustrator ?
@NicoisLOST
@NicoisLOST 10 ай бұрын
Custom in illustrator and animated with after effects.
@lesto12321
@lesto12321 10 ай бұрын
since the push hape before the pull, in your eample you puhed the last coal, would it then pull cobblestone as the coal slot would now be empty?
@AlryFireBlade
@AlryFireBlade 9 ай бұрын
I still wish we would have the Pipes I know from Tekkit in Minecraft.
@tomoyat1
@tomoyat1 2 ай бұрын
How is a composter a “small inventory block”? AFAIK it has no inventory GUI when you click it, but just adds to the bonemeal when you right click it with a carrot or something in your hand. Am I missing something?
@williamlangdon1132
@williamlangdon1132 10 ай бұрын
god tier explanation video
@AlexJoneses
@AlexJoneses 5 ай бұрын
What are the advantages of having water streams over hopper channel for laterally transporting large amounts of items for lag, which is better over short medium and long distances?
@mr_pigman1013
@mr_pigman1013 10 ай бұрын
still one of my favorite technical minecraft youtubers
@jelledegraaf4039
@jelledegraaf4039 10 ай бұрын
Storage tech is his passion
@FireChronos
@FireChronos 10 ай бұрын
Mojang could easily make hoppers more efficient using a method similar to Google's Regex optimizations.
@000TheMatheus000
@000TheMatheus000 10 ай бұрын
question, what if there is a hopper on top of another hopper, who goes first? what prevents the hopper the goes second from also getting an item, example,lets say the top hopper goes first, it will pull an item to the hopper below, but then the hopper bellow wont pull from the hopper above on its turn, right?
@NicoisLOST
@NicoisLOST 10 ай бұрын
This is a fairly complex topic called hopper hashing. We will get into it in a future video.
@the.amarok
@the.amarok 10 ай бұрын
I obviously have no idea about this, but wouldn't the pull happen before the push? If I have two hoppers pointing right (towards chests for example), items in the upper one get pulled into the hopper below before thy are pushed into the lower chest. Or is that just because the game works its way "upwards" when updating hoppers, letting the lower hopper do the full calculation before letting the upper hopper act?
@NicoisLOST
@NicoisLOST 10 ай бұрын
This is actually a really complex topic called hopper hashing, in which every location has a different update order -- but it's more about the update order of the hoppers themselves rather than the internal calculations of the hopper.
@manukeno
@manukeno 10 ай бұрын
If the pull would happen before the push, the upper hopper would pull and push an item in the same gt, so the lower hopper could pull nothing. The upper hopper pull an item after the push, the upper hopper gets 8gt cooldown, and the lower hopper pull the item in the upper hopper in the same gt or 1gt later. Sorry for poor english
@wuketuke6601
@wuketuke6601 10 ай бұрын
they should split up the hopper into 4 seperate blocks in my opinion
How do Item Sorters Work? Storage Tech No. 2
8:11
Nico is LOST
Рет қаралды 24 М.
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 10 МЛН
Cute Barbie gadgets 🩷💛
01:00
TheSoul Music Family
Рет қаралды 16 МЛН
маленький брат прыгает в бассейн
00:15
GL Show Russian
Рет қаралды 4,5 МЛН
Anime VS Minecraft Mobs [Minecraft]
11:37
Big Town Gamer
Рет қаралды 248
How to Design a High Efficiency Gold Farm
26:36
Nico is LOST
Рет қаралды 168 М.
The Fascinating Math behind Piston Extenders #SoME3
20:08
mattbatwings
Рет қаралды 547 М.
The World of (more) Unconventional Redstone
13:26
Squibble
Рет қаралды 73 М.
The Quest for Minecrafts Any% Impenetrable Base
20:48
cubicmetre
Рет қаралды 506 М.
68 Minecraft Blocks with secret features
15:22
Mumbo Jumbo
Рет қаралды 3,3 МЛН
We Made the BEST Music Machine in Minecraft
12:52
jazziiRed
Рет қаралды 1,6 МЛН
Lets talk about 1.20's Game Balance Problem...
9:42
Nico is LOST
Рет қаралды 221 М.
We Caged 52 Withers to Make This Farm
19:33
cubicmetre
Рет қаралды 91 М.
XP in Minecraft is Super WEIRD...
10:44
Nico is LOST
Рет қаралды 444 М.
Do You Want The Baby Frog To Get The Food? #shorts
0:46
ZolphiusFun
Рет қаралды 17 МЛН
Игра про змеек в реальной жизни😅 #фильм #сериал
0:59
Baby Tvman Passes Mrbeast'S Test And The End 👍️
0:37
BigSchool
Рет қаралды 10 МЛН