Intro to Storage Tech No. 1: The Hopper

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 มิ.ย. 2024
  • 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
  • เกม

ความคิดเห็น • 275

  • @Mulakulu
    @Mulakulu 10 หลายเดือนก่อน +461

    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 หลายเดือนก่อน +149

      Maybe using some copper instead of iron in the recipe to give another use for copper.

    • @Mulakulu
      @Mulakulu 10 หลายเดือนก่อน +90

      @@magicspell1780 That's brilliant. I love that. Copper pipes. Iron is already used for so much

    • @Gandhi_Physique
      @Gandhi_Physique 10 หลายเดือนก่อน +46

      @@magicspell1780 Right. Copper definitely needs more uses.

    • @milokiss8276
      @milokiss8276 10 หลายเดือนก่อน +75

      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 หลายเดือนก่อน +36

      @@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 หลายเดือนก่อน +325

    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 หลายเดือนก่อน +7

      Yeah I was always making big storages without any sorting machines and sorting it all manually was pain in the ass.

    • @fockssss
      @fockssss 10 หลายเดือนก่อน +2

      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 หลายเดือนก่อน +46

    This is the video that finally made me understand why composters on hoppers reduce lag

  • @sq33z3r3
    @sq33z3r3 10 หลายเดือนก่อน +34

    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 หลายเดือนก่อน +58

    Cool video! I enjoy the way you explain things and I'm looking forward to following the storage-tech series :D

    • @Exotic69420
      @Exotic69420 10 หลายเดือนก่อน +6

      😮😮😮😮threefold

  • @Jackpkmn
    @Jackpkmn 10 หลายเดือนก่อน +6

    Hoppers get anxious and need to be covered up to feel better. Got it.

  • @indoorjetpacks
    @indoorjetpacks 10 หลายเดือนก่อน +11

    the walkthrough of the abstract followed by the flow block diagram is great. really thorough explanation

  • @th3fish
    @th3fish 10 หลายเดือนก่อน +54

    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 หลายเดือนก่อน +61

    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).

  • @thegeektrain6908
    @thegeektrain6908 10 หลายเดือนก่อน +109

    This is one of the best minecraft youtuber of the era. You definitely deserve more. Keep making great videos! Subbed :)

  • @pepsiatlas5452
    @pepsiatlas5452 10 หลายเดือนก่อน +6

    Tracing line through the flow chart is a very very good visual aid for efficiency

  • @manukeno
    @manukeno 10 หลายเดือนก่อน +10

    5:09 I think the targeted hopper gets cooldown only when the targeted hopper is empty.

    • @NicoisLOST
      @NicoisLOST  10 หลายเดือนก่อน +2

      Yes, I think you may be right.

    • @jvliaaaaan
      @jvliaaaaan 10 หลายเดือนก่อน +2

      @@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 หลายเดือนก่อน +3

    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 หลายเดือนก่อน +7

    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 หลายเดือนก่อน +13

    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 6 หลายเดือนก่อน

    Super nice video for learning. Thank you!

  • @LimolaGaming
    @LimolaGaming 10 หลายเดือนก่อน +1

    "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 10 หลายเดือนก่อน

      ​@@LimolaGaminghopper minecarts can't push to chests tho

  • @pasta2469
    @pasta2469 10 หลายเดือนก่อน +1

    I am already invested in this series! Good work!

  • @metamilo
    @metamilo 10 หลายเดือนก่อน +1

    That was a great and much needed explanation for those looking to get into storage tech.

  • @lulboiking5806
    @lulboiking5806 10 หลายเดือนก่อน +3

    great video!! and thanks for all your awesome minecraft content, I really love it!!😊

  • @irwainnornossa4605
    @irwainnornossa4605 10 หลายเดือนก่อน +1

    Very much thank you for this explanation, now I know why my mansion lags so much. Storage, with double chests and hoppers.

  • @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.

  • @SkylorBeck
    @SkylorBeck 10 หลายเดือนก่อน +1

    It took me five days to reverse engineer the hopper code for my mod Tokenable Furnaces and Storage. This video is very well made.

  • @GuilitoDoinks
    @GuilitoDoinks 6 หลายเดือนก่อน

    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.

  • @TheGoodMorty
    @TheGoodMorty 10 หลายเดือนก่อน +3

    hoppers are probably my favorite vanilla block

  • @areadenial2343
    @areadenial2343 10 หลายเดือนก่อน +1

    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?

  • @joue_zep
    @joue_zep 10 หลายเดือนก่อน +1

    Once again a good video, clear and well edited, keep it up!

  • @uponeric36
    @uponeric36 10 หลายเดือนก่อน

    "Push and pull events..." Zoom out to Masahiro Sakurai smiling and nodding: "Push and pull, push and pull..."

  • @GoGoGoTV1
    @GoGoGoTV1 8 หลายเดือนก่อน

    Hoping you continue this series!

  • @Erimioa
    @Erimioa 10 หลายเดือนก่อน +1

    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.

  • @GamingBren
    @GamingBren 10 หลายเดือนก่อน +6

    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!

  • @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

  • @boxlid214
    @boxlid214 10 หลายเดือนก่อน +3

    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

  • @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.)

  • @mrfoodarama
    @mrfoodarama 10 หลายเดือนก่อน +1

    Great video, simple and easy to understand explanation

  • @IoIIonator
    @IoIIonator 8 หลายเดือนก่อน

    very interesting, i didnt think hoppers would be polling every frame, you would think they only check if the relevant blocks are updated.

  • @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.

  • @uruacufutsal1
    @uruacufutsal1 10 หลายเดือนก่อน +2

    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

  • @RaPsCaLLioN1138
    @RaPsCaLLioN1138 10 หลายเดือนก่อน

    Oooh a whole series!

  • @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 หลายเดือนก่อน +1

    Nice video. I feel like you missed talking about how hoppers pointing to the side with hoppers below it work.

  • @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.

  • @Nadeli0
    @Nadeli0 10 หลายเดือนก่อน

    Completely forgot you had a TH-cam and got surprised when I recognized Emdy in this video.

  • @Fuzzi974
    @Fuzzi974 10 หลายเดือนก่อน +2

    I knew the hoper was doing all the function from in game experience, not the underlying mass of calculation... Damn Good to know!

  • @WhyplayGaming
    @WhyplayGaming 10 หลายเดือนก่อน

    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?

  • @TheMrPog
    @TheMrPog 10 หลายเดือนก่อน

    Awesome vid, keep up the good work!

  • @JKM115
    @JKM115 10 หลายเดือนก่อน +1

    Storage tech is my passion

  • @iwersonsch5131
    @iwersonsch5131 10 หลายเดือนก่อน

    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?

  • @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

  • @shoespeak
    @shoespeak 10 หลายเดือนก่อน

    really pumped for this series

  • @EdvinNGU
    @EdvinNGU 10 หลายเดือนก่อน +3

    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 10 หลายเดือนก่อน

      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.

  • @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!

  • @NedJeffery
    @NedJeffery 10 หลายเดือนก่อน +1

    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?

  • @Heyght
    @Heyght 7 หลายเดือนก่อน

    "Storage tech is my passion" -Nico

  • @RussianSpy4632
    @RussianSpy4632 10 หลายเดือนก่อน +3

    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)

  • @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 10 หลายเดือนก่อน +1

    So do a vertical hopper line, with every other hopper disable reduce lag.

  • @smooshymemes
    @smooshymemes 10 หลายเดือนก่อน

    so THATS why i need 7 composters for my item sorter for my piglin farm

  • @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.

  • @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.

  • @johnnodwarf1201
    @johnnodwarf1201 10 หลายเดือนก่อน

    This is really great as always

  • @cosmo_7
    @cosmo_7 3 หลายเดือนก่อน

    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

  • @Woxis12
    @Woxis12 10 หลายเดือนก่อน

    Applied Energistics mod: Look What They Need to Mimic a Fraction of Our Power.

  • @agsilverradio2225
    @agsilverradio2225 10 หลายเดือนก่อน +1

    "Hoppers. They suck."

  • @phixidelta
    @phixidelta 10 หลายเดือนก่อน

    I'd like to troll a bit: the command block is the most complicated block....
    Im still excited to watch tho :)

  • @junkynioy
    @junkynioy 10 หลายเดือนก่อน +2

    looking at the pull/push phases, no wonder why its laggy

  • @theundefinedone8775
    @theundefinedone8775 10 หลายเดือนก่อน

    Meanwhile, in a galaxy not so far away:
    “Storagetech is my passion.”

  • @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.

  • @timo4463
    @timo4463 4 หลายเดือนก่อน

    The composter thing was actually nice to know i knew it redices lag but fidnt know the reason for it

  • @luizclaudaofossati1495
    @luizclaudaofossati1495 8 หลายเดือนก่อน

    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.

  • @gentle_warrior
    @gentle_warrior 10 หลายเดือนก่อน +1

    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 หลายเดือนก่อน +1

      This will come :-]

    • @derram0k
      @derram0k 10 หลายเดือนก่อน +2

      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.

  • @Thepeepbros
    @Thepeepbros 10 หลายเดือนก่อน

    This is gonna be a kewl series idk jack abt storage

  • @saucelessbones5872
    @saucelessbones5872 2 หลายเดือนก่อน

    My favorit is the sorter with the hoppers and compeetors

  • @AlexJoneses
    @AlexJoneses 6 หลายเดือนก่อน

    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?

  • @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?

  • @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.

  • @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 หลายเดือนก่อน +1

      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

  • @RussianSpy4632
    @RussianSpy4632 10 หลายเดือนก่อน +1

    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

  • @qy9MC
    @qy9MC 10 หลายเดือนก่อน +1

    I am going to troll people with this information or build an insane storage device, hard to tell.

  • @AlryFireBlade
    @AlryFireBlade 10 หลายเดือนก่อน

    I still wish we would have the Pipes I know from Tekkit in Minecraft.

  • @TheRealWormbo
    @TheRealWormbo 4 หลายเดือนก่อน

    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.

  • @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.

  • @silverslime_
    @silverslime_ 10 หลายเดือนก่อน +1

    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 หลายเดือนก่อน +1

      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 หลายเดือนก่อน +1

      @@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 หลายเดือนก่อน +2

      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

  • @hickek6607
    @hickek6607 10 หลายเดือนก่อน

    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 10 หลายเดือนก่อน

      This is because of the hopper below's "pull" operation, which was covered in the video.

  • @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?

  • @noob1noob2real
    @noob1noob2real 10 หลายเดือนก่อน +1

    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 10 หลายเดือนก่อน

      @@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 10 หลายเดือนก่อน

      @@lydianlights if theres a grid then explain slabs

  • @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.

  • @ponocni1
    @ponocni1 10 หลายเดือนก่อน +2

    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.

  • @williamlangdon1132
    @williamlangdon1132 10 หลายเดือนก่อน +1

    god tier explanation video

  • @iwersonsch5131
    @iwersonsch5131 10 หลายเดือนก่อน +1

    How big is the difference between using furnaces and using composters?

  • @Simply_Pip
    @Simply_Pip 10 หลายเดือนก่อน

    The intro got me 😂

  • @FireDragon91245
    @FireDragon91245 10 หลายเดือนก่อน +1

    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 หลายเดือนก่อน +1

      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

  • @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

  • @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.

  • @mr_pigman1013
    @mr_pigman1013 10 หลายเดือนก่อน

    still one of my favorite technical minecraft youtubers

  • @wuketuke6601
    @wuketuke6601 10 หลายเดือนก่อน +1

    they should split up the hopper into 4 seperate blocks in my opinion

  • @fulcruum7567
    @fulcruum7567 11 ชั่วโมงที่ผ่านมา

    I'm in over my head

  • @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.