I asked an AI to create Minecraft from scratch.
Vložit
- čas přidán 3. 01. 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 - Hry
this is what it looks like when you try to create an alpha version of your own game without programming experience
How can I get programming experience?
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.
@@Lucas_1706 study programing
@@endergame8267 where? Can I learn it all through youtube?
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.
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.
no shit sherlock
@@squddymc766 It is a joke.
detroit become human
🗿
@A Random Gamer 6:49 is actually made by the AI so…
Absolute destruction of Minecraft video this weekend
fr 💀
Yes fr
@@ElementX really fr?
@@ElementX for images you could’ve ask for an svg file and then convert to png
@@ElementX fr fr?
This was quite hilarious, but its also impressive af. Imagine what that AI can do in 10 years :3
Probably quite a lot including wiping out the human race 🤷♂️
humans probably will create an AI capable of creating advanced AI in 1 year minimum lol.
Us thinking AI will do anything crazy in 10 years is like how people in the 1950s thought 2015 would have flying cars 💀
@@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
@@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
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
No, Minecraft only renders the _chunks._ Checking every single block would be very laggy.
@@nikkiofthevalley What do you mean? How can you see individual blocks if Minecraft just renders chunks?
@@thatchapthere Prepare to die from reading too much...
Actually, this video by GamesWIthGabe does a pretty decent job at explaining: czcams.com/video/fjZAgoxFKiQ/video.html
@@thatchapthere he worded it wrong.
@@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.
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
I wonder if it could make Doom, since the source code is available for free
@@Pittoors_ you could try!
i think it just rips source codes from tutorials by googling
@@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)
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.
The fact It is better at coding than the average person is cool.
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...
Not better than me but whatever
i doubt. i tested it to make some python code and it had many SyntaxError (mainly await outside of async functions)
It's also better at socializing than programmers
@@distendedmist5840 not just programmers, but shorts creators, gamers, tiktokers, too
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
It needs to have the cubes be built into a single mesh ( called a chunk ) and have multiple like minecraft
Clearly. Just look at the vertex count. And also they should be one mesh. It's totally unoptimized as the AI did it.
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.
@@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.
2:27 LOL
7:26 but the main landscape is "blocky", so it did everything accurately (kinda)
Sorta lol, you're right
@@ElementX plasma
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.
It could probably do a better job if a more experienced game developer asked it
if an actual developer*
game development experience doesn't have to do with what answers you get tho?
@@Memeology_Shorts I guess, yeah
Challange accepted wait for my vid lol
@@arcanep waiting
i kinda wish that they used legit textures so we could see how stunning it actally is
Tbh ye
That was my thought too
Yah, I was thinking the same thing
It was extremely disappointing and not funny enough.
Agreed, I am fine with meme ones, but for final result they should have been swapped with better ones
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
I love how it gradually stops being Minecraft
Gradually?!?!?!
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
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
The AI Was Literally Playing Games With Him. It Was Joking And Writing More Code Than A Person Could In A Hundred Hours
chatgpt does make 900 mistakes
you think this is impressive?
look at codex
@@modables for an ai it's pretty impressive.
The fact it accidentally made terrain generation is funny
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.
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.
I hope not
@@_kitaes_ Why not?
can't you just debug those games?
@@_kitaes_ why not bruh?
@@10F2C yes I guess
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
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
lazy markets and games without the art of human creation. would be a pity
@@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
the definition of re-doing something so much that it becomes a completely different thing
6:49 *IT'S GOT **_NOSE_*
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)
i like how it gave you an actual landscape from the instruction "make it better" if thats really all you did
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.
CZcamsrs: ChatGPT is free
ChatGPT: Please type here your phone number
Me: Wait a minute, phone number isn't free
Eat hot chip and lie
4:02 got me wheezing
Nothing is there but you are still trying to find out what was that funny that got me wheezing
The main reason for the lag was every block was being drawn at once
It needs backface culling and culling the sides of blocks that touch eachother
Fun fact: Element x is turning to Developing a game programming video contents
WE NEED MORE OF THIS CUZ IT'S HIRARIOUS
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.
Guys, we don’t have to worry about ai taking our jobs anytime soon 😂
Maybe it could be better if you specify voxel terrain with culling and chunks?
Man, last I watched this channel had no voiceover, and hearing your voice surprised me, but your voice sounds really nice
This channel always had voice. You're probably talking about my other channel (Element X but shorter)
@@ElementX That's 100% right, I forgot about that difference!
He should definitely try asking the ai to tell him how to escape from the backrooms
You're voicing is always improving
Impressive how it managed to recognize what Minecraft was
for images you could ask for an svg file and then convert to png
Or just use dall-e
@@BookwormKevin yeah but he is using chat gpt and it’s free anyways
that terrain gen was actually really cool tho
That's actually impressive! An AI can program a game!
6:36
It's that mod for Minecraft that makes edges non existent.
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
2:44 its mainly because you are drawing all sides of block even if you can't see them which greatly reducesyour fps
Honestly try and get it to create an inventory system that’s a real challenge I tried for hours with no avail
Pretty sure AI will be able to make game replicas in 10 years....
How did you do this I know you used openai but what exactly did you tell it (I want to try this myself)
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
Scratch chat
i love that he picked grass with a dog in the middle, not just grass 😂😂
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.
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.
This reminds me of that "Minecraft 4k" version created by Notch. (Not the "4K" you might be thinking of-quite the opposite.)
The ground on the hilly map still used the Grass png you got.
Holy crap, this is both hilarious and amazing.
The snow blocks in the air looked like a cloud
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.
Video idea: If the crops can spawn an entity (The item), what if you change the item spawn to spawn a PLAYER?
The way you said yess yess yess 🤣🤣
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 😊
I wonder if chat GPT can code a program like Photoshop or Adobe Premiere and send you the EXE file?
6:19 reminds me of that mod wich makes minecraft look like that
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 :')
I need this! I could just ask it to write code and then I'll fix all the problems with it myself!
With some finagling, you can make a bi Sik train like that of a survival game like Rost or Ark
Those water textures legit making me thirsty fr
The irl minecraft : i am the best game
AI minecraft : I have blocks
irl mineraft : ur clearly better
X just saying "Make it better" to an AI and hope it improves the result, just hurts my soul xd
tell the ai to add backface culling to the chunk renderer (this removes faces and vertecies not seen by the player
it got more and more cursed, I love it
“This looks nothing like minecraft. use the height map to generate blocks.” -ElementX
2:02 "5 blocks"
*proceeds to list 6 blocks*
🧠🧠🧠
He's so much of programmer that he naturally starts counting at 0
Could you provide the source and compiled jar? I don’t even know how to import the AI’s code in to jMonkey lol.
Congratulations! You broke another thing: the "best" ai
The last one isnt event minecraft anymore its now construct and deconstruct
The reason why the game (the big stone tall one) lags so much is because it (The AI) didnt implement culling, Its rendering all the blocks even if you cant see it, See the vertices counter at the bottom left, Its at a million, culling makes blocks that you cant see not render so your pc dont go boom
IMO, minecraft should run some parts of their code under chat gpt and see if it can optimize the game
Still less buggy than bedrock lmao
Ask chatgpt to use voxels to optimise and use unity (it’s better and you van add rigid body and stuff to make it better)
the fact that the ai said no 6:41 💀
Can't wait for Minecraft 2.0 🥰
I want to see this with ai generated textures
we are more closer to the AI singularity than we tought
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
We know that iren golam never attack creepers so my question is......
"What happenes if a creeper killed by an iron golem?
it made a clock for me! but it was a different time zone, so next i'll just tell it the time zone
"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."
How are you able to get chatGPT to code because every time i try it says it cant code
people:ai will take over in the future
ai:
You should've used DALLE mini for the textures
Use imagineAI since it's insanely advanced
6:18 Looks like not textured roblox 🤣
You know what would have been really impressive. Creating ChatGPT in Minecraft.
Minecraft: AI Edition
More blocks and taller terrain...
AI: So mountains with a chance of NO clouds?
I love this style of videos!.
I'm a Minecraft modder. Me and my buddy has written about 35 mods.
I'm experimenting with ChatGPT and while it is limited to version 16, it's really powerful.
I've also used it to create love sonnets, comforting statements, a three-act television script. It's pretty good.
It wrote a story using jungian archetypes. A friend of mine who is an experience I called just constantly said it was wrong about the shadow archetype being an archetype. I looked it up and the shadow archetype is an archetype. I know chat CPT can confidently say untrue things that it doesn't really know but humans can too.
This can write a fairly powerful 1 16 Minecraft Forge or fabric mod, explains calculus derivatives, but it can't cook up the bacon and bring it home in a pan.
0:49 ah yes 3d image as a texture lol
In the hands of an experienced programmer, it's a tool like no other.
should've had an AI generate the textures too
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
You've got 0 frames per second? That's better than mine, I've got -60 framerate
🤣I'm only laughing because this guy's laugh is soo good enough to make me laugh 🤣😂
I really like your laughing :)))))