Self Replicating Turtles in Minecraft ComputerCraft!

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

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

  • @WizardNamedMerlin
    @WizardNamedMerlin  2 ปีที่แล้ว +67

    Hey, thanks for watching! Sorry for the wait :)
    If you want to learn how to do this stuff yourself, contact me about private tutoring lessons at merlintutoring.com

    • @coffee_tvcoffee7654
      @coffee_tvcoffee7654 ปีที่แล้ว +4

      You're doing brilliant things! It's a pity that the site is not working anymore, and there is almost no activity on the channel anymore... Bro, you're doing great stuff.

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

      Hey do you still do this computer craft tutoring? I have an turtle project that may be interesting to discuss

    • @Humaricslastcall
      @Humaricslastcall 9 หลายเดือนก่อน +1

      I wonder... could you do Robologenesis for Opencomupter's robots?

    • @weylinwest9505
      @weylinwest9505 9 หลายเดือนก่อน +2

      I would've loved to see a timelapse of exponential turtle expansion! Shame it seems your gone from your channel.

    • @TheAetherial
      @TheAetherial 8 หลายเดือนก่อน +2

      Website is down now, sadly

  • @whistler_
    @whistler_ 2 ปีที่แล้ว +1087

    I can't help but keep thinking what could happen if you organized them like an ant hive. First one is hive queen and sets up the others, creating a dedicated sugarcane farmer, charcoal farmer and miners. Once it gathers enough resources, it makes a new queen that sets off to distant lands and starts anew 😄

    • @redmoosekiller
      @redmoosekiller ปีที่แล้ว +59

      This is sick

    • @UnknownGamer40464
      @UnknownGamer40464 ปีที่แล้ว +89

      SkynetCraft

    • @billy818
      @billy818 ปีที่แล้ว +32

      I'm going to do this now, cool idea

    • @bldshrerwok7121
      @bldshrerwok7121 11 หลายเดือนก่อน +20

      ​@@UnknownGamer40464RTSCraft

    • @matem817
      @matem817 9 หลายเดือนก่อน +48

      i was thinking abaut a turtle hunter that has the goal of "deactivating" all the turtle, serching for dropped items and following all the tunnels that they make XD

  • @Kalightortaio
    @Kalightortaio 9 หลายเดือนก่อน +365

    It would be cool if you added code for the following:
    If it encounters a dead turtle, it deposits some fuel to bring it back to life.
    When collecting logs, it plants any saplings it may find.
    The option to make charcoal if it's near death and can't find coal in time.

    • @Zero-4793
      @Zero-4793 9 หลายเดือนก่อน +31

      on that note, anytime it sees coal or other fuel source it should take it. like near the end of vid the final 2 go right past some coal and ignore it

    • @emilianozamora399
      @emilianozamora399 9 หลายเดือนก่อน +28

      The odds of one encountering another dead turtle is like next to 0

    • @oblivion_2852
      @oblivion_2852 9 หลายเดือนก่อน +5

      ​@@Zero-4793wouldn't an easy option just be to have the turtle craft a bucket? Or can't turtles use buckets on lava?

    • @seventhspud
      @seventhspud 9 หลายเดือนก่อน +4

      @@oblivion_2852i see where the idea comes from, but really the relative scarcity of lava source blocks compared to coal’s abundance makes it harder to obtain fuel. keep in mind, i believe the turtle has a total sight of three blocks combined, so i wouldn’t count on it to be too intelligent!

    • @Kalightortaio
      @Kalightortaio 9 หลายเดือนก่อน +1

      @@emilianozamora399 But given deep time, it's very possible.

  • @kuhluhOG
    @kuhluhOG ปีที่แล้ว +282

    If they could ALSO have chunk loaders, this could be extremely funny.
    Just imagine if you decide to fly away for 3000 block, start 4 there (to make sure the actually survive) and at some point the make their way back to spawn but in the hundreds.

    • @kajetus0688
      @kajetus0688 9 หลายเดือนก่อน +11

      lag

    • @hisamiyomotsu1337
      @hisamiyomotsu1337 8 หลายเดือนก่อน +3

      ​@@kajetus0688shouldn't be too bad, i think

    • @mikeyfreeman5776
      @mikeyfreeman5776 8 หลายเดือนก่อน +2

      @@hisamiyomotsu1337depends on how fast they reproduce but surely there would be lag at some point.

  • @kuhascoat
    @kuhascoat 9 หลายเดือนก่อน +87

    Congratulations! You have made a VonNeumann probe.

    • @panikking6012
      @panikking6012 8 หลายเดือนก่อน +3

      Can you explain this to me? It sounds funny i just don't know enough.

    • @johnpayne5590
      @johnpayne5590 8 หลายเดือนก่อน +11

      ​@@panikking6012 A vonneumann probe is a spacecraft capable of self replication, generally in media it's things like the replicators from stargate, basically if you can send it somewhere and have it replicate endlessly it's a von-Neumann probe

    • @KaizarNike
      @KaizarNike 4 หลายเดือนก่อน +1

      The sylandro: "We come in peace!"

  • @Zahlenteufel1
    @Zahlenteufel1 9 หลายเดือนก่อน +80

    I'd really love to watch the exponential growth in a big ol' timelapse.

  • @KenevyUnholyJesus
    @KenevyUnholyJesus 2 ปีที่แล้ว +169

    Loved the video, honestly I felt like I was watching a Discovery Channel documentary about wild life. I'd never seen a CCTurtle giving birth before.

  • @angelomatulac3764
    @angelomatulac3764 ปีที่แล้ว +84

    You can make the sugarcane process a bit faster by making the turtle place down the collected sugarcane until its placed down 4 and then have it pick all of it back up

    • @WizardNamedMerlin
      @WizardNamedMerlin  ปีที่แล้ว +76

      Genius! Totally didn't think of that, that's a great idea. I think you'd have one on each side of the turtle and then have the turtle spin forever checking if any had grown. Turning doesn't use fuel so it can just keep turning indefinitely. Ideas for v2.0!

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

    I've dreamed of building self replicating turtles -I'm glad to see others more dedicated than I am have made it a reality

  • @ianpyles1877
    @ianpyles1877 2 ปีที่แล้ว +47

    I saw a video where a guy programmed a turtle for tele operation outside of minecraft in essence being able to “hack” into a server. (Yes he was able to make more turtles he could control)

    • @WizardNamedMerlin
      @WizardNamedMerlin  2 ปีที่แล้ว +25

      Yeah, that's a fantastic project by Ottomated: th-cam.com/video/pwKRbsDbxqc/w-d-xo.html
      That's one way to make self-replicating turtles, have them be human controlled!

    • @ivanyzerhornetteam6023
      @ivanyzerhornetteam6023 9 หลายเดือนก่อน +4

      ​@@WizardNamedMerlin pretty sure he did implement ability for turtle to autonomously reproduce

  • @anonymousanon4822
    @anonymousanon4822 ปีที่แล้ว +47

    Very cool!
    Suggestions to improve the success rate/reduce the need for initial ressources:
    1. Turning doesn't cost fuel. So whenever the turtle is mining it should be turning in circles scanning all adjacent blocks for ressources. That way it has a high chance of finding coal on the way down to bedrock already, and it has a higher chance of finding diamonds/requires less fuel per diamond.
    2. I think the point of the challenge is to have the turtle start with nothing. Otherwise you could simply give it dirt and a sapling and have it build a tree farm and fuel up until it has enough to be 99.999% successful. So maybe try to find the sugarcane aswell (I know that's hard, but it's only a question of having enough fuel) and the chest should be no problem since it has to find wood anyways. The turtle can just build a little hole and drop it's inventory into there and suck the items back up after crafting.
    3. To increase chances of survival of the offspring, it would make sense for the parent to gather enough fuel to be able to venture into a new area after giving birth. That way the turtles wont fight for ressources.

    • @WizardNamedMerlin
      @WizardNamedMerlin  ปีที่แล้ว +22

      Hey! I love hearing from someone who thinks about these things too...
      I should have talked more about this in the video, for me the challenge was a little different than just the self replicating. I also wanted the process to be as fast as possible while still having a comfortably >50% success rate, which may be why I didn't do some of these things:
      1. Originally the program actually did exactly what you're describing, in fact I took it right from my Mastermine program (from a previous video) in which turtles look left and right. I was conflicted when I changed it, but my issue was time. BREAK-MOVE-LOOK is 2 time costing steps for 3 scanned blocks, whereas looking left and right is 6 for 5. As for when the turtle is going down to bedrock, you're absolutely right, it should be checking for ore and currently isn't. I could / should add.
      2. It's funny, if you don't start the turtle with sugarcane it will look for it, and there's even some special instructions so that it will mine sugarcane from the top of the stock down. It isn't smart enough too look along riverbeds, so that's a possible improvement. Again, I cared more here about replication and time rather than starting with nothing, but it's just a matter of what you're optimizing for.
      3. Since the turtles go in straight lines away from each other and in different directions (always 90 degrees off) they won't be fighting for resources for long. That said, the straight line approach has its drawbacks and my next iteration I think will be more area-based.
      Keep the suggestions coming because I'm always suiting up for the next project!

    • @anonymousanon4822
      @anonymousanon4822 ปีที่แล้ว +6

      @@WizardNamedMerlin Hey! Thank you for the quick and thorough reply! Given that you were (at least secondarily) optimizing for time your approach makes perfect sense. An interesting metric could be to measure how big the turtle population can get in a certain amount of time. If we assume it doesn't die out, your balance between success and speed is probably not far from optimal (although both sides can still be improved on obviously).
      When writing I did think about your turtles travelling far distances once they reach diamond height and was wondering whether you made sure to always have them face into different directions. In that case that should work quite well although long-term the turtles will probably spread according to some gaussian-like distribution around the starting point, with a lot of starvation around the center. So I think an area-based approach like you suggested could improve long-term performance a lot. I'd be very interested if you find the time to implement something like that.
      Now that I know that you're optimizing for time I do have another suggestion though. I noticed that crafting takes a very long time. Although this can be imrpoved slightly (detecting matching crafting steps like making planks from logs and merging them into one) this wont change. However the turtle is also waiting a long time for sugarcane to grow. So I think it could save a minute to craft everything that can be crafted without paper while waiting. Another idea might be to use the waiting time to gather some more coal.
      Last idea for now, which might be against your philosophy: The turtles waste some fuel to figure out there level above bedrock. Especially when they end up having to gather coal before going back down to find diamonds. It would be a lot more efficient to gather coal first and then go down to find diamonds only once (unless extremely unlucky). To do that the turtle would need to know it's height before execution. Now I think it would be cheating to tell the first turtle. However to me it would be totally acceptable if a parent told it's child which height it is on. On could think of it as heritance. If you don't like that I understand. But if you don't have anything against it I think this would bring quite a big performance imrpovent.
      Cheers!

    • @WizardNamedMerlin
      @WizardNamedMerlin  ปีที่แล้ว +9

      @@anonymousanon4822 Now you're speaking my language! I agree a good metric is turtle pop / game time, I'd like to see how different methods match up. And like you said, there are DEFINITELY ways to improve both on my design. xD gaussian-like distribution is hilarious, you're totally right. It's pretty theoretical since turtles cover such a large distance, but after x amount of time starvation would happen at the center.
      And there's another reason an area based approach would be better. After this video I found a way to make turtles load chunks the same way as players, as well as speeding them up with the carpet mod. Population actually did start rising exponentially (in terms of game time), but lag caused the time between ticks to drop which ironically caused roughly linear pop growth. So another thing to optimize for in terms of practicality would trying to load as few chunks as possible (area based). I might make a video about this at some point.
      Crafting while sugarcane is growing is a good idea too, cuz almost all of the crafting can be done without it. @angelomatulac3764 suggested placing new sugarcane once it grows too, and I feel like combining these two ideas could really cut down on total time.
      And as for your idea of y-position inheritance, I love it! The way the program is set up (if I remember right), turtles only go down to bedrock if they don't already know their position. So it would actually be a really easy change to make. The first turtle would go down and check, but every following turtle would be set.
      Not sure what's next for this project, but thanks for the ideas!

    • @Katvanished
      @Katvanished 9 หลายเดือนก่อน +2

      @@WizardNamedMerlin it might be worthwhile to allow turtles to both "inherit" and "prepare" by gathering more materials than they need, and passing some of those onto a second cycle, either the descendants, or the second iteration of the original

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

      @@WizardNamedMerlin Might be a bit late, but i'm wondering how you managed to make turtles load chunks? Was this using a custom resource, or did you find some weird trick to make it work? I'm currently thinking about also programming self replicating turtles, with possibly way more advanced swarming behaviour in the future, but my main issue is loading chunks. I could use a mod that adds a chunk loader for turtles, but the main one i found uses ender eyes in the recipe, which is impossible for turtles to get since they can't travel through dimensions. I could change the recipe, purely for this, but if you found a better way of doing this i'd love to hear!

  • @SunroseStudios
    @SunroseStudios 2 ปีที่แล้ว +104

    this is really cool! would love to see a timelapse of how quickly they can replicate

    • @WizardNamedMerlin
      @WizardNamedMerlin  2 ปีที่แล้ว +28

      Thanks! Yeah, I wanted to end the video with that but I had some trouble getting chunks to load properly. I'm still working on a solution and I think I'll find one soon.

    • @whistler_
      @whistler_ 2 ปีที่แล้ว +4

      @@WizardNamedMerlin idk if you'd consider it cheating but you could use one of those mods that adds a chunk loader?

    • @BarnetGamer
      @BarnetGamer ปีที่แล้ว +11

      @@WizardNamedMerlin I might be a little late with that. But just in case you still haven't found a solution for that. To prevent the unloading issue without any external mods I log everything in a file after every move and make the turtle read the file on startup to figure out where it left of. This obviously might be a lot of work to integrate into your code and it also means that they still won't work in unloaded chunks, but at least they won't be lost somewhere at the end of the world for all eternity. Btw the spiritual successor mod (Open Computers) has this as a built in feature. Drones keep their memories buffered in unloaded chunks and continue automatically where they left of, when the chunk gets loaded again.

    • @BobDawgs
      @BobDawgs 9 หลายเดือนก่อน +1

      @@WizardNamedMerlin so unfortunate you didn't get around to doing this, it sounds so entertaining

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

      @@BobDawgs ​ Yesterday he updated his Github page about chunk loading, he might still be working on it!

  • @krajsyboys
    @krajsyboys 2 ปีที่แล้ว +38

    Amazing! I would love to see this with chunk loaded turtles and using the carpet mod to tick warp to see how many turtles you can get within a certain time

    • @WizardNamedMerlin
      @WizardNamedMerlin  2 ปีที่แล้ว +18

      Wouldn't that be cool? I wrote a data pack that would chunk load turtles, but it didn't work with crop growth so it broke when it got to sugarcane. I thought about trying the carpet mod (because it has chunk tick features), I'll look more into that.

    • @krajsyboys
      @krajsyboys 2 ปีที่แล้ว +2

      @@WizardNamedMerlin Keep me updated!

    • @cavemanpretzel9520
      @cavemanpretzel9520 2 ปีที่แล้ว

      It might also work to just restrict the world border to render distance

    • @elnico5623
      @elnico5623 2 ปีที่แล้ว +3

      Crops only grow around the player, the chunk being loaded is not the only requirement

  • @Z.O.M.G
    @Z.O.M.G 2 ปีที่แล้ว +24

    So you are telling me, you created a self replicating gray goo, that can create clones by it self? Because that would be insanely cool and impressive

    • @thepizzaguy8477
      @thepizzaguy8477 2 ปีที่แล้ว +14

      if every turtle were to replicate in an hour, there would be 2^24 turtles in only 24 hours, or 16777216 turtles. if the game was on a super computer id love to try and play while they tear apart the world

    • @Z.O.M.G
      @Z.O.M.G 2 ปีที่แล้ว

      @@thepizzaguy8477 holy shit. Yes

    • @WizardNamedMerlin
      @WizardNamedMerlin  2 ปีที่แล้ว +9

      @@thepizzaguy8477 16777216! That's my favorite number!

    • @thepizzaguy8477
      @thepizzaguy8477 2 ปีที่แล้ว

      @@WizardNamedMerlin neat

    • @zachowns1023
      @zachowns1023 ปีที่แล้ว

      @@WizardNamedMerlin how do I get it to come back home?

  • @KarolOfGutovo
    @KarolOfGutovo 2 ปีที่แล้ว +9

    How does the program react to unminable blocks? If it can handle them I think it could be cool to prepare a 1000x1000 "terrarium" with barrier block walls and elevated ore concentrations and watch them spread around and eventually deplete the coal and die out. Maybe have the turtles mine themselves (if that's possible) once they have no chance of regaining coal, or better yet, keep some coal to share with "dead" turtles they stumble upon.
    The project is very cool, you are like a wizard.

    • @WizardNamedMerlin
      @WizardNamedMerlin  2 ปีที่แล้ว +3

      I love everything about this :) ideas for the future... 🧙

  • @ThatJay283
    @ThatJay283 9 หลายเดือนก่อน +1

    ive made turtles do massive quarries using shulkers for temporary storage and a bucket for lava, and it definitely increased the efficiency of them. i made them opportunistic and able to refuel on lava and coal.
    also, clearing across XZ or YZ at a time was much better at finding fuel than across XY. because of lava as fuel, the same algorithm also worked in the nether too :)

  • @tux1468
    @tux1468 9 หลายเดือนก่อน +9

    using old textures? BASED

  • @QuoBoat
    @QuoBoat 9 หลายเดือนก่อน +106

    Bro really looked at a turtle and said "AY, Go craft yaself"

    • @ptiger3677
      @ptiger3677 9 หลายเดือนก่อน +1

      And it bloody did

  • @Franschisco
    @Franschisco 8 หลายเดือนก่อน +2

    omg imagine adding parameters for each of the turtles and having the parameters slightly change per generation mimicking evolution

  • @toothlessblue
    @toothlessblue 9 หลายเดือนก่อน +2

    this is something I want to accomplish with OpenComputers, although robots are considerably harder to build than turtles, and I'll probably need a power grid of sorts

  • @griggorirasputin6555
    @griggorirasputin6555 8 หลายเดือนก่อน +1

    This is extremely cool! It’s incredible to imagine what other behaviors the turtle could express throughout its life cycle, and how it could interact with players, I’ve never used this mod before so I don’t know how laggy it is, but I hope it runs well enough for complex behaviors and large populations to be possible

  • @SunVee
    @SunVee 2 ปีที่แล้ว +11

    i am very surpised that this video only has ~1.3k views because this is so incredibly interesting and informative! i've seen something similar before but this is the first fully automatic one i've seen. thanks for making such an incredible video :)

  • @thomasdechman9376
    @thomasdechman9376 9 หลายเดือนก่อน +2

    This reminds me of the dude who made a remote-control turtle to get onto a server without getting whitelisted

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

    Thought about making something like this too but... didn't. I would have turtles have different roles - some would gather resources, other manage storage and craft items, other still collect fuel and supply refueling chests or even deliver it to the turtles that need it... Fun stuff.

  • @user-jm8sy5ox2j
    @user-jm8sy5ox2j 8 หลายเดือนก่อน

    This is a really cool project, it goes against the original principle, but a central base would make this far more reliable and practical. Ender chests can be used to send items back and forth to a central base where fuel would be grown, turtles would be crafted, floppy disks would be programmed, excess items would be offloaded, etc. This way, you wouldn't have to consider running out of fuel or the long wait time for sugar cane to grow, and the turtles could focus on producing resources or deploying new members.
    If you let it run for several hours while waiting for the turtles to duplicate enough, you could probably get one of the higher output mining machines in minecraft with like 100 turtles milling about near bedrock.

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

    responsiveness: reacts to blocks around it
    growth: you could view the sugar cane process as it "growing" the brain of its next of kin
    metabolism: poops out extraneous blocks
    energy transformation: uses fuel to power itself
    reproduction: creates a replica of itself

  • @omegahaxors9-11
    @omegahaxors9-11 9 หลายเดือนก่อน

    Fun fact I almost once made an opencomputers robot that was self-aware, but due to a bug it would constantly "learn" the same block over and over and over again causing it to fill its entire memory bank with "stone" I realized that it was impossible to differentiate things with the implementation that I used and it was cosmically hard to come up with one that did, so I just quit.
    Point is, this brings me back to the good old days of modded minecraft.

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

    Absolutely lovely. It's a shame you stopped making videos, there doesn't seem to be anything else on youtube that scratches quite the same itch that this video does. It's extremely cool and really inspiring.

  • @Nzargnalphabet
    @Nzargnalphabet 9 หลายเดือนก่อน +1

    A tip, f3+n can be used to quickly swap between spectator and creative mode

  • @cheekysurfer6900
    @cheekysurfer6900 9 หลายเดือนก่อน +1

    you could definitely make this more efficient if you add some logic of keeping some of the materials like the remaining paper so that the turtle could potentially make more than one turtle at once or not have to spend as much time the second time to make a turtle

  • @xevento8682
    @xevento8682 9 หลายเดือนก่อน +1

    Oooooh, i'll definitely be giving this challenge a shot. I already have some ideas like a better algorithm to find ores, especially for the diamonds. This is really interesting.

  • @christianloizou4463
    @christianloizou4463 2 ปีที่แล้ว +2

    Dude, you're an absolute genius

  • @FlatlandsSurvivor
    @FlatlandsSurvivor 9 หลายเดือนก่อน

    For a reliable fuel source, I am intrigued by kelp. Spreading an endless kelp ocean to harvest as it goes has so much potential.

  • @pialamode
    @pialamode 9 หลายเดือนก่อน

    Have you considered using lava as a fuel instead of coal? You wouldn’t have to go up to coal level when you were running low on fuel, and in addition you could actually get infinite fuel if you kept a full lava bucket, a single piece of dripstone, and a cauldron on the turtle at all times. Dripstone dripping lava over a cauldron produces infinite lava buckets, albeit very slowly, and you can place that down anywhere that’s not underwater. The downside of this is the turtle would have to find dripstone to duplicate itself, but dripstone caves are not actually particularly rare.
    It also seems like it’d be a surer bet to have the turtle keep a sapling around to get the wood rather than searching out naturally existing trees. You could actually do this at the same time as it’s waiting for the sugar cane to grow by putting a sapling on one side of it and a sugar cane on the other. Then the only time you’d depend on the surface biome is for sand. You need to be mindful because the turtle has limited inventory slots, obviously, but you’d only need to hold about 4 extra items and it looks like you have the slots open for that.

  • @sajeucettefoistunevaspasme
    @sajeucettefoistunevaspasme 8 หลายเดือนก่อน +1

    that's an interesting thing you did, Merlinlikethewizard

  • @oMisqki
    @oMisqki 9 หลายเดือนก่อน +1

    The turtles will have multiplied to expand their population’s sustainance to expand beyond the plain in which they were created. They will be so many that they have to move elsewhere to live. Eventually they will learn about the player and learn about how the player uses the precious resources that they use to multiply. The turtles will then work to eriadicate the human and end their wasteful ways.
    This is huge…

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

    Super relevant. I just finished reading the Bobiverse series. Now I want to make a network on these.

  • @omegahaxors9-11
    @omegahaxors9-11 9 หลายเดือนก่อน

    If you ever wanna try this again with opencomputers, the geolyzer can be installed and act as a little ground penetrating radar. Alternatively if you use wireless cards you can also have a central geolyzer scan the area then feed data to the hive.

  • @brianzmek7272
    @brianzmek7272 9 หลายเดือนก่อน

    You could definitely add a tree farm mode to vastly improve the turtles life span you would have the to give it a starter sapling and they could still starve if somthing dusrupts the farm or they get unlucky with sapling drops but this way there is a strain that is slow but can clean the arias others have already stripped the coal from.
    Similarly the turtle could carry a water bucket (or something even self upgrade) so it can grow shuger cane anywhere. And a truly industrious one could farm cobblestone but that seems unnecessary.

  • @longerblade
    @longerblade ปีที่แล้ว +1

    this remind me about self-replicating slylandro drones from SC2

  • @dadstruction368
    @dadstruction368 9 หลายเดือนก่อน

    I’ve been wanting to try self replication for some time, but it never occurred to me to combine crafting and mining in one turtle. This is amazing. Only issue I have with the program is that the search runs in a straight line forever until it finds the ore or (more likely) runs out of loaded chunks. Would be great if it turned right occasionally. Maybe have it measure the distance from the last turn, turn when distance is greater than TURNDIST and increment TURNDIST.

  • @juhotuho10
    @juhotuho10 ปีที่แล้ว +5

    Holy, this is amazing
    improvement suggestion:
    Instead of dumping resources that it doesn't need, it puts them in a chest and then picks them back up to help with the constructiuon of a new turtle

  • @Chiaros
    @Chiaros 9 หลายเดือนก่อน +2

    The grey goo is inevitable.
    (btw, you can do F3+N to toggle spectator mode)

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

      Is that a worldbox reference?

  • @mistycremo9301
    @mistycremo9301 9 หลายเดือนก่อน

    I'd love to see a version of this where the clone can have it's code randomly (or pseudorandomly) editted. Just starting it up and letting it run for a while would be cool

  • @abe-danger
    @abe-danger 9 หลายเดือนก่อน

    now we need that very industrial music in the background with a long timelapse and boom, world domination by turtles!

  • @-fish-3316
    @-fish-3316 2 ปีที่แล้ว +11

    Very interesting project!
    Lava would also be a great way to refuel.
    Question: How does the 2'nd turtle turn on and boot the program by itself? I'm a bit new to this mod. Maybe I missed something.

    • @WizardNamedMerlin
      @WizardNamedMerlin  2 ปีที่แล้ว +16

      Good question, this is something I didn't know was possible until I wrote the program. Firstly, a turtle can boot an adjacent turtle/computer by calling for instance "peripheral.call('bottom', 'turnOn')". Secondly, when a computer boots, it will run any file labeled "startup" either in it's directory, or (importantly) on any disks that are connected. So all the first turtle has to do is copy it's code to a file called "startup" on the disk (with some extra code for unpacking the first time it's run), and then boot the second turtle, and the rest is automatic.

    • @-fish-3316
      @-fish-3316 2 ปีที่แล้ว +2

      @@WizardNamedMerlin Thank you for answering! Now it is all clear.

  • @caesar_cider2777
    @caesar_cider2777 9 หลายเดือนก่อน +1

    now it's only a matter of time until someone uses turtles to make Grey Goo

  • @etis398
    @etis398 ปีที่แล้ว

    Hey, this video is informative and I think there is a lack of content on youtube for this wonderful mod with so much potential. Full let's play with automation and various farms, tree farms, food farms, quarries, how to use turtles as companions in a survival game !

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

    thats awesome i tryed doinh that in ftb lite back in the day but my turtles keept dying before they could gather enough materials i love how you solved the fuel problem this video honestly gibes me motivation to revive my old code agaim

  • @mrchapin94
    @mrchapin94 9 หลายเดือนก่อน

    My God, freaking wizard with technology you are.

  • @john.dough.
    @john.dough. 9 หลายเดือนก่อน +1

    reminds me of ottomated's video! neat! thanks for sharing

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

    itd be pretty cool if turtles could communicate and share resources!

  • @eve_squared
    @eve_squared ปีที่แล้ว

    maybe have them use a partner to send resources back to base? I'd love for it to be more practical for survival but amazing nonetheless. Really feels like the turtle is just playing minecraft on it's own. Especially since it can "Die" and doesn't respawn so it builds more of itself to prevent that.

  • @MinecraftTestSquad
    @MinecraftTestSquad 9 หลายเดือนก่อน +1

    Dude! This is really cool and I was very sad to see you hadn't made more videos on this. Do you plan to expand the concept? I think this is super interesting :D

  • @aedenallen9920
    @aedenallen9920 ปีที่แล้ว +5

    Now I'm wondering, are you able to set a limit for how many they make on their own and have them all return to the original position the first one was made so that you can wipe the code from the files and have a bunch of turtles? Also, love the mining code you made, just started using it and they are already proving how useful they are!

  • @ze5os427
    @ze5os427 9 หลายเดือนก่อน

    this is inspiring me to make a turtle colonization AI thingy using ComputerCraft

  • @gh05tparkourfreerunning31
    @gh05tparkourfreerunning31 ปีที่แล้ว

    I'm also planning on building something similar! Granted I was just going to run a websocket on an express server to give them all their commands to control them all with minimal lua :p
    Bonus suggestion: a preist turtle that delivers fuel to dead turtles to revive them! Granted that'd work better with the websocket so you know where they all are :)

  • @tangentfox4677
    @tangentfox4677 9 หลายเดือนก่อน

    Apologies if this has already been said, but turtles rotating doesn't use fuel. It could mine more efficiently by checking everywhere around it.

    • @WizardNamedMerlin
      @WizardNamedMerlin  9 หลายเดือนก่อน +1

      Yeah, it's a good point and you're totally right, it would improve the success / fail rate a good amount. The reason I didn't was because I also wanted replication to be fast, and looking left/right would have slowed it down a bit. Actually in my original mining program they did exactly this and it worked pretty well. As I keep working on autonomous turtle projects I'm noticing that there are a lot of different approaches and it's all about the trade-offs

    • @tangentfox4677
      @tangentfox4677 9 หลายเดือนก่อน

      @@WizardNamedMerlinI was also thinking about chunk loading. Is this program capable of recovering from interruption by having chunks unloaded and reloaded?

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

    I think a chunk loader would be cool, but could be tricky to craft. you can also switch tools from the inventory.

  • @TheJimmyCartel
    @TheJimmyCartel ปีที่แล้ว +1

    On tekkit 2, when I put in the code, everything starts off working great, put in the coal, goes to next step, put in the chest and it checks the box, but putting in sugar canes doesn't seem to do anything. i replaced all the minecraft:sugarcane in the code with minecraft:reeds and that worked!

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

      thank you bro im trying to fix it

  • @neves5083
    @neves5083 ปีที่แล้ว

    My ideas of self replicating turtles solved the problem of fuel going on the lines of "Consume anything and everything that burns" lol
    It was kinda the idea to destruct the entire world anyways so i never had to bother with tree farms, it was supposed to consume the forests anyway

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

    I think a cool function would be to have a call button that tells all the turtles with this code to travel to a specific location.

    • @WizardNamedMerlin
      @WizardNamedMerlin  8 หลายเดือนก่อน +1

      I would love this. It might be hard since wireless turtles need enderpearls for their modems, which are a bit of a task for turtles to farm. Still, worth looking into

  • @RhuanvcSantiago
    @RhuanvcSantiago 2 ปีที่แล้ว +4

    Cool video, bro. Have my subscribe!
    Waiting for another one witch you show us how many of them survived after a long time, how many will exists after a certain period, and how much minecraft supoorts until it crashes. xD

    • @WizardNamedMerlin
      @WizardNamedMerlin  2 ปีที่แล้ว +1

      Thanks so much! I would love to make a video like that, and I'm currently working on solving the problem of loading in chunks around turtles. All the fun ways to crash Minecraft :)

  • @ThatJay283
    @ThatJay283 9 หลายเดือนก่อน

    nice! i probably would've made them abit more oppertunistic tho. like farming more than just one sugarcane at a time and getting coal/iron/redstone/diamonds that it doesnt need
    also, what if the turtle parameters (like for item targets) were mutatable? like, just chuck all the mutatable parameters into a new json file, then mutate and send? so some new turtles just fail somewhere, while others get really successful.

  • @RyanjrPlays
    @RyanjrPlays 2 ปีที่แล้ว

    Ive always considered doing something like this but never made it into actuality. Theres some very nice coding going on here! Nice job!

  • @somerandomdragon4655
    @somerandomdragon4655 9 หลายเดือนก่อน +2

    Can you set area provisions and the ability to destroy structures? This has the capability to be an extremely difficult to counter directed grey goo weapon for use in faction servers

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

    Thanks TH-cam for showing me this 2 years later

  • @gunnargu
    @gunnargu 9 หลายเดือนก่อน +2

    Give them chunk loaders and then leave it running a few weeks! CraftyMiningChunkload Turtles!

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

    Bro made a Von Neumann turtle, amazing

  • @authenticallysuperficial9874
    @authenticallysuperficial9874 9 หลายเดือนก่อน +1

    It's turtles all the way down.

  • @MinerBat
    @MinerBat ปีที่แล้ว

    it would be cool if the program made sure it does not move away too far from its starting location and all the children dont either. then you can just have an area being overrun with them while right now they will move out of render distance

  • @Lupinta
    @Lupinta 9 หลายเดือนก่อน

    Very cool! I remeber seeing someone do it on the OTVserver too :-)

  • @helved807
    @helved807 9 หลายเดือนก่อน

    I really want to see a timelapse of a set size world box get eaten by these, then watch them quickly drop in population as the resources get drained

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

    What if the copying process was randomized? Like maybe some variables can change and get better overtime

  • @potatoheadpokemario1931
    @potatoheadpokemario1931 2 ปีที่แล้ว +3

    wouldn't it be more efferent to keep the leftover items it will need rather than dumping the leftovers?

    • @w1keee
      @w1keee 2 ปีที่แล้ว +2

      probably, but it would be more complicated to program

  • @austinsgameroom
    @austinsgameroom ปีที่แล้ว

    ottomated made a websocket that lets him connect to servers and play as a turtle without being whitelisted, this seems like a program that would be perfect to be packaged along side it

  • @df1ned
    @df1ned 9 หลายเดือนก่อน

    Well done on making grey goo!

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

    "There are lots of things that can go wrong here" Ah yes, the most accurate phrase I've heard from programmers.

  • @davidNK-A
    @davidNK-A 8 หลายเดือนก่อน

    You made gray goo in Minecraft? Aweosme!

  • @dyjhjfrtt6607
    @dyjhjfrtt6607 9 หลายเดือนก่อน +2

    You basically just created the grey goo.

  • @Gamingoodz
    @Gamingoodz 9 หลายเดือนก่อน

    I always think it's crazy when people can get something built with thousands of lines of code. I'm just learning as a hobby and thinking about that hurts my head.
    I work in IT but on servers and networks. I'm not a programmer. I like to tinker and learn things tho so programming always interests me. I've wrote simple programs in CC but I can't imagine 6k lines of code.

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

    It can determine it's y level based on the deepslate, also it should place down the second sugar cane to grow

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

      Also why the hell does it throw out excess resources

  • @wchemik7777
    @wchemik7777 9 หลายเดือนก่อน

    Looks amazing though i feel compelled to ask how it handles the Ocean in the context of gathering coal

  • @whistler_
    @whistler_ 2 ปีที่แล้ว +1

    Any plans to do more videos on this? I'd love to see one that's just seeing how much they can replicate

  • @timothyt.82
    @timothyt.82 9 หลายเดือนก่อน +1

    Could we make turtles that can create an entire village (structures only, no civilization) on their own?

    • @WizardNamedMerlin
      @WizardNamedMerlin  9 หลายเดือนก่อน +1

      Bet we can

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

      @@WizardNamedMerlin He Lives!, also how is the project progressing? (and what version of mc is this in?)

  • @guard13007
    @guard13007 9 หลายเดือนก่อน

    I want this, but to add a chunkloader to them and a method of determining a max hoard size, to reduce how much it breaks my computer.

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

    Maybe put a special line of code to automatically return back to the surface, and shut down (or even go back to a base where it would be dissassembled.)

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

    make a video of it once they have duplicated 1,100,1000 generations I would love to see the chaos it creates underground.

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

    Is there anyway to keep track of them, such as which generation they're apart of and how many other turtles they've created? Great work!

  • @Hens1123Minecraft
    @Hens1123Minecraft 2 ปีที่แล้ว +3

    Lol can you make the living turtles refuel the dead ones if they find the dead ones?

    • @WizardNamedMerlin
      @WizardNamedMerlin  2 ปีที่แล้ว +2

      I like that idea! In future projects I'm hoping to have wireless replicating turtles (a little more difficult), and maybe they could gps track to find fallen brethren :)

    • @Hens1123Minecraft
      @Hens1123Minecraft 2 ปีที่แล้ว

      @@WizardNamedMerlin Very cool stuff. keep making these crazy designs!

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

    I wonder if you could add extra logic to allow it to reuse and store the extra resources and workstations so it doesn't need to regather a bunch of resources

  • @blu3260
    @blu3260 9 หลายเดือนก่อน

    What about collaboration? Like, what if you have tree farm turtles and then mining turtles and item processing turtles, and they share the resources with each other?

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

      I like the idea of them being more like rabbit colonies than ant nests, the over specialization makes them feel less like their own little creatures

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

      ​@@griggorirasputin6555 That's fair, it is also impressive that it can do the whole cycle all with one turtle

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

    This is so good.

  • @andrew3606
    @andrew3606 ปีที่แล้ว

    I wonder if it would be worth it to have the original turtle go off in a different direction like 20 blocks before it digs down again to avoid finding the same ore veins

  • @Zero-4793
    @Zero-4793 9 หลายเดือนก่อน +1

    woulda loved to see the 2 from ealier and if they were up to 4 now.

  • @carteradams1079
    @carteradams1079 9 หลายเดือนก่อน

    Hi, so you went over how coal was the main fuel in the turtles, but what if the turtles had a subroutine to build tree farms about 10 blocks above bedrock? I mean it isnt helpful to us as the player if all little asdfghj jr does is dig in straight lines and turn lava lakes into obsidian. I mean it passes the test of self replication, but with the right structure, it could be much more

  • @z0ck3r
    @z0ck3r 9 หลายเดือนก่อน

    This is like a server doomsday device
    You got some time to stop them whilest there are only a fow or else they get out of hand und multiply untill the server can't handle it anymore
    The longer it takes you to find them the harder it gets

  • @nateblanchard2951
    @nateblanchard2951 2 ปีที่แล้ว

    he is really good we been working on a cool track laying program

    • @WizardNamedMerlin
      @WizardNamedMerlin  2 ปีที่แล้ว +1

      Thank you Nate!! You're a really good student too!

  • @emmettdja
    @emmettdja 2 ปีที่แล้ว

    Is that an A Star search algorithm for mining out the veins? I would love to see how it works... probably can just take a peek a the pastebin. Nice work. I had this challenge idea in my mind as well...

    • @ictogon
      @ictogon ปีที่แล้ว

      Depth first search would work just as well

  • @RobertPendell
    @RobertPendell ปีที่แล้ว +1

    Survival of the Fittest: Turtle Edition