- 14
- 13 349
SeaJay Plays
United States
Registrace 19. 07. 2023
Building practical redstone contraptions and simple farms. Hope you find these helpful.
Coding Minecraft to Find the Best Kelp Farm
In this video, I walk through basic game mechanics and how kelp grows in Minecraft. Then I show how I simulated clock-based kelp farms in Python in order to determine the best timings and configurations. Finally, I detail my findings and provide equations that anyone can use to find the efficiency and rates of any clock-based kelp farms.
Here are the two equations:
Efficiency: E(x) = (-2.61e-06)x^4 + (6.09e-04)x^3 - 0.0435x^2 + 0.154x + 99.3, where x = harvest cycle time
Total Kelp Harvested: K(p,x,t) = [(-1.91e-07)x^4 + (4.46e-05)x^3 - 0.00319x^2 + 0.0109x + 7.33]*p*t, where p = number of kelp planted, x = harvest cycle time, and t = farm run time
Video Sections:
00:00 Intro
00:17 Game Ticks
01:28 Chunks
02:07 Random Ticks
03:10 Kelp Mechanics
05:09 Observer-Based Farms
06:33 Clock-Based Farms
08:09 Code Walkthrough
12:00 Results: Overview
12:20 Efficiency Data
13:27 Lag Considerations
14:17 Efficiency Equation
15:32 Example Efficiency
16:40 Kelp Harvested Equation
17:07 Example Kelp Harvested
Here are the two equations:
Efficiency: E(x) = (-2.61e-06)x^4 + (6.09e-04)x^3 - 0.0435x^2 + 0.154x + 99.3, where x = harvest cycle time
Total Kelp Harvested: K(p,x,t) = [(-1.91e-07)x^4 + (4.46e-05)x^3 - 0.00319x^2 + 0.0109x + 7.33]*p*t, where p = number of kelp planted, x = harvest cycle time, and t = farm run time
Video Sections:
00:00 Intro
00:17 Game Ticks
01:28 Chunks
02:07 Random Ticks
03:10 Kelp Mechanics
05:09 Observer-Based Farms
06:33 Clock-Based Farms
08:09 Code Walkthrough
12:00 Results: Overview
12:20 Efficiency Data
13:27 Lag Considerations
14:17 Efficiency Equation
15:32 Example Efficiency
16:40 Kelp Harvested Equation
17:07 Example Kelp Harvested
zhlédnutí: 2 583
Video
Beginner Bone Meal Farm - Minecraft 1.20+
zhlédnutí 129Před 14 dny
In this video, I walk you through my design of a bone meal farm made specifically for early stage survival. I do not use any components from the nether so there are no observers, no comparators, and I also decided not to use sticky pistons. Because I used only the most basic redstone components, the farm is larger than normal bone meal farms, but that doesn't mean it is difficult to build. The ...
Max Efficiency Sugar Cane Farm - Minecraft 1.20
zhlédnutí 49Před 28 dny
In this video, I walk through my simple micro sugar cane farm that is completely lossless and maximizes efficiency. Making the observer and piston on the same level ensures that any possible sugar cane that grows gets harvested immediately. Additionally, making a minecart hopper occupy the same space as the main sugar cane guarantees zero loss. You can find the full list of required items to bu...
Smart Minecart Loader - Minecraft 1.20
zhlédnutí 291Před měsícem
In this video, I walk through three common smart minecart unloaders and discuss potential improvements. Then I show you how to build my own version of a smart minecart loader (skip to 05:16 for how to build). My smart loader combines the best aspects of existing versions while making it more compact and without using any pistons. See full list of items required to build at the bottom of the des...
Fast Automatic Bamboo Farm - Minecraft 1.20
zhlédnutí 85Před měsícem
In this video, I walk through each step in building my simple, fast bamboo farm. This farm is ideal for early- to mid-stage survival minecraft players as not many resources are used, and they are all easy to get. As long as you have a bone meal farm, you should be good! The minecart unloader shown in the video is not my own design, it is Ilmango's, but feel free to use an minecart unloader you ...
Testing the Best Methods for Mining Diamonds in Minecraft (1.20)
zhlédnutí 93Před 9 měsíci
Hey everyone, in this video, I explore the most common mining methods and test which is the best. I walk through the three most important questions during the video: which layer is best to mine at, what is the most efficient mining technique, and does spacing matter. To end, I tested every method and provide an easy-to-understand calculation for the best method. I hope you learn something from ...
Simple Item Elevator - Tileable/Modular 1.20
zhlédnutí 95Před 9 měsíci
In this video I'll show you my simple, tileable item elevator (1-wide item elevator). The modular system can be extended to fit any need, and I'll show how modules can be chained together. This design is working in Java 1.20. Chapters: 00:00 Intro 00:35 Single Tile Overview 01:15 Single Tile Tutorial 05:13 Multiple Tiles 05:45 Extending Signal for Large Systems 07:00 Variations of Design Materi...
Since learning math in my country is based on memorization, I only perform the operations without knowing what I am doing, but I think it is very nice to use math like you use, I wonder how I can learn to use math like this.
Why are the designs where the sugarcane grows to 3 tall before harvesting less efficient?
@matt7399 Hey, that's a good question, and I'm actually working on a video right now where I go into the explanation with a lot of data if you're interested in that. And it turns out, if you run the farm for an hour, the efficiency is about 75% but if you run the farm for 1000 hours, you can get up to 99.9% efficiency. It takes about 20 hours to reach 99% efficiency. So the typical observer farms (if the piston is activated individually) can be very good. The observer farms that activate a group of pistons are one of the worst designs in terms of efficiency (~75% even in 1000 hour test periods). Here's the explanation: for farms and efficiency tests, I measure the efficiency as the number of drops harvested divided by the total possible number of drops grow in some time period. The time period is important here because sugar cane takes about 18 minutes to grow 1 layer. So if you had a micro farm (individual piston activation like the one in the video) with the typical observer on the 3rd layer, and only ran the test for 40 minutes, you would grow the 2nd and 3rd layer of sugar cane and those would both get harvested (so 100% efficiency). But let's say we increase our testing time to 1 hour. Then the sugar cane will grow layer 2, layer 3, then harvest, then grow layer 2 again, then the timer stops. So the efficiency is only 2/3=66.67%. If you scale this up with a lot more micro farms the efficiency is actually closer to 75% for 1 hour tested. So it's the fact that there can be sugar cane that don't get harvested that causes that inefficiency. But if you scale the time period up and run your farm for 1000 real world hours (which would be a lot of time playing Minecraft) you could get 99.9% efficiency. Cause even in that long period of time, you're last sugar cane grown could be layer 2.
@@SeaJayPlays Ah I see. I was wondering if you were referring to the group activated designs, but the way you describe it, it makes sense that the individual designs are less efficient too. Some of the sugarcane is "stuck" in the farm until it gets harvested so on average you're gonna have slightly less than max potential yield. Thanks for answering.
Yeah, no problem! I think I was referring to just single piston/observer groups in the video, but yeah sugar cane gets ‘stuck’ with both traditional designs. The reason the group activated piston-observer farms are the worst design is that some sugar cane gets ‘stuck’ but even worse, you waste grow time by harvesting the second layer for a bunch of sugar cane that was close to growing to stage 3.
I appreciated the nerding i saw, Thanks
Glad to hear it! Thank you
Can you make a video of how Redstone works?
@effectsh3306 Hey, I could try. Anything specific that you'd want me to cover, or just redstone in general?
That won’t work. The piston will constantly trigger the observer.
I cover this possibility in the main video, but if you do build this and the piston is constantly triggered, all you've got to do is move the unit or close and reopen the world. But the design does work as intended and you can see at the beginning and in the middle of this clip that the timings do work, and the piston only activates once! If you want to see it in a bit more detail, feel free to check out the main video!
Love this video. I was surprised that this doesn't have more views.
Thanks! I appreciate that!
I've created a world download for this design on Planet Minecraft (link in the description). I hope this helps with any troubleshooting! The world download also has a modified design to work with chest minecarts. Feel free to modify the designs to fit your needs!
I appreciate the compactness, but is there an option for chestminecarts like you can use with the other two?
@ianmills9800 Hi, that's a good question! I've never used chest minecarts so I hadn't thought about that. There is a pretty simple way to modify the current design to work with chest minecarts though! All you've got to do is move the double chest 1 block up; then place a hopper above the yellow block (under the chest) and face it toward the target block; lastly, just rotate the orientation of the gate 90 degrees (so the hitbox of the minecart goes into the hopper). I've also created a world download on Planet Minecraft that has some screenshots of the modified design if you want to check that out. Link in the description!
I'm not the only one that creates spreadsheets for Minecraft! 🙌 Love the video style, this channel will blow up
😂 I appreciate that, thanks!
@SeaJayPlays if you wanted to join a realm for content purposes, would love to have somebody else to nerd-out with! 😂
@i7Zero That's a really generous offer! But right now I'm pretty stretched on time and don't want to overcommit. I appreciate it though!
@@SeaJayPlays Totally understand. Open offer if you change your mind!
Sounds good, thanks!
This Is My Comment Saying That I Actually Made The Best Loader, Where The MINECAFT sits In The Loader Section Itself No Matter, If You Feed Some items It Still Sits There Until the Items Are Complete, And Moves Automatically With The Max Capacity , And Comes Back And Sits There Again Disadvantage: If AUnloader Broken And The Minecart Still Brings Back The Items To Loader, Then The Loader Could Break The System, So Make Sure We Have Proper Unloader That Sucks The Entire Items..( I Build This System Just I Don't Like Minecraft Moving All The time) I am Not Interested In Uploading A Video, But If You Guys Want I can Share You My Creative World Of Copy
Hi, this can also be done with my loader. All you’ve got to do is remove the top circuit (the chest detection) and fill the barrel completely. Hope you find that helpful!
i need more of these videos in my life, i had an amazing time looking at all the thought process behind all of this ITS SOO IMPRESSIVE
i would love to know a little bit of behind the scenes like how did u code the whole thing did u use AI, what was ur approach like what kinda prompts u gave it. i recently tried to make an online multiplayer game thingy and a python ascii tree structure viewer and lines of code reader. it was a bit difficult to get to the end result but the process of getting there was really fun for me
Thank you that's very nice! I've got the code done for several sugar cane farms so I hope I can make that video soon!
Yeah I could try to walk through the 'behind the scenes' stuff more in the next video! But I didn't use any AI or stuff like that, it's just a lot of writing down flow charts to help me figure out what I need to code. That sounds cool! It's the same for me, coding can be difficult but it's a very fun puzzle to solve.
@@SeaJayPlays ur soo cool and such an inspiration
Thanks
Fantastic vid! Technical, well-explained and educational
I'm glad you liked it! Thank you
Damn this is cool :) It would be nice to have a read theough the code / play arround with it and run it, would you be able to upload it to github?
Thanks! I want to run some more tests with it to make sure there's no glaring issues. Once I'm more confident in it, I'll look at uploading it somewhere!
damn really high quality! keep it up!
It took forever to edit so I appreciate that!
Excellent video! while gameTick < testPeriodInTicks +1: lol. Not even a criticism, just funny
Thanks!
:O
Thanks!
Really cool video! I don't even play minecraft anymore but still watched from start to finish. One thing that might improve the best fit line is trying out a logistic regression or some other sigmoid function, as it looks more like one of those than a polynomial fit, but your approximation is still cool
I appreciate you watching it! That's a good point, I will look into those for the sugar cane code, thanks!
Quality deserves more than the current likes and view
Thanks so much, I appreciate that!
What if there is no items in the system? Is it possible to stop the minecart from going back and forth until there is items again?
Hi @annamaria13hansen, that's a good question! There are a couple quick modifications you could make to the system if you don't want the minecart always running: 1) If you want to keep the system logic all the same, but you just want an optional manual on/off switch so you can determine when you want the cart to go, all you would need to do is add a lever (or redstone signal) to one of the top yellow blocks behind the chest. This would force the redstone torch off (so gate closed) when you want. 2) If you want a more automatic process, you could simply remove the chest detection circuit (top circuit). Then the only thing that would allow the minecart to leave is if the minecart fills with the correct amount of items (based on the barrel). There are a couple downsides with this though. First, if you don't have enough items in the chest to fill the minecart to the right amount, the minecart could have items but still be stuck behind the gate. And second, every time the minecart comes back to the loader, it will pause behind the closed gate and wait until the minecart detection circuit powers the gate open, so it just slows down the process a bit. There could be a way to add a smart feature to the system that does what you want while keeping everything else the same, but I think it would require a t-flip-flop. I haven't found a way to do it yet though, but I will keep trying. And once 1.21 comes out with the copper bulbs, we could probably make it really compact too.
What’s the best cords to find diamonds?
Hey, that's a good question! I found layer y = -57 to be the best. If you want to see how that got calculated, I go over it at 1:20 in the full video!
Not sure if you are on Java or Bedrock, but while creating your version in Java the initial comparator placed has the back 2 prongs lit up when placed (where they are not in the video), then same for the the first repeater which breaks the build.
Hey, I also play on Java. Let me know what you mean by breaking the build. I'll try to explain some parts for now to see if that helps. The default state of the wooden gate is closed, then the redstone torch forces it open. So when the chest is empty, there is no signal from the comparator to the repeater to the torch (i.e. the torch stays lit and the gate is open). This is what we want, right, because if there are no items in the chest to collect, we just want the minecart to keep going and not get stopped. If there are items in the chest (any at all), the comparator will light up. The repeater is just pulling the signal of the comparator, so the two will always match. If the comparator is lit up (i.e. there are items in the chest), then the redstone torch will be inverted (powered off) and the wooden gate should close. Since your comparator (and repeater) light up when you are building it, then the chest must have items in it. If your chest has no items and all the blocks have been placed in the correct locations, then I'm not sure what could be going wrong. Are there any potential redstone power sources close by? Is there any way for you to send me a screenshot so I can help figure out what is messing up?
You deserve more views.
I really appreciate it!
Instead of 1 block do 2 in the middle bc doing 1 by 1 mines like that you’ll end up having to repair your pick more often on top of that with the cave updates just go caving got 4 stacks of diamonds in just and hour by finding a nice size drip stone cave down at -30 to bedrock anywhere in between there should be fine
For the spacing, I tested 0, 1, 2, and 3 block gaps (if you want all the results check out 21:30 on the main video). The 1 block gap is significantly faster than the others so if you’re going for most diamonds using strip mining, I’d stick with that. Even though you’d go through your pick a little bit quicker, I think the increase in diamonds makes up for that. I prefer strip mining over caving, so I haven’t tested caving yet. But I agree that caving is probably the fastest overall way of finding diamonds with the update (and you go through a lot less picks).
Dang you're a legend! I don't know many people with this type of patients.
Thanks so much!
1x1 is bad because the amount of time wasted trying to lay flat after mining ores
That's a good point! And I do address it in the main video cause having to re lay flat would definitely decrease the 1x1 method time. But once you've got the hang of staying flat and being careful when collecting resources, it isn't too bad! And the time savings is significant when compared to the 2x1 traditional tunnels (nearly 30 seconds per diamond). Check out the ending of the full video if you want to see all the results data!
Mining cobled deepslate and pretending like the dimonds behind it are natural.
Ugh the same topic had been beaten to death since release how many years ago. I think there’s enough existing instructionals already out there
I agree this is probably one of the most covered topics in Minecraft, but I haven't seen much significant testing or validation as to why one method is better than others. If you'd like to see that, feel free to check out the main video!
Nah the best technique is this little thing called xray 😂
❤