• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle

  • Renegade@infosec.pubtoMinecraft@lemmy.worldadvise needed
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months ago

    Oh my goodness. I have to comment here because some of the advice you’re getting is a bit sus. Oh sugarcane farms, sugarcane farms. I’ve been building them for almost a decade. Optimizing them has been taking up room in my brain for such a long time.

    First you need to know that sugarcane has 16 growth states. The block doesn’t show any texture change but sugarcane will over time receive random ticks and count up in state. Once it has fully grown only then will it create a new sugarcane block above. Crucially once the sugarcane block reaches it’s final growth state it doesn’t reset. So if you have 1 high sugarcane and you harvest it immediately after it grows 2 high that only requires one random tick. However if you wait to harvest it until it’s 3 high that would require 17 random ticks (which will take a LOT longer). This also means if you want to benchmark your farms you should wait until all the bottom sugarcane blocks are fully grown because freshly placed sugarcane will give you a very slow start.

    Generally speaking there are two types of sugarcane farms that I see.

    First, there are one-piston-per-sugarcane farms. Logically the two ways to optimize these farms are to break the sugarcane asap after it grows and reduce the resource cost. The farm you have right now is ok. You essentially have a clock that pushes the pistons periodically. Testing will tell you if you have the time dialed in, I’d suspect that a faster clock will be more efficient so that would mean moving the observer one block lower or even stripping out the current design for a different style of clock, but you would want to test to see how that turns out. The sugarcane can’t grow on the tick where the pistons are extended so eventually that will interfere with the farm but it’s not an issue until you have a fast clock going. If you want the farm to harvest immediately when the sugarcane grows, you either need an observer per sugarcane OR you need to use a budded piston setup. The budded piston setup the way I built it in the past would essentially mean that if you have 13 sugarcane you need 14 pistons + some other components like Redstone and 1 observer (IIRC). Sorry I don’t have a tutorial, no one makes these farms anymore since they added observers. Don’t worry about that because we can do more optimal than the one-piston-per-sugarcane farms using the second type.

    Second there are slime-block/honey-block sugarcane farms. These farms push some kind of slime contraption across a field of sugarcane. They are a lot more resource efficient in terms of the redstone because the mechanical part of the farm can harvest a much larger area. Observers have made “sweeper” flying machines really cheap. 2 pistons, 2 observers, and you can build a sweeper made out of slime or honey blocks out to just short of the push limit in both directions. The key efficiency observation with this second type of farm is that sugarcane is cheap so don’t worry about how fast you harvest an individual sugarcane, instead figure out how to pack a lot of sugarcane into the farm. For example this design is pretty close to optimal. The main problem with flying machines is that it’s possible for flying machines to break on servers. This is a lot less common then it used to be as some bugs have been fixed. I think that this is much less of an issue today than it was in older versions so I think that if you want to optimize all of the best designs are going to involve slime/honey flying machines.

    As a third consideration I think that your collection method can be optimized. Increase the random tick speed in your world and you will be able to test and iterate on your design much more quickly. What you will find is that sugarcane when broken likes to pop and glitch all over the place out of the farm. The pistons pushing sideways will from my testing cause more drops to escape than pistons pushing downward. This is another way in which flying machine farms are more efficient because the whole area needs to be covered in a collection system drops can only escape at the edges vs with one-piston-per-sugarcane you can usually only do two rows at a time.

    In fact this brings us to the fundamental problem with optimizing sugarcane farms. As a certain point it’s just a matter of scaling up whatever design you find interesting at the moment. If I’m going to build a sugarcane farm these days the important thing to me is that the design is not boring. I’ve build too many sugarcane farms and so it’s nice to pick something that’s a bit different than what I’ve tried before. Scaling up will hide a lot of inefficiencies. My advice would be to take your current design even if it’s not perfect and figure out how to scale it up. For example instead of one line of sugarcane mirror it so that there’s two rows of sugarcane that way sugarcane that might escape will instead just land in the other row.

    If this wasn’t enough information feel free to reach out and have a good day.