Intro to Storage Tech No. 1: The Hopper

Поделиться
HTML-код
  • Опубликовано: 3 июн 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
  • ИгрыИгры

Комментарии • 274

  • @Mulakulu
    @Mulakulu 10 месяцев назад +450

    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 месяцев назад +148

      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 месяцев назад +45

      @@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 месяцев назад +35

      @@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 месяцев назад +323

    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 месяцев назад +44

    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

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

  • @Jackpkmn
    @Jackpkmn 10 месяцев назад +5

    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

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

  • @pepsiatlas5452
    @pepsiatlas5452 10 месяцев назад +6

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

  • @thegeektrain6908
    @thegeektrain6908 10 месяцев назад +109

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

  • @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 5 месяцев назад

    Super nice video for learning. Thank you!

  • @metamilo
    @metamilo 10 месяцев назад +1

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

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

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

  • @pasta2469
    @pasta2469 10 месяцев назад +1

    I am already invested in this series! Good work!

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

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

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

  • @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 месяцев назад +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?

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

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

  • @lulboiking5806
    @lulboiking5806 10 месяцев назад +3

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

  • @GoGoGoTV1
    @GoGoGoTV1 7 месяцев назад

    Hoping you continue this series!

  • @TheGoodMorty
    @TheGoodMorty 10 месяцев назад +3

    hoppers are probably my favorite vanilla block

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

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

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

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

  • @joue_zep
    @joue_zep 10 месяцев назад +1

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

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

  • @ClayHales
    @ClayHales 10 месяцев назад +1

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

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

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

  • @mrfoodarama
    @mrfoodarama 10 месяцев назад +1

    Great video, simple and easy to understand explanation

  • @uponeric36
    @uponeric36 10 месяцев назад

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

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

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

  • @PugganBacklund
    @PugganBacklund 10 месяцев назад +1

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

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

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

  • @JKM115
    @JKM115 10 месяцев назад +1

    Storage tech is my passion

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

  • @Nadeli0
    @Nadeli0 10 месяцев назад

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

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

  • @RaPsCaLLioN1138
    @RaPsCaLLioN1138 10 месяцев назад

    Oooh a whole series!

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

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

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

  • @smooshymemes
    @smooshymemes 10 месяцев назад

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

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

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

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

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

  • @shoespeak
    @shoespeak 10 месяцев назад

    really pumped for this series

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

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

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

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

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

  • @agsilverradio2225
    @agsilverradio2225 10 месяцев назад +1

    "Hoppers. They suck."

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

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

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

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

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

  • @johnnodwarf1201
    @johnnodwarf1201 10 месяцев назад

    This is really great as always

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

  • @Heyght
    @Heyght 7 месяцев назад

    "Storage tech is my passion" -Nico

  • @timo4463
    @timo4463 3 месяца назад

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

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

  • @Woxis12
    @Woxis12 10 месяцев назад

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

  • @junkynioy
    @junkynioy 10 месяцев назад +2

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

  • @phixidelta
    @phixidelta 10 месяцев назад

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

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

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

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

  • @luizclaudaofossati1495
    @luizclaudaofossati1495 8 месяцев назад

    pls continue with this

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

  • @saucelessbones5872
    @saucelessbones5872 2 месяца назад

    My favorit is the sorter with the hoppers and compeetors

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

  • @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 месяцев назад +1

      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 месяцев назад +1

      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

  • @theundefinedone8775
    @theundefinedone8775 10 месяцев назад

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

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

  • @qy9MC
    @qy9MC 10 месяцев назад +1

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

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

  • @hanchen267
    @hanchen267 10 месяцев назад

    i dont know how item sorters work, does this video (series) also cover that?

    • @NicoisLOST
      @NicoisLOST  10 месяцев назад +1

      Yes! It will for sure.

  • @williamlangdon1132
    @williamlangdon1132 10 месяцев назад +1

    god tier explanation video

  • @AlryFireBlade
    @AlryFireBlade 10 месяцев назад

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

  • @FireChronos
    @FireChronos 10 месяцев назад

    Mojang could easily make hoppers more efficient using a method similar to Google's Regex optimizations.

  • @Thepeepbros
    @Thepeepbros 10 месяцев назад

    This is gonna be a kewl series idk jack abt storage

  • @heretichazel
    @heretichazel 10 месяцев назад +1

    One of the reasons i prefer modded so much, i can entirely ignore hoopers sinxe pipes are just better and cheaper

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