I asked an AI to create Minecraft from scratch.

Поділитися
Вставка
  • Опубліковано 3 січ 2023
  • I used ChatGPT to make it code Minecraft
    Get NORD VPN Today!! nordvpn.com/elementx
    Use CODE "ElementX" to get more than 10% off!
    This channel is partnered with Shockbyte!
    Receive a 25% discount on your first month by using this code:
    "ElementX"
    shockbyte.com/billing/aff.php...
    ━━━━━━━━━━━━━━━━━━━━━━
    ■■■■■■■■■■■■About this video■■■■■■■■■■■■
    App that I use to record: Rec.
    OR if I am recording on PC, then I use Windows Key + G to record screen and I use my phone to record sound.
    ━━━━━━━━━━━━━━━━━━━━━━
    ■■■■■■■■■■Video editing software■■■■■■■■■■
    )Video recorder: Windows key + G or OBS studio
    )Main: Adobe Premiere Pro
    )Thumbnail: Adobe photo shop
    ━━━━━━━━━━━━━━━━━━━━━━
    ■■■■■■■■■■■■ Social Media ■■■■■■■■■■■■■■
    Everything is here: linktr.ee/elementxyt
    ━━━━━━━━━━━━━━━━━━━━━━
    Thank you so much for watching my video, and have a nice day :D
  • Ігри

КОМЕНТАРІ • 761

  • @solipse.
    @solipse. Рік тому +3639

    this is what it looks like when you try to create an alpha version of your own game without programming experience

    • @Lucas_1706
      @Lucas_1706 Рік тому +38

      How can I get programming experience?

    • @avidclown
      @avidclown Рік тому +131

      Funny story, I started making a game in Unity yesterday (I say 'making' when I really mean slamming my head against a wall for two hours). This is certainly an experience of all time.

    • @endergame8267
      @endergame8267 Рік тому +42

      @@Lucas_1706 study programing

    • @Lucas_1706
      @Lucas_1706 Рік тому +6

      @@endergame8267 where? Can I learn it all through youtube?

    • @Gerald12345
      @Gerald12345 Рік тому +9

      I installed unity but I don't use it, I'm gonna start learn programming once I can get more mature and capable of doing/learn it and then use it.

  • @huzaefahsyed5525
    @huzaefahsyed5525 Рік тому +759

    The reason why the no blocks were popping up randomly is because the AI didn’t want to do what you told it too, or at least in the way you wanted it too. It said no to you.

  • @ElementX
    @ElementX  Рік тому +247

    Absolute destruction of Minecraft video this weekend

  • @user-oo3oi9ki2j
    @user-oo3oi9ki2j Рік тому +1983

    This was quite hilarious, but its also impressive af. Imagine what that AI can do in 10 years :3

    • @IDontModWTFz
      @IDontModWTFz Рік тому +125

      Probably quite a lot including wiping out the human race 🤷‍♂️

    • @ElDous1
      @ElDous1 Рік тому +67

      humans probably will create an AI capable of creating advanced AI in 1 year minimum lol.

    • @Fraccy
      @Fraccy Рік тому +87

      Us thinking AI will do anything crazy in 10 years is like how people in the 1950s thought 2015 would have flying cars 💀

    • @2fifty533
      @2fifty533 Рік тому +69

      @@Fraccy if it can already procedurally generate working code for random smooth 3d terrain and create a professional and meaningful essay or make detailed art within seconds then in 10 years i would expect it to be able to do much more

    • @Wmann
      @Wmann Рік тому +14

      @@IDontModWTFz AI is made to be a tool and that only, it’s just as long as some rando doesn’t misuse it or someone makes it able to “have feelings”, that’s one thing that’ll cause huge problems

  • @youssefchihab1613
    @youssefchihab1613 Рік тому +537

    I think it's laggy because it renders every single block you look at (even the ones you can't see) and minecraft is optimised to only render the necessary blocks

    • @nikkiofthevalley
      @nikkiofthevalley Рік тому +43

      No, Minecraft only renders the _chunks._ Checking every single block would be very laggy.

    • @thatchapthere
      @thatchapthere Рік тому +37

      @@nikkiofthevalley What do you mean? How can you see individual blocks if Minecraft just renders chunks?

    • @bluesillybeard
      @bluesillybeard Рік тому

      @@thatchapthere Prepare to die from reading too much...
      Actually, this video by GamesWIthGabe does a pretty decent job at explaining: ua-cam.com/video/fjZAgoxFKiQ/v-deo.html

    • @LineOfThy
      @LineOfThy Рік тому +23

      @@thatchapthere he worded it wrong.

    • @thatchapthere
      @thatchapthere Рік тому +2

      @@bluesillybeard Lol that video's been in my watch later for months, I'm still waiting for my post covid brain fog to clear so I can watch it.

  • @Mulitate4
    @Mulitate4 Рік тому +522

    The thing people need to understand is that the AI needs to be trained. The data which it eats to be trained literally comes from open source (publicly available) information and code. Most companies wouldn't publically publish their code online. So the more complex stuff is usually not available to the AI to train on
    Usually this code comes from tutorials and websites that have publicly published the code and data

    • @Pittoors_
      @Pittoors_ Рік тому +57

      I wonder if it could make Doom, since the source code is available for free

    • @Mulitate4
      @Mulitate4 Рік тому +24

      @@Pittoors_ you could try!

    • @clementpoon120
      @clementpoon120 Рік тому +3

      i think it just rips source codes from tutorials by googling

    • @cthuwu2138
      @cthuwu2138 Рік тому +22

      @@clementpoon120 It isn't supposed to have access to the internet, so it can't directly rip code from the internet, though it likely based the code it did write pretty heavily on code that it saw during it's training. (also I would like note that I say it shouldn't have access to the internet, not that it doesn't have access to the internet, according to OpenAI it was cut off from receiving new information as of 2021, though there has been a good bit of evidence supporting it having some amount of access to the internet and/or up to date information)

    • @luigimaster111
      @luigimaster111 Рік тому +7

      I dunno about that, there's plenty of commercial products that have their code freely available on github.
      If ChatGPT has been trained on that data, it might respond well with using language found within github repos, maybe wording things like a commit or pull request might get higher quality code.

  • @sh_4016
    @sh_4016 Рік тому +182

    Maybe the engine generates for each voxel a cube and thats why it is so laggy
    Maybe you could ask the ai for more performance

    • @samuelhulme8347
      @samuelhulme8347 Рік тому +22

      It needs to have the cubes be built into a single mesh ( called a chunk ) and have multiple like minecraft

    •  Рік тому +2

      Clearly. Just look at the vertex count. And also they should be one mesh. It's totally unoptimized as the AI did it.

    • @tizu69
      @tizu69 Рік тому +9

      TL;DR for the ones that have no idea what this guy is talking about - basically the sides of the blocks still get displayed even when hidden behind another block, which the graphics card still has to render.

    •  Рік тому +3

      @@tizu69 Yeah. In Minecraft, the mesh what the program generates only have the sides that can be visible. So a simple cube on a flat surface doesn't have the bottom. Only the sides are rendered what are actually could be seen by the camera. Everytime the player removes or adds a block, the mesh (which is one chunk) is generated again.

    • @AccSwtch50
      @AccSwtch50 Рік тому +2

      2:27 LOL

  • @jaycelarsen4499
    @jaycelarsen4499 Рік тому +22

    6:17 if you didn't notice the whole map was just one big picture of the grass texture you made, and turned it into the terrain. You can tell by the tan-white colors in the middle.

  • @Yarpopcat08
    @Yarpopcat08 Рік тому +45

    7:26 but the main landscape is "blocky", so it did everything accurately (kinda)

  • @tnt-boom
    @tnt-boom Рік тому +479

    The fact It is better at coding than the average person is cool.

    • @lilyofluck371
      @lilyofluck371 Рік тому +108

      ehhh. I guess the average _person_ but def not the average programmer. kinda hard to code if you don't understand context or what it is you're doing...

    • @lukttk
      @lukttk Рік тому +4

      Not better than me but whatever

    • @vixer99
      @vixer99 Рік тому +6

      i doubt. i tested it to make some python code and it had many SyntaxError (mainly await outside of async functions)

    • @distendedmist5840
      @distendedmist5840 Рік тому +33

      It's also better at socializing than programmers

    • @vixer99
      @vixer99 Рік тому +14

      @@distendedmist5840 not just programmers, but shorts creators, gamers, tiktokers, too

  • @rubylikessonic2
    @rubylikessonic2 Рік тому +18

    I love how it gradually stops being Minecraft

  • @F1zZyS0dqs
    @F1zZyS0dqs Рік тому +28

    thank you element for finding these lost versions of minecraft, the effort you must have put in to find these archived versions must've been insane

  • @email7919
    @email7919 Рік тому +111

    It could probably do a better job if a more experienced game developer asked it

    • @vixer99
      @vixer99 Рік тому +25

      if an actual developer*

    • @xStormyyy
      @xStormyyy Рік тому +3

      game development experience doesn't have to do with what answers you get tho?

    • @xStormyyy
      @xStormyyy Рік тому +4

      @@Memeology_Shorts I guess, yeah

    • @arcanep
      @arcanep Рік тому +6

      Challange accepted wait for my vid lol

    • @thejagtimes
      @thejagtimes Рік тому

      @@arcanep waiting

  • @artisttreestudio5989
    @artisttreestudio5989 Рік тому +133

    i kinda wish that they used legit textures so we could see how stunning it actally is

    • @LonelyDoggo
      @LonelyDoggo Рік тому +2

      Tbh ye

    • @oficialvictorviana
      @oficialvictorviana Рік тому +2

      That was my thought too

    • @bemlok
      @bemlok Рік тому +3

      Yah, I was thinking the same thing

    • @Jadamhodges
      @Jadamhodges Рік тому +3

      It was extremely disappointing and not funny enough.

    • @PersonManManManMan
      @PersonManManManMan Рік тому +3

      Agreed, I am fine with meme ones, but for final result they should have been swapped with better ones

  • @lolcat69
    @lolcat69 Рік тому +15

    To improve the performance you could just ask for add occlusion culling... In simple terms, the thing you don't see are still being rendered and stuff, and that makes PC slow, so occlusion culling you just, not render the things you can't see

  • @artiomboyko
    @artiomboyko Рік тому +3

    6:49 *IT'S GOT **_NOSE_*

  • @nabir14
    @nabir14 Рік тому +32

    ChatGPT is cool I tried to tell it make some games and it did but code also had some issues but I fixed it. I hope ChatGPT gets more advanced in future.

    • @_kitaes_
      @_kitaes_ Рік тому +6

      I hope not

    • @PikaJim
      @PikaJim Рік тому +2

      @@_kitaes_ Why not?

    • @10F2C
      @10F2C Рік тому +1

      can't you just debug those games?

    • @nabir14
      @nabir14 Рік тому

      @@_kitaes_ why not bruh?

    • @nabir14
      @nabir14 Рік тому

      @@10F2C yes I guess

  • @nathanpfirman625
    @nathanpfirman625 Рік тому +38

    This may not look like much but its pretty impressive remember a normal ai would probably have 900+ mistakes it probably wouldn't even start

    • @PANTHERA369
      @PANTHERA369 Рік тому +5

      The AI Was Literally Playing Games With Him. It Was Joking And Writing More Code Than A Person Could In A Hundred Hours

    • @modables
      @modables Рік тому +1

      chatgpt does make 900 mistakes
      you think this is impressive?
      look at codex

    • @nathanpfirman625
      @nathanpfirman625 Рік тому

      @@modables for an ai it's pretty impressive.

  • @TextiAnimation
    @TextiAnimation Рік тому +20

    the definition of re-doing something so much that it becomes a completely different thing

  • @sillymanstudiosgames
    @sillymanstudiosgames Рік тому +11

    The fact it accidentally made terrain generation is funny

  • @minecraft19147
    @minecraft19147 Рік тому +5

    If a experienced game developer instructs the AI to do so, It would do a better job. Like, the developer will give information in depth and it would code just the way they want.

  • @BrbExtra
    @BrbExtra Рік тому +12

    Its insane what this ai can do with only 10% of its full power being used and with no access to the internet im sure if you refined it by telling it exact details on exactly what you wanted it to code it would be more like minecraft alpha but imagine 5 10 or even 20 years from now when there are fully made games using only ai from code, textures and music even down to voice acting and story telling

    • @baumy235
      @baumy235 Рік тому +5

      lazy markets and games without the art of human creation. would be a pity

    • @BrbExtra
      @BrbExtra Рік тому

      @@baumy235 it would be but it does seem like the future.. You don't need to hire an AI or give them money I do hope it doesn't happen tho

  • @notusingmyname2634
    @notusingmyname2634 Рік тому +1

    i like how it gave you an actual landscape from the instruction "make it better" if thats really all you did

  • @candybluebird
    @candybluebird Рік тому +11

    Minecraft only renders the faces of blocks that you can see, the ai's code rendered every face of every block. That's my guess as to the poor performance

  • @just_a_dragon
    @just_a_dragon Рік тому

    tha one at 6:40 might actually be quite good, since the terrain is randomly generated and much faster than minecraft also much more smooth and realistic, add a mining method semi based on randomized modifiers to that and you have minecraft but ultrarealistic.

  • @MalachiaPapiliaVT
    @MalachiaPapiliaVT Рік тому +2

    Man, last I watched this channel had no voiceover, and hearing your voice surprised me, but your voice sounds really nice

    • @ElementX
      @ElementX  Рік тому +3

      This channel always had voice. You're probably talking about my other channel (Element X but shorter)

    • @MalachiaPapiliaVT
      @MalachiaPapiliaVT Рік тому +1

      @@ElementX That's 100% right, I forgot about that difference!

  • @teamofone1219
    @teamofone1219 Рік тому +1

    This is actually pretty cool because people can now make mod’s pretty quickly and can update them for you all you have to do is polish it a little and you are done.

  • @wizardFire4
    @wizardFire4 Рік тому +3

    Fun fact: Element x is turning to Developing a game programming video contents

  • @toyota86s
    @toyota86s Рік тому +1

    WE NEED MORE OF THIS CUZ IT'S HIRARIOUS

  • @_jax
    @_jax Рік тому +15

    The main reason for the lag was every block was being drawn at once

  • @ShaggyCZ123
    @ShaggyCZ123 Рік тому +5

    UA-camrs: ChatGPT is free
    ChatGPT: Please type here your phone number
    Me: Wait a minute, phone number isn't free

  • @BonsajAudio
    @BonsajAudio Рік тому +1

    4:02 got me wheezing
    Nothing is there but you are still trying to find out what was that funny that got me wheezing

  • @human-eb4jp
    @human-eb4jp Рік тому +1

    it was using the soundwaves to create a smooth surface (like minecraft does) then putting blocks ontop of it and scaling it down (like minecraft does)

  • @hakumen9149
    @hakumen9149 Рік тому +1

    You're voicing is always improving

  • @SpicyMang0s
    @SpicyMang0s Рік тому +7

    Guys, we don’t have to worry about ai taking our jobs anytime soon 😂

  • @baboosrandomvids5390
    @baboosrandomvids5390 Рік тому

    that terrain gen was actually really cool tho

  • @rolytnz
    @rolytnz Рік тому

    Holy crap, this is both hilarious and amazing.

  • @sussyfard
    @sussyfard Рік тому +9

    Impressive how it managed to recognize what Minecraft was

  • @starshine4890
    @starshine4890 Рік тому +1

    The way you said yess yess yess 🤣🤣

  • @memetech-
    @memetech- Рік тому +1

    It needs backface culling and culling the sides of blocks that touch eachother

  • @icantfindahandle
    @icantfindahandle Рік тому +6

    He should definitely try asking the ai to tell him how to escape from the backrooms

  • @krajsyboys
    @krajsyboys Рік тому +2

    X just saying "Make it better" to an AI and hope it improves the result, just hurts my soul xd

  • @NeroDefogger
    @NeroDefogger Рік тому

    it got more and more cursed, I love it

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

    2:44 its mainly because you are drawing all sides of block even if you can't see them which greatly reducesyour fps

  • @EnriqueMcQuade
    @EnriqueMcQuade Рік тому +1

    That's actually impressive! An AI can program a game!

  • @XAssassin1065
    @XAssassin1065 Рік тому +9

    Still less buggy than bedrock lmao

  • @feelinghealing3890
    @feelinghealing3890 Рік тому +2

    Maybe it could be better if you specify voxel terrain with culling and chunks?

  • @Cerasum_chrysanthes
    @Cerasum_chrysanthes Рік тому

    Oh it's definitely using a heightmap, but for some reason it stopped using almost all blocks but the S"NO"W blocks xD
    I guess when you said it needs to be better, it just thought to make it smooth instead of blocky :')

  • @fanta_manxd7851
    @fanta_manxd7851 Рік тому +19

    Pretty sure AI will be able to make game replicas in 10 years....

  • @channelwithnotopic
    @channelwithnotopic Рік тому +1

    2:02 "5 blocks"
    *proceeds to list 6 blocks*
    🧠🧠🧠

    • @SomeTomfoolery
      @SomeTomfoolery Рік тому

      He's so much of programmer that he naturally starts counting at 0

  • @radustana
    @radustana Рік тому

    6:19 reminds me of that mod wich makes minecraft look like that

  • @SeaEnderman69
    @SeaEnderman69 Рік тому +2

    the fact that the ai said no 6:41 💀

  • @snobbleDobble
    @snobbleDobble Рік тому +1

    i love that he picked grass with a dog in the middle, not just grass 😂😂

  • @Tracy26238q
    @Tracy26238q Рік тому +5

    How did you do this I know you used openai but what exactly did you tell it (I want to try this myself)

    • @sneaky1053
      @sneaky1053 Рік тому

      there are more likes on this comment than actual answers. U know ppl see this, and decide to not answer. Lets keep it this way

    • @daboim
      @daboim Рік тому

      Scratch chat

  • @TheJaden2121
    @TheJaden2121 Рік тому

    Video idea: If the crops can spawn an entity (The item), what if you change the item spawn to spawn a PLAYER?

  • @ioancrafter95canalinchis
    @ioancrafter95canalinchis Рік тому +1

    Congratulations! You broke another thing: the "best" ai

  • @Eddyithink
    @Eddyithink Рік тому +2

    That's so cool, I'd love to see how far it can go... Would it be worth making a mini-series about that please? In which you'd keep telling the AI " *Make it better* "ahaha

  • @vocularr4310
    @vocularr4310 Рік тому

    The irl minecraft : i am the best game
    AI minecraft : I have blocks
    irl mineraft : ur clearly better

  • @AlluttajaYT
    @AlluttajaYT Рік тому

    The snow blocks in the air looked like a cloud

  • @nolanmales
    @nolanmales Рік тому +1

    6:36
    It's that mod for Minecraft that makes edges non existent.

  • @daniellaraman
    @daniellaraman Рік тому

    Honestly try and get it to create an inventory system that’s a real challenge I tried for hours with no avail

  • @gabrieljones5943
    @gabrieljones5943 Рік тому

    The ground on the hilly map still used the Grass png you got.

  • @KungChuck
    @KungChuck Рік тому

    Next time tell it to use perlin noise for the generation of terrain and you can also make it not render the faces of the cubes that aren't visable 😊

  • @the_player_2
    @the_player_2 Рік тому +5

    for images you could ask for an svg file and then convert to png

    • @BookwormKevin
      @BookwormKevin Рік тому

      Or just use dall-e

    • @the_player_2
      @the_player_2 Рік тому +1

      @@BookwormKevin yeah but he is using chat gpt and it’s free anyways

  • @abdurR.
    @abdurR. Рік тому

    people:ai will take over in the future
    ai:

  • @SweetPotatoTim
    @SweetPotatoTim Рік тому

    Those water textures legit making me thirsty fr

  • @Sasparilla_
    @Sasparilla_ Рік тому

    "write a program that generates perlin noise and uses its output to decide the elevation of each voxel in a world, which is able to be traversed in 3d."

  • @thefaker9677
    @thefaker9677 Рік тому

    element X: why is my game lagging so mutch?
    the rendered faces of blocks that you can't see: lag lag la............g laaaaa(5 years laater)aaaaaaaag

  • @Northidahoshorts
    @Northidahoshorts Рік тому

    With some finagling, you can make a bi Sik train like that of a survival game like Rost or Ark

  • @aryaelizabeth108
    @aryaelizabeth108 Рік тому +1

    6:18 Looks like not textured roblox 🤣

  • @floodyourchat57
    @floodyourchat57 Рік тому

    I love this style of videos!.

  • @fireyhitmyfuse
    @fireyhitmyfuse Рік тому

    0:49 ah yes 3d image as a texture lol

  • @knownas0192
    @knownas0192 Рік тому +1

    Can you do a tutorial about how you did this, because I find this very fascinating and what to try it myself, but I'm not sure how to start.

    • @Blackfatrat
      @Blackfatrat Рік тому +1

      you can probably do a lot by just asking the ai and using something like Visual studio but to be honest with you, the ai is much easier to use if you actually understand what you want it to do and how. Because it does do complex misstakes that are hard to see, let alone if you dont know what its actually doing.

  • @nonetrix3066
    @nonetrix3066 Рік тому +1

    The "Minecraft" game that it made I don't think culled any of the blocks that are covered by other blocks, look at the triangles, verities go up lol

  • @astickman.9470
    @astickman.9470 Рік тому

    ULTIMATE TEXTURES

  • @s1n1stersixsgaming8
    @s1n1stersixsgaming8 Рік тому

    Minecraft: AI Edition
    More blocks and taller terrain...
    AI: So mountains with a chance of NO clouds?

  • @vinuzula
    @vinuzula Рік тому +1

    “This looks nothing like minecraft. use the height map to generate blocks.” -ElementX

  • @basspig
    @basspig Рік тому +1

    I wonder if chat GPT can code a program like Photoshop or Adobe Premiere and send you the EXE file?

  • @Sparkette
    @Sparkette Рік тому +1

    This reminds me of that "Minecraft 4k" version created by Notch. (Not the "4K" you might be thinking of-quite the opposite.)

  • @the_7th_sun
    @the_7th_sun Рік тому +1

    it might be me being unfamiliar with intellij's dracula theme but it looks like you don't have your source folder set in your project structure. having it set will give you better syntax highlighting and intellisence. if I'm just an idiot and you do actually have that set right, might I recommend the rainbow brackets plugin, it make life a heck of a lot easier. You should also look around at some other themes, they're other ones that provide a lot more complete syntax highlighting than dracula.

  • @coding-sp
    @coding-sp Рік тому +1

    6:21 It's cool btw

  • @megamentebr7716
    @megamentebr7716 Рік тому +1

    Can't wait for Minecraft 2.0 🥰

  • @Dark0Prime
    @Dark0Prime Рік тому +1

    we are more closer to the AI singularity than we tought

  • @smartduck904
    @smartduck904 8 місяців тому

    Try GPT 4 with longer word memory or try a different chat AI

  • @DiamondNoobie
    @DiamondNoobie Рік тому +2

    Conclusion: if you want to destroy your pc from lag, ask AI to make minecraft!

  • @musclechicken9036
    @musclechicken9036 Рік тому

    I need this! I could just ask it to write code and then I'll fix all the problems with it myself!

  • @psycho0815
    @psycho0815 Рік тому +1

    You know what would have been really impressive. Creating ChatGPT in Minecraft.

  • @freetune
    @freetune Рік тому

    The PNG 🤣🤣

  • @fancyhorsee
    @fancyhorsee Рік тому

    damn minecraft 2 is looking good!

  • @DryIceyboi
    @DryIceyboi Рік тому +1

    "Close Enough"

  • @fahriagung-_.
    @fahriagung-_. Рік тому +1

    6:30 No 🤣

  • @HyperBeamXYT
    @HyperBeamXYT Рік тому

    4:13 LMAO, THAT WAS SOO FUNNNNYYY LOOOL WTF IS THATATATAYATATA

  • @artistontraining7723
    @artistontraining7723 Рік тому

    🤣I'm only laughing because this guy's laugh is soo good enough to make me laugh 🤣😂

  • @strawberrylemonadelioness
    @strawberrylemonadelioness Рік тому +1

    Beautiful. Mojang is quivering in their boots.

  • @Hi_Stacey
    @Hi_Stacey Рік тому

    The no snow lmao

  • @huvastu
    @huvastu Рік тому

    7:40 dude its a map that shows u everywhere

  • @Edmax23
    @Edmax23 Рік тому +3

    Bruh

  • @bloourfloour
    @bloourfloour Рік тому

    it made a clock for me! but it was a different time zone, so next i'll just tell it the time zone

  • @theepsilon-921
    @theepsilon-921 Рік тому

    Mom, Can we have mincraft pls
    Mom : we already have mincraft at home
    Mincraft at home :

  • @cactieythecactus
    @cactieythecactus Рік тому

    The last one isnt event minecraft anymore its now construct and deconstruct