Training an Unbeatable AI in Minecraft

Поділитися
Вставка
  • Опубліковано 5 січ 2024
  • I created Artificial Intelligence using only command blocks inside of Minecraft. This A.I. has the ability to complete parkour and solve ANY MAZE. this project was aids
    ALSO for@PalmDEV who i showed in the beginning of the video, I'm sorry; you just left the funniest comment lol. Also you gave me the urge to even make this video so thank you
    I know this video is a bit hard to follow but if you somehow were still able to enjoy it then I'm glad.
    ✦ Join My Discord For Map ➾ / discord
    ✦ Subscribe If You Like My Content ➾ ua-cam.com/users/KiddyKene?sub_c...
    ✦ Follow My Twitter ➾ / kiddykene
    ✦ Follow My Instagram ➾ / kiddykene
    ✦ Follow My Tik Tok ➾ / kiddykene
    ✦ Follow My Twitch ➾ / kiddykene
    ✦Channel Member ➾ / @kiddykene
    Have a good day :)
    - Kiddy Kene
    #minecraft
  • Ігри

КОМЕНТАРІ • 1,2 тис.

  • @PalmDEV
    @PalmDEV 4 місяці тому +1682

    I am genuinely honored that you made a whole video and project just out of the urge to prove me wrong.
    Well done, and well played. I have subscribed. If you are reading this and you are not Kene, you should too.

    • @kazuala
      @kazuala 4 місяці тому +223

      Guys, I can't believe, there are actually people with good sportsmanship in the world

    • @KiddyKene
      @KiddyKene  4 місяці тому +265

      Hahah thanks for the good spirit

    • @PalmDEV
      @PalmDEV 4 місяці тому +98

      @@KiddyKene You deserve it for sure! The video was impressive!

    • @ITR
      @ITR 4 місяці тому +9

      I'm curious, did you confuse AI and ML with each other?

    • @ImMazerine
      @ImMazerine 4 місяці тому +2

      XD

  • @FireFox2313-di6bk
    @FireFox2313-di6bk 5 місяців тому +1684

    As a programmer, all this hard coding hurt my soul

  • @HarpanW
    @HarpanW 4 місяці тому +879

    As someone with a bit of command experience, the hardcoding of 360 angles TWO TIMES wanted me to throw myself out of the window

    • @patfre
      @patfre 4 місяці тому +34

      The worst part is because this is just hard coding this isn’t AI at all

    • @PythonicIe
      @PythonicIe 4 місяці тому +148

      @@patfre That just isnt true. Rule-based AI is, in fact, a branch of AI-it follows predefined rules to make decisions. In this case, the system uses rule-based AI by spawning all possible locations to move to and then deciding the best course of action based on a set of rules.
      This AI literally jumps in all directions, and if nothing works it pulls back on the jump and if that still doesn't work, it repeats the process until it gets the desired outcome, or if it reaches a dead end, using rules it figures out it aint doing jack for shit and back tracks and checks again if its doing anything, and keeps backtracking until it can continue. This aligns with the literal definition of machine learning,
      Consider any other machine learning program designed to figure out the optimal way to complete a task, like finishing a race. Lets take a Trackmania AI I saw once, The rules are simple, if a movement puts your time behind a previous run, then thats bad, dont do it next time, but if an action makes your time faster than a previous run, than do that action until you figure out a better way, and it repeats that thousands of times until you have a perfect run that beats humans.
      its literally the same concept, but here, if a jump makes you touch the kill range its game over- re try, but if you succeed than thats perfect, keep going, its just a simpler rule set with MUCH less room for error, which makes it seem like its not machine learning when it's just simpler.
      It is literally doing what AI is, what are you guys complaining about, just because its simpler, yes its hard-coded, but that doesn't make it any less of an AI, it is a program that can learn how to complete a puzzle.
      Its almost like you guys are expecting Kiddy to code Chatgpt when thats not what most problem solving AI's are, they are programs that do stuff on a rule set THAT IS HARD CODED, of course there are better ways to do the angle stuff, I get the op's post, but you are just spouting bullshit.

    • @patfre
      @patfre 4 місяці тому +18

      @@PythonicIe the thing you see here is called depth first search which is an algorithm and NOT AI

    • @PythonicIe
      @PythonicIe 4 місяці тому +38

      @@patfre The learning aspect comes from the exploration and evaluation of different paths. The AI is making decisions based on the outcomes of its previous attempts, and it learns to avoid paths that lead to undesirable results (e.g., falling into the death area). This kind of learning through exploration and feedback is a fundamental aspect of machine learning, while it may not be Absolute Artificial Intelligence(like most problem solving algorithms), the 'AI' system, which uses DFS for path exploration and combines it with decision-making and learning components to find and utilize the most optimal path through the parkour course, can be classified as a form of reinforcement learning within the broader domain of machine learning, the very fact it uses its knowledge to take the best path to the end after its training classes it as Machine Learning, which is an application of AI.
      I guess I was being harsh, we both arent wrong here and Kiddy can indeed call what he made AI as it does fall under the branch

    • @patfre
      @patfre 4 місяці тому +8

      @@PythonicIe what your saying is exactly what depth first search algorithm does and it is NOT EVER AI seriously how is this so damn difficult to understand? And algorithm is an algorithm end of story.

  • @chipichipichapachapaWHY
    @chipichipichapachapaWHY 4 місяці тому +201

    Something people are forgetting is that command blocks and redstone are Turing complete, meaning they can create any other Turing complete machine or just something the Turing complete machine could do. So, you could use that fact to immediately prove that artificial intelligence is possible in Minecraft.

    • @hunterchichester5720
      @hunterchichester5720 2 місяці тому +1

      eEeEeErRRrmMmM AaAAaCcCcTtuUaLllyYy

    • @kaustubhpandey1395
      @kaustubhpandey1395 2 місяці тому +6

      Yes!!!
      People are saying it's not AI because of all the hardcoding
      But its a simple AI just because it has memory and a winning/losing state
      The hardcoded stuff can actually be programmed because of the turing completeness!
      You just need the correct algorithms for sin/cos/better AI algorithm and machine learning concepts
      Minecraft can do it all

    • @TroyLaurin
      @TroyLaurin Місяць тому

      I think that's only correct with infinite simulation distance

    • @zackbuildit88
      @zackbuildit88 13 днів тому

      ​@@TroyLaurinTuring completion proofs assume that hardware limitations are ignored, only software. In this case, the "hardware" is Minecraft and its render distance, so we ignore their limits and just assume they're infinite

    • @TroyLaurin
      @TroyLaurin 13 днів тому

      @@zackbuildit88 I'm willing to believe that proofs of Turing completeness ignore hardware limitations, but the comment that I was responding to was "immediately prove that artificial intelligence is possible in Minecraft"

  • @azimlicocuk9899
    @azimlicocuk9899 4 місяці тому +115

    aw man we didnt get to see it complete the labyrinth in the end properly like he did with the parkour

  • @battletechpropaganda
    @battletechpropaganda 4 місяці тому +148

    he did it boys, he actually made sin, cos, and tan useful

    • @-duck.-.duck.777
      @-duck.-.duck.777 3 місяці тому +1

      He did

    • @metactal
      @metactal 3 місяці тому +10

      It has always been very much so. When was that ever contested??

    • @cliryu
      @cliryu 2 місяці тому +4

      this depends on what job/things you do but since, cos, and tan are VERY useful, like to find height of a wall using shadow length*tan(angle of sunlight) also sin and cos are used to graph things like sound and light waves, which in music, phonology, and things like noise cancelling earphones all use, cosine and sine can also enable the deaf to use devices to hear, so this isnt to be rude but sin, cos, and tan are very very useful

    • @torocreative
      @torocreative 2 місяці тому

      yes i also love measuring walls with shadows@@cliryu

    • @gamerman5500
      @gamerman5500 2 місяці тому +3

      @@cliryu I definitely agree with most of what you said but WHY did you include finding the height of a wall???????????? that's one of the worst (real world) applications for trig when you could use so many other faster methods that don't depend on it being a sunny day with no clouds

  • @aryananjayan
    @aryananjayan 5 місяців тому +131

    One must imagine Kiddy Kene happy building ALL those command block towers...

    • @KKJKJH
      @KKJKJH 4 місяці тому +4

      sisyphus reference?

    • @modahabbab4576
      @modahabbab4576 4 місяці тому +1

      one must imagine kiddy kene sane

  • @Ratz99
    @Ratz99 4 місяці тому +216

    there is a WAAAY better way to do the direction, you make a scoreboard that you constantly add 0.1 to and set it to 0 when we reach 360, which you also make it convert to storage in /execute, we use that and /data modify to set it to the value in a specific integer, so we do it for x , and z. That's it.

    • @williamroe8905
      @williamroe8905 4 місяці тому +15

      or just only do like 30 of the values, which is probably good enough

    • @speedruning_toast
      @speedruning_toast 4 місяці тому +21

      my guy is speaking enchantment table

    • @Ratz99
      @Ratz99 4 місяці тому +4

      @@williamroe8905 well it has to move like a player, a player doesn't go to one spot every single time

    • @williamroe8905
      @williamroe8905 4 місяці тому +4

      @@Ratz99 I think the quality of movement from 30 angles would be just as good

    • @MrFiveHimself
      @MrFiveHimself 4 місяці тому +1

      ⁠@@Ratz99yeah but then again, 30 jumps is gonna be around 12 times faster than doing all 360. Plus you can probably run several different jump distances sequentially if you individually if you only run 30 different angles. Especially if you only calculate 1 angle at a time.

  • @RandomGamingDev
    @RandomGamingDev 4 місяці тому +70

    Great video, but there's a better (and much shorter) way to calculate sine and cosine using a shortened Taylor Series.
    The Taylor Series approximates sine and cosine through an infinite sum that gradually gets closer to sine and cosine's true values (this is actually how trig operations are often dealt with in math), but you don't need infinite accuracy, especially if you use modulo to restrict everything to { -π/2 < x < π/2 } for sin(x) & cos(x) which is much more accurate due to being located at the center.
    Just take the infinite sum and cut it off to a certain point (by changing the infinity sign on top of the sum operator) when its accurate enough (I think 2 should be more than enough for your purposes).
    Then, just simplify down the equation until you get an easy to use calculation.
    For instance, for the the Taylor Series of sine shortened to sum up to 2 we get x - (x^3 - (x^5/20))/6.
    This is very accurate at less than 0.5% error even at the extremes within { -π/2 < x < π/2 }
    btw if you do read this I challenge you to build an actual neural network instead of a decision tree (I recommend using a dense network + backpropagation)

    • @Beatrix-VR
      @Beatrix-VR 4 місяці тому +8

      Talor swif

    • @RandomGamingDev
      @RandomGamingDev 4 місяці тому

      @@Beatrix-VR lmao

    • @hugohugs9306
      @hugohugs9306 4 місяці тому

      I stopped read after 5lines 😂

    • @Bohemianism_
      @Bohemianism_ 4 місяці тому +3

      or even better, do /tp ^ ^ ^1 on an armour stand to move 1 block forward in whatever direction it's facing, and then measure the change in x and change in z, and since you know the magnitude of the change in displacement vector is 1, that will give you the cosine and sine. haven't worked with mc commands/datapacks in a while tho so i don't remember which is which.

    • @RandomGamingDev
      @RandomGamingDev 4 місяці тому

      @@Bohemianism_ While that does work, the issue with that is the fact that it uses an armorstand, which can be easily destroyed, lost, is harder to copy between builds and datapacks, and is in general, annoying to deal with. The shortened Taylor Series method means no dealing with armorstands and easy storage and manipulation (like copying and pasting) as well as having control over the accuracy as well as having EVERYTHING managed on the scoreboard which means that values can be more easily manipulated.
      So while the armorstand strategy works, I personally would recommend the shortened Taylor series over it just for its ease of use and the amount of control you have over it.

  • @MrNobody467_alt
    @MrNobody467_alt 5 місяців тому +36

    “And I took that personally”

  • @jimmyfennelly264
    @jimmyfennelly264 4 місяці тому +8

    The reason you hit a motion vector of [0,0,0] halfway between the jump is actually correct in terms of physics. the motion vector is the velocity along a taken path, and in kinematics the peak of a thrown curve with respect to gravity always has a velocity vector of [0,0,0]. After that point, the velocity goes from positive to negative and begins its descent

    • @jblock9675
      @jblock9675 4 місяці тому +3

      I think you mean vertical velocity, the armor stand shouldn't stop moving forward midway through the jump

  • @AquaQuokka
    @AquaQuokka 5 місяців тому +89

    I only recently discovered your channel and you've already become one of my favourite tech UA-camrs. Props to you and your hard work.

  • @ycstudio6680
    @ycstudio6680 5 місяців тому +48

    I never knew AI took over Minecraft. (I'm looking at you Elon)

    • @patfre
      @patfre 4 місяці тому +3

      It also didn’t this has as little AI as the printer

    • @dreamtwerks1069
      @dreamtwerks1069 4 місяці тому

      it is ai learning, rule based aproach.@@patfre rule is: search where theres blocks to move.
      move if possible, if not go back and try again. reach end = win.
      if was not ai he would have to set each movement by itself, you can literally see the machine deciding where to move, a bit hardcoding but still ai. in mc theres no way he would make a learning based aproach

    • @cewla3348
      @cewla3348 4 місяці тому

      @@patfre boo hoo you expect someone to make chatGPT in minecraft. get a grip on what is feasible.

    • @cirogarcia8958
      @cirogarcia8958 4 місяці тому +1

      @@cewla3348 This is more of a pathfinding algorithm. Each individual follows a set of instructions instead of deducing the next action based on the current input. Fred doesn't know anything about it's own state, because it is just a visual representation of a fixed set of jumps that he blindly follows. If you put fred in a new course, he will always fail unless you retrain him, and that new fred will forget everything about the original course. An AI (ML model) would have some inputs that give it information about it's surroundings, and based on that information, it could store data that helps it make the correct jumps. This method would result in an AI that would make jumps determined on the actual course, and not on a predefined set of instructions, and would be capable of traversing new courses without retraining

    • @Abnorlmally
      @Abnorlmally 3 місяці тому +1

      @@cewla3348 , do you even have a pinch of knowledge about making ai? any one who has watched the first 3-5 minutes of an actual ai video will know that an ai need: input (aka a number value that can be processed), a layer with internal neurons (one neuron takes info from the input or another neuron from the previous layer and does some math that is basically the sum of all the inputs multiplied by there corresponding weight and then a mathematical function that i forgot the name of) and output (if you don't know what output could be then that would surprize me). respectfully, no, i don't expect him to make a gpt model but he could at least try to make an actual ai. even one layer with 1 neuron would be fine, just don't use AI in your title as clickbait

  • @meqs
    @meqs 3 місяці тому +41

    I have to try this myself 😂

    • @garysoh3347
      @garysoh3347 3 місяці тому

      Hello,villager ai song

    • @bobby12376
      @bobby12376 3 місяці тому

      ​@@garysoh3347hello, skibidi toiler song

    • @abocwsg2328
      @abocwsg2328 3 місяці тому +1

      🤖

  • @idk59750
    @idk59750 5 місяців тому +14

    0:44 bro really said: wake up to reality

  • @TheRealKil
    @TheRealKil Місяць тому

    Great video! I doubt you ever want to work on this again but I would recommend looking into path finding algorithms to see if you can implement that into your AI. It would make the amount of time it takes to train a lot shorter. However it would probably be very difficult if you want to make significant improvements. Also a simple thing to increase performance at the cost of how good the AI is at completing a course would be to decrease the amount of angles it jumps. Maybe instead of 0, 1, 2, 3, 4 all the way to 359 degrees could be having 0, 2, 4, 6, 8 all the way to 358 degrees or another could be having only common angles, 0, 30, 45, 60 and their other quadrant equivalents.

  • @Ender_k0t11
    @Ender_k0t11 2 місяці тому +5

    3:40 . Bro could teach maths and geometry in Harvard but he decided to create minecraft videos... That's a good thing because they are very entertaining well done Kiddy Kene

  • @imagineexistance4538
    @imagineexistance4538 4 місяці тому +3

    Calculated all the angles you needed for anything within a 4 radius circle
    Ring 1:
    0.0,
    45.0,
    90.0,
    135.0,
    180.0,
    225.0,
    270.0,
    315.0
    Ring 2:
    26.6,
    45.0,
    63.4,
    116.6,
    135.0,
    153.4,
    206.6,
    225.0,
    243.4,
    296.6,
    315.0,
    333.4
    Ring 3:
    18.4,
    33.7,
    56.3,
    71.6,
    108.4,
    123.7,
    146.3,
    161.6,
    198.4,
    213.7,
    236.3,
    251.6,
    288.4,
    303.7,
    326.3,
    341.6
    covers all degrees that could be blocks
    as for the parabolics, you'd only need to account for the center of each block a player could jump to, which should have uniform y velocity per "ring"

  • @Vitusthe3654
    @Vitusthe3654 5 місяців тому +2

    Nice Video!! And i love ur projects! Continue like this ^^

  • @lolaibus5971
    @lolaibus5971 21 день тому +2

    Who knew a block game could cause a grown man clinical depression

  • @-hypernova-
    @-hypernova- 4 місяці тому +5

    bro is batshit insane
    in a good way

  • @donutguy804
    @donutguy804 4 місяці тому +4

    The pronunciation of cos and sin killed me

  • @zombiedracula5907
    @zombiedracula5907 15 днів тому

    Amazing, the only problem would be the corner jumps, slime block jumps and the ladder jumps maybe. Not sure if it would struggle with half block jumps or trapdoor jumps, but as it is now, it has great potential to get to places.

  • @worsegameroblox
    @worsegameroblox 4 місяці тому +34

    That must've taken so long! You deserve this my friend ❤

    • @KiddyKene
      @KiddyKene  4 місяці тому +14

      appreciate it

    • @Alfred-Neuman
      @Alfred-Neuman 4 місяці тому +3

      @@KiddyKene
      I don't know if there is already some tools that allow you to fill command blocks from a TXT file containing your list of commands but I think it would be pretty easy to write one in Python or AutoHotkey. This script would read a file line-by-line, move Steve to the next command block by sending keystrokes, open the block and paste the command inside it, etc... With this method it would still take you some time but it should be able to fill hundreds of command blocks automatically.

    • @FriedMonkey362
      @FriedMonkey362 4 місяці тому

      ​@@Alfred-Neumanor generate a Minecraft structure file

    • @Omena0MC
      @Omena0MC 4 місяці тому

      Yeah....

  • @Txndre
    @Txndre 5 місяців тому +10

    Could anyone stop you at this point ? (Keep doing it, you're insane !)

  • @GDGAI
    @GDGAI 4 місяці тому +11

    This is amazing! I can’t believe this is possible in vanilla Minecraft.

  • @commandpro4492
    @commandpro4492 4 місяці тому +2

    The amount of command blocks used hurt my brain lol. If I were to do this I would suggest making a way for the "ai" to generally know where which jump is with beforehand like with armor stands placed on each block with a numbered tag and instead of using 360 degree armor stand summoning I would summon like ±2.5° while facing either the numbered tag its on plus 1 or just generally higher than the one it's on to be able to find short cuts

  • @2peoples785
    @2peoples785 4 місяці тому +10

    Have you tried using structure blocks and another scoreboard for the rows and collums of memory?
    Using a scoreboard that counts each column (just an increment each time it needs more memory) and then adding a row when you need a row. (after 5 columns you add a row and reset the counter)

  • @logan451
    @logan451 4 місяці тому +6

    School ❌️ video from you✅️
    Good video.

  • @maxdenor1459
    @maxdenor1459 2 місяці тому

    Man i wont negate that you did an exeptional work with this AI and you did get me engaged throughout the whole video. But if you try to improve the AI, instead of hard coding you could divide the jump function into two parts. First check its surroundings for a block that has 2 air blocks above it. Then attempt a jump into it with different speeds. Just limit the distance to wich you check for a posible block to jump. This would cause less lag and people would complain less about it beeing hard coded.
    And also even tho it's hard coded it's completely functional so good job

  • @WaMoon515
    @WaMoon515 4 місяці тому +2

    Every video of yours blows my mind because ITS SO HARD TO MAKE SOMETHING LIKE THIS OMG

  • @Simon-uy4gl
    @Simon-uy4gl 4 місяці тому +4

    The only thing that would be now left to do, is to give the the ai intelligence, that it always looks fow the goal and the how it could get there in the shortest amount of jumps...

  • @thenikita2422
    @thenikita2422 4 місяці тому +8

    Learn how to place command blocks WITH nbt data using python so you could yeet the values in to the command blocks within the loop so you wouldn’t have to annually do this (sorry for my bad English)

  • @lukelawless5226
    @lukelawless5226 4 місяці тому +4

    It's a good day when Kiddy Kene post, he deserves 1m.
    Edit: Also love the Steven Universe music.

  • @veuriam
    @veuriam 4 місяці тому +16

    7:45 Nooo my friend you have forgotten the pythagorean theorem!

  • @wooftubeyt
    @wooftubeyt 5 місяців тому +5

    this is absolutley insane

  • @sugarfuelledlad4396
    @sugarfuelledlad4396 4 місяці тому +4

    Ignore all the people talking about how hard codes it is, your work is still worthy of the title and time you put into it.

  • @commander6432
    @commander6432 4 місяці тому +1

    i just discovered your channel and damn i love your vids and style of editing man

  • @josephventura3632
    @josephventura3632 3 місяці тому

    This was the most incredible thing I’ve seen, never once did I think you could create an AI with command blocks, AI learning and training is hard to learn and you pushed the boundaries!!

  • @RaisedEyebrowEmojii
    @RaisedEyebrowEmojii 4 місяці тому +24

    This mf actually reinvented assembly code just to give armor stands alzheimer. Respect.

    • @SuperLlama88888
      @SuperLlama88888 4 місяці тому +1

      Wdym assembly?

    • @_bleh_
      @_bleh_ 4 місяці тому +1

      @@SuperLlama88888 assembly is a language

    • @SuperLlama88888
      @SuperLlama88888 4 місяці тому +2

      @@_bleh_ Ik, I was asking the commentor to elaborate what they meant by reinventing assembly code

    • @CasMcAss
      @CasMcAss 4 місяці тому +2

      this made me laugh out loud
      definitely a brand new sentence

    • @jubinha
      @jubinha 4 місяці тому +2

      This made me genuinely laugh out loud

  • @M.WBlue_Jay
    @M.WBlue_Jay 4 місяці тому +9

    Congrats, you made me more confused than I am when I watch most redstone tutorials.

  • @GWTW.
    @GWTW. 4 місяці тому +2

    This is a legendary feat in the minecraft community.

  • @JMRstudiosYT
    @JMRstudiosYT 4 місяці тому +2

    This is honestly insane. GG bro.

  • @J0rdan069
    @J0rdan069 4 місяці тому +24

    I'd call this a maze solving algorithm that does parkour on the side.

  • @amfudercooler
    @amfudercooler 4 місяці тому +3

    this dude is so underrated

  • @Tenkite001
    @Tenkite001 2 місяці тому

    12:00 what you should do, is make all other armor stand invisible but not fred who made the last jump.
    Then simulate all the stuff and do the kill stuff, and then give the tag to the remaining armor stand "valid_issue" and make fred jump to his position, and then kill "valid_issue"
    That way you get a beautiful thing

  • @knotxacklyastudio
    @knotxacklyastudio 4 місяці тому +1

    What is this! You are an insane Minecraft engineer, and someone with an iron will to make something so tedious and extraordinary as this! I don't really know anything about maths and armorstand scoreboards and such, but I do know enough to realize that this neurological creation is way beyond me.

  • @Kabukkafa
    @Kabukkafa 4 місяці тому +4

    "Command Blocks Ide" the mod that can help u with ACCESSING EVERY COMMAND BLOCK THAT TOUCHES EACH OTHER and FINALLY ENTERABLE COMMANDS JUST LIKE NORMAL CODING

    • @JonasHoffmann230
      @JonasHoffmann230 4 місяці тому +1

      =-30 hours work=🤯

    • @-duck.-.duck.777
      @-duck.-.duck.777 3 місяці тому

      No mods tho

    • @EmanFlores-wy2tj
      @EmanFlores-wy2tj 3 місяці тому

      @@-duck.-.duck.777 true

    • @Kabukkafa
      @Kabukkafa 3 місяці тому

      @@-duck.-.duck.777 It's just helper he can do all that without mod but mod is just for helping him

    • @travisworts6249
      @travisworts6249 3 місяці тому

      It's vanilla Minecraft that's the whole point.

  • @unique_storm_777
    @unique_storm_777 4 місяці тому +4

    So the best command block wizard is back ? Interesting 👍

  • @Heroix.
    @Heroix. 4 місяці тому +1

    AMAZING VIDEO! I literally cant imagine the fatigue that you experienced making this video and the hours of editing behind it! well done!!! you earned 21 minutes of watch time lol

  • @Catch_dis_shmoke
    @Catch_dis_shmoke 3 місяці тому

    23 seconds in I already love this guy’s editing style 😭 gonna binge all the videos he has tonight

  • @henrisendelbach
    @henrisendelbach 4 місяці тому +3

    Great idea, i will try to do my best at optimizing…

  • @Ryanmatix
    @Ryanmatix 4 місяці тому +3

    Genuinly top tier content

  • @xLeco
    @xLeco 2 місяці тому +2

    As someone with no command block knowledge, I just enjoyed watching a video where all he did was speak enchanting table.

  • @spedupbuilder4174
    @spedupbuilder4174 3 місяці тому

    An alternate method for the 360° of armor stands would be getting sine/cosine from teleporting a separate armor stand forward one block facing the degree you need, then storing the relative x and z position of that armor stand as another one's motion

  • @Maramowicz
    @Maramowicz 4 місяці тому +7

    That's actually not AI, that's just pretty smart path finding algorithm :)
    If you really need for it to be a AI you need:
    1. vision system (AI must "see" things around it)
    2. training without "manual corrections" (like that your "AI" can find incorrect path due to marks)
    3. training with trials&errors (so AI even if do error can "understand" it's error and correct that)
    So good luck with learning about perceptrons, neural networks, biases... stuff like that ;)
    BTW. Still, good job. I don't want to say "Screw that, that's not real AI", but much more "It's not AI, but as something simmilar to AI this is pretty good"

  • @theguytheman
    @theguytheman 5 місяців тому +4

    VERY COOL

  • @META_Tommy
    @META_Tommy 4 місяці тому

    9:30 instead of manually placing every command block u could write a simple scarpet script to do it. Scarpet is a programming language inside of carpet mod that’s incredibly intuitive and lets u do everything something like python does along with having a run function which lets u run any string as a command in game immediately. I’ve used it before to make giant command block towers like that by just having a loop follow the shape of the tower and just doing
    run(‘setblock ‘+x+’ ‘+y+…
    and concatenating a new number in the command string for each new command block
    Definitely worth trying out cus it also has sin and cos built in and I can’t imagine trying to use those functions in game without scarpet. U don’t even need the mod to do anything other than place command blocks with specific numbers inside of them, so world downloads would still be compatible with vanilla

  • @Frogable
    @Frogable 4 місяці тому

    Bro i'm always so happy when you upload a video, keep it up

  • @rock_rock
    @rock_rock 4 місяці тому +4

    Now make an one where the *A.I.* is given eyes..
    One of my random ideas is to use arrows that are shot from the eyes of the armour stand, and then check where they collide. Or you can figure out another ray casting method.
    I'll let you figure out the rest of the details. 👍

  • @theknightblade
    @theknightblade 5 місяців тому +5

    Hi

    • @akira_ko
      @akira_ko 5 місяців тому

      This guy is 1st

  • @epikbaconb9780
    @epikbaconb9780 16 днів тому

    That intro gave me goosebumps and I can't stop watching it and I've watched this 3 times nowToT

  • @CraftyMasterman
    @CraftyMasterman 4 місяці тому

    duuuuude this video was so well made holy moly!!!! i love random techy stuff like this

    • @KiddyKene
      @KiddyKene  4 місяці тому

      oh why hello Craftymasterman

  • @Buzzumbud
    @Buzzumbud 5 місяців тому +14

    This guy could cure cancer if he wasn't too busy playing Minecraft.

    • @Korradio
      @Korradio 5 місяців тому +2

      you didnt even finish the vid

  • @tqho254
    @tqho254 4 місяці тому +3

    you should use a timer next time you do these coding vids so we could see at the end how long it took

  • @SypherBlitz
    @SypherBlitz 3 місяці тому +1

    I love this man’s sense of humor, I think I’ll stick around.

  • @dummy7623
    @dummy7623 4 місяці тому +1

    i love how he "cured" his dementia but then gave him alzheimers a few minutes later

  • @user-xu8it5nh2l
    @user-xu8it5nh2l 4 місяці тому +13

    Replaying the stored graph really just makes this breadth first search, not really reinforcement learning or AI. That said, this is one of the coolest videos I've seen in a while.

    • @YT7mc
      @YT7mc 4 місяці тому +3

      I agree it's not reinforcement learning, but i would argue it _is_ still AI. There's no rigid definition of AI, so in one sense, anything that attempts to think is still "artificial intelligence," even the CPUs in mario kart 64.

    • @rytan4516
      @rytan4516 4 місяці тому +1

      I hate to say "well actually" to your well actually, but well actually, it's depth first search

    • @user-xu8it5nh2l
      @user-xu8it5nh2l 4 місяці тому

      @@rytan4516 It's not. BFS means every single branch would be explored for each platform before continuing, which is exactly what this does

    • @rytan4516
      @rytan4516 4 місяці тому

      @@user-xu8it5nh2l BFS, or breadth-first search, means searching every node of the same rank at the same time. Here, we don't see the node on the left being searched immediately before the node on the right. We see the node on the left be searched, and then we see a node next to that be searched, etc. until a dead end is reached and backtracking is forced. This backtracking behavior is characteristic of depth-first search.

    • @havenselph
      @havenselph 4 місяці тому +2

      @@user-xu8it5nh2l BFS is where you pick a node and traverse all its child nodes then begin traversing those children's children right? Isnt DFS when you fully traverse one node before returning to the first one with children not traversed?

  • @theblckbird
    @theblckbird 4 місяці тому +4

    The last video was AI: AI is a program that does something human like. Also, AFAIK are commands/command blocks turing complete so it really is possible (as you have proven)

  • @lightning_11
    @lightning_11 Місяць тому +1

    My guess is that motion inconcistancies were caused by the fact that motion is less effective for entities on the ground.

  • @gooserformii
    @gooserformii 4 місяці тому +1

    thats literally insane, i love it

  • @musicsixtyseven
    @musicsixtyseven 4 місяці тому +3

    this is really impressive but it's still not ai if it just checks for all possible combinations

    • @AnEnderNon
      @AnEnderNon 4 місяці тому

      everything isn't AI

  • @PriggarGaming
    @PriggarGaming 4 місяці тому +4

    It's not pronounced sin it's called sine

  • @JordanMetroidManiac
    @JordanMetroidManiac 4 місяці тому +1

    Mindustry lets you code but it’s super basic, like redstone in MC. You can make all kinds of AI inside Mindustry!

  • @change862
    @change862 2 місяці тому +1

    6:26 don't think we didn't notice the "kiss" my boy 😂😂

  • @minetomek
    @minetomek 4 місяці тому +4

    Why aren't you using data packs? It's easier to manage and with a good editor (like vscode) and an extension pack it's really easy. Additionally there are tools like JMC that change making data packs like coding in javascript.

    • @nighthawkgaming2953
      @nighthawkgaming2953 4 місяці тому +3

      I believe it’s because it is a challenge to do something like this. Also, other people have made ai with data packs already so it’s a new idea to do it with just command blocks

    • @minetomek
      @minetomek 4 місяці тому

      @@nighthawkgaming2953 but datapacks are commands but just in files

  • @in1
    @in1 4 місяці тому +5

    I mean this isn't a neural network but more like a maze solving algorithm, but great job

  • @cloviscreations
    @cloviscreations 3 місяці тому

    This video feels like a successor of The Science from game theory (formerly) snd ShoddyCast originally, good work :D

  • @user-np9jf1qr7m
    @user-np9jf1qr7m 4 місяці тому

    Great video, i subbed to ur channel. Keep going!

  • @redthunder6183
    @redthunder6183 4 місяці тому +9

    Uuuh, that’s not really AI either? That’s just a brute force algorithm that tries every single possible outcome…
    You could say it’s machine learning ig, but when people say AI they are usually referring to artificial neural networks, this is just a brute force algorithm.

    • @cewla3348
      @cewla3348 4 місяці тому +1

      it is machine learning. you're expecting too much from a BLOCK GAME.

    • @redthunder6183
      @redthunder6183 4 місяці тому +1

      @@cewla3348 no its not even that though, anyone who has ever even attempted anything in ML, would agree that this is nothing more than a brute force algorithm.
      The whole idea of artificial inteligence is that it approximates the brute force "perfec" algorithm to get something mostly correct while being physically possible to compute. AI is a nothing more than a function approximator, where the math equation/function that it is approximating is the highly complex equation that perfectly describes the entire english language (as a chatGPT example), where that equation, although technically exixts, does not practically exist.
      He mentioned reinforcement learning earlier in the video, though he used absolutly no reinforcement learning concepts.
      and i am not expecting too much from a block game, bc ppl have already made realy artificial neural networks in mc years ago, only using redstone, no commands... it is 110% possible with commands...

    • @FriedMonkey362
      @FriedMonkey362 Місяць тому

      ​@@redthunder6183CodeBullet a yter who mostly does "ai" things uses that

  • @CoolPuzzler
    @CoolPuzzler 4 місяці тому

    This ai is incredible! You really outdid urself!

  • @Jimyjonson
    @Jimyjonson 4 місяці тому +1

    “Stay in school kids, it makes you better at Minecraft.” -technoblade

  • @disabledmallis
    @disabledmallis 4 місяці тому

    This is probably the coolest command block creation ive seen

  • @epiclazerpie1630
    @epiclazerpie1630 3 місяці тому +1

    holy shit, that is absolutely insane. i do have to wonder how difficult it would be to just edit the command blocks into the world file with your python script. it would definitely be less painful than all the manual coding you did lol

  • @miosoderberg6602
    @miosoderberg6602 4 місяці тому +1

    That altzimers thing where it redos it's steps, apply it to chess and there won't be enough atomes in the world to keep the data (probably).

  • @alexsgarbagehut2517
    @alexsgarbagehut2517 2 місяці тому +1

    As its vanilla minecraft, it would be almost impossible to give the AI raycasts, so its kinda hard to make ai do real "training" not just "remembering what is the best score from the previous generation" , also you should have given the ai movements like "just jump" or "just move x blocks forward" or 'jump x blocks forward"(Ik that would be suffering but it would be worth it) so it could make better jumps and more choices to do. Also your ai cant make choices while being in the air, and its making it quite not able to do "neo jumps" and other tricks.

  • @syedimranmajeed8769
    @syedimranmajeed8769 4 місяці тому

    one must imagine kiddy kene having fun being happy and not having mental and phisical depresion :insert sisyphus music:

  • @sundown456brick
    @sundown456brick 4 місяці тому +1

    still midway through your torture
    i mean, video
    looking really nice, also exploded a bunch of inspiration on my face ty

    • @sundown456brick
      @sundown456brick 4 місяці тому

      now with the video over id just add some changes to this, maybe start with the hard coding part.
      please dont do that to us and especially not to u again
      u hardcoded so much stuff mah boy😭
      hopefully we will see a part 2 in some weeks with some improvements

  • @SuperLlama88888
    @SuperLlama88888 4 місяці тому

    Wow, crazy accomplishment, great job!

  • @Bohemianism_
    @Bohemianism_ 4 місяці тому

    btw u could have just done /tp ^ ^ ^1 on an armour stand to move 1 block forward in whatever direction it's facing, and then measure the change in x and change in z, and since you know the magnitude of the change in displacement vector is 1, that will give you the cosine and sine. haven't worked with mc commands/datapacks in a while tho so i don't remember which is which.
    edit: sethbling once made an ai in minecraft btw

  • @GJcoOnline
    @GJcoOnline 2 місяці тому +1

    You know, I have my honest respect for you, spending 2 months on a project so unimaginable to the regular minecrafter, you deserve far more than 125k, keep up the incredible work man💪

  • @Blodyx_
    @Blodyx_ 3 місяці тому

    Now add reinforcement deep learning. The agent gets a scire after each jump based on how close to the goal he is. This could fix the backtracking it did in the maze.

  • @jamessmith4172
    @jamessmith4172 4 місяці тому

    This is really awesome, well done!

  • @karlgtske9016
    @karlgtske9016 4 місяці тому

    this guy is a master mind. its crazy managed to do this solo

  • @nevercrywolf4188
    @nevercrywolf4188 4 місяці тому

    This was very fun satifying and to watch haha.

  • @Mcneds
    @Mcneds 4 місяці тому +2

    This actually so funny i just finished making my own parkour generator lol

  • @aleksandermg2
    @aleksandermg2 4 місяці тому +1

    The amount of knowledge we ate while watching this video is huge

  • @xlimez7
    @xlimez7 4 місяці тому +1

    This is really cool and all but i want the ai do more advanced moves like walking across a solid floor, or climbing ladders or doing neo jumps. If that's even feasible that is

    • @ch00mby
      @ch00mby 4 місяці тому

      cant becasue that's not realy what it does. its basically circle surrounding the sphear that goes 'ok, when I make this jump there is a block here, so I jump here' but if the block isn't within direct visibility then it wont register it. this also doesn't let it work for ladders since its an armour stand and not an entity with the ability to interact with an armour stand.
      how its 'jumping' is applying a force to it. basically just a shove in that direction so neo, ladders and such wouldn't work.

  • @krokotobgbs
    @krokotobgbs 4 місяці тому

    Love your vids bro
    you are insane

  • @tekno-hm8wq
    @tekno-hm8wq 4 місяці тому

    This is some nice piece of tecnology