YTread Logo
YTread Logo

I Added Infinite Crafting to Minecraft (with AI)

Jun 26, 2024
I've been playing a lot of

infinite

crafts lately, if you've never heard of it it's a new web game where you can take any two words and combine them, since it uses AI you can get pretty much anything, but it got me thinking what . What would happen if you

added

this concept to my other favorite game about creating Minecraft, okay, so here's the idea. I can take any two items and I can put them together in this infin crafter, but the big problem is that it doesn't work and I have an even bigger problem. I have no idea how to code a Minecraft mod, but I happen to be an expert at acting like I know what I'm doing until something finally works, so here's my three-step plan.
i added infinite crafting to minecraft with ai
First I need to set up a system to add any item to the game, then I'll use Chad GPT to generate combinations of any two items I throw at it, and finally I'll try to use AI to generate custom item icons on the fly so Minecraft has over a thousand items and blocks, and while that's a lot, it's nowhere near Infinity, but the problem is that I can't just add a new element to the game whenever I want. Every game item needs to be registered with a unique ID and a bunch of other crap that only runs when the game loads first, so instead I'm going to have a single item that can change to any texture, so I have my first element here, but right now it's just one big solid pixel, so the idea is I'm going to split it up. this model on a 16x 16 grid and then I can assign each square a one or a zero so that a sword like this becomes this set of numbers, okay, yeah, that doesn't look good right now.
i added infinite crafting to minecraft with ai

More Interesting Facts About,

i added infinite crafting to minecraft with ai...

I'm practically recoding the rendering system for elements and that's as hard as it sounds. Well, we have a red sword in the game now and it doesn't display completely well, but it looks good enough for now. What's special about this element is that I can change it on the fly to any shape I want without reloading any of the code, obviously, although not all elements are bright red, so instead of just ones and zeros in my grid , I will give each square a color value. Okay, let's design our first element, so I'm going. to try to look like a star, yes I think it looks pretty good and now without adding a single texture to my mod I have my item, but it would be quite boring to have just one useless item for everything, so I

added

a couple of properties, OK?
i added infinite crafting to minecraft with ai
So depending on what the item is, you can either eat it or throw it away. By the way, I'm building a castle, but I'm building it without placing a single block because I wrote a custom script that places a block for every subscriber I have, we're at 27,800 subscribers and this is what 27,000 blocks look like, this block here was placed by my 10,000th subscriber, the castle will be finished with 100,000 subscribers and when it comes to that, I will free the world. you can see exactly where your block ended up, okay let's take a break from Minecraft and work on the

crafting

part of the mod, this is where the first part of the AI ​​will come in, but it should be pretty easy to implement.
i added infinite crafting to minecraft with ai
I'm pretty sure Infinity Craft uses something like Chat GPT to find item names, so I'll try that too. Well, let's see what happens when I ask Chat GPT the combination of a diamond and a block of land. Well, it hit me. fancy garden gem that's interesting, so what I have to do is change the message a little bit to give me something better than that, okay, now I have a message where I can replace these two elements here and then. a new element appears. The nice thing about GPT chat is that it's super easy to add to pretty much any coding project, except it costs like a tenth of a cent every time I ask a question that reminds me I can't post. this mod and it's not because I don't want to, there are two big problems: the first is that Well, Chad GPT costs money, so publishing this mod would mean that everyone would drain my bank account and the second problem you will see later in this article. video okay, we pretty much have everything we need to make this work, but it's going to be a pretty boring experience if every item you get is just a star or something, so we need to find a way to give a custom texture to all of our items. craft only uses emojis and while that would be easy enough to implement, it would get confusing very quickly when trying to find an item in a chest or something.
My first thought was to use Mid Journey or Dolly 2, but both models cannot create pixel art. and even more importantly they can't create transparent backgrounds so while this pickaxe is cool it looks like complete garbage in the game, luckily we can use the GPT chat again to generate our textures and although it can't draw because it's a chat bot . you can write code that creates an image for us, okay, I'm going to ask you to make a star, okay, so you're thinking right now, okay, so all you should do now is copy this and put it in Minecraft, uh , okay, that's actually it. pretty good, honestly, I thought it was going to be worse, so what I want to do now is see how it works with something a little more difficult, that's definitely not a pencil, I mean, it's almost got the colors right, but that's a shit, okay, so obviously it wasn't going to cut it, so I went to Google to see if anyone else had tried generating pixel art with AI.
I found this website called pixel lab and it does exactly what I need, but unlike Chad gbt, this doesn't seem very easy to implement because it's actually an extension for an art program, so to use it I just have to I click on generate character and then I type my message, it's fine and it generates much faster than GPT chat was, but the big problem is that I have to use this artistic program to make the images and remember how I said there was a second big problem about why I can't launch the mod properly. My solution to this problem is I had the art program open on a second computer and then wrote a script that takes control of my mouse and clicks on the art program as if I were using it.
Okay, I admit this is a pretty terrible solution to my problem, but I don't want to hear any programmers in the comments complaining about it because it actually works. The last thing to do is put all this together. I quickly made this

infinite

building block that you saw at the beginning. It has three slots, two for the input and one for the result and what remains is to start the elaboration. I want to see if I can get to the word subscribe and once I do I'll finish the video so I have no idea where I'm going to start but I'm thinking maybe if I like YouTube my first thought is to become like a computer , maybe like Redstone, maybe you can give me a command block, Redstone Contraption, okay, that's interesting, it's like a tube, like a neon tube, okay, how about we're glass? can make like a screen or something laser, there is our laser, maybe it can generate electricity.
Light hopper and lightning rod. this makes Thunderbolt okay, that's almost electricity, it's kind of a lame texture. Thunderbolt and thunder copper are not very useful. Lightning rod and Thunderbolt make electricity okay, look at that, that's beautiful, can you eat it, you can't eat it. A light bulb that could be useful. Block the command and electricity generates the power block. Maybe what I'll actually do is publish all of my, um, my discoveries. I'll put them on a big board right here. Wow, look at that light bulb. I want to keep using electricity, but I want to combine it with random things.
Electricity and a sea lantern make neon waves. A block of quartz and electricity produces lightning. I thought we had to no, we had lightning, a netherite power block, a cube, we have a power block and now we have a power cube, okay, apparently it's lightning and then this is a neon wave, let's do San's terracotta circuit, it is actually a very useful circuit, the circuit could make a computer, what about it? lightning is like little things Moss blocks and electricity makes sparks Moss this is spark Moss is like a cute little Slime Guy well what are computers made of maybe a circuit and an iron block robot oh my god Is there a robot?
I wish you could spawn it I go in and like it walks or whatever but maybe in the next update I'll put it in my free hand so we can see it Redstone and circuit Droid another robot we'll see which one is better okay this Droid is boring. one sucks I want to make an internet ebook Okay, that's an internet thing, but it's not the internet, can you eat it or the Slime Guy? No, you should be able to eat Slime Guy. It looks edible, what can you do on the Internet? Networks, are there any networks in Minecraft?
There's a bottom rope and like fish, algae, no, this looks like it could actually be an element of the game. Can you eat the seaweed? Oh, you can eat the seaweed. Yay. The fishing rod and rope make, please make a net. thread and thread make a thread, of course, the fishing line could be useful fishing line and the fishing line makes the net, oh my goodness, okay, this is good, now we have net, it looks like a pair of underwear, the network and the circuit make the Internet court, this is huge, this is the Internet is like a series of tubes I wish you could eat the robot, no, no, that's a lie.
Gamer head and the Internet makes Avatar go, look at that guy. I think I'm just going to combine a bunch of random stuff with Internet Avatar. net ring net viral explosions what the hell is that thing that advertises a pixel blockchain website? ooh, the website is good. I chose to subscribe quite arbitrarily and thought maybe it wasn't going to be possible, but you know, we're actually being nice. closing meme okay wait the website and the meme make Reddit we're making websites now the meme is cake Reddit oh that's like some damn guy Binding of Isaac Reddit.
I wonder if I can do Minecraft easily, let's see the diamond pickaxe and the internet makes the data less. head and meme creeper meme that is so cute he is like a little squid here let me make a section where I can put all the cute characters that we make we have creeper meme this one I like this virus this guy is also cute oh wait and Al me too like this, this one Moss guy turns on Moss meme plus makx viral explosion, okay I made Tik Tok, Tik Tok and Reddit, what a great combination of apps, that's the Tik Tok logo, social light, okay we're getting close. meme reddit and meme karma karma and reddit upvote diamond pickaxe and meme make

minecraft

okay.
I made Minecraft. Wow, why is YouTube so hard to get? Oh this is cute, all my boys are green, all my pretty boys are just green. Influencer website makes blog good. The blog content is good. Tik Tok, where is Tik Tok? it's Tik Tok Tik Tok and the content is video okay here we go the video website is going to do YouTube has it has it has it Vimeo what Vimeo does before making YouTube okay maybe it's like a program to not give me YouTube because I would do? I get Vimeo, but we're close, although that was content and video.
Did we do influencer and video? Maybe that will give me YouTube Tik Tok, no that's definitely an Among Us streamer. Who is this? I was going to say wet and critical video video. ago movie website Netflix YouTube is the Netflix of videos I guess let's watch the Netflix video movie. I'm losing my mind more and more. We are so close. I can not believe it. I have Vimeo, Netflix, Tik Tok and Reddit. It's crazy. YouTube is the tick of video streaming look at the twitch logo actually made the twitch logo have so much crap twitch more Tik Tok Tik twitch I'm actually losing my mind giy uh we have so many websites now Vlog is good Vlog is good , TRUE?
Vlog is Good, because then you make a Vlog and a website and it will give me YouTube. Come on, there is no content from the Vlog site. YouTube I don't even know what I did, oh my God, okay, I was starting to think you couldn't do YouTube, oh my God. God I'm so happy the YouTube logo is there just like I remember it, subscribing is the goal, not YouTube, but we're so close. but it doesn't have an icon, I guess it's just an invisible icon, upvote and YouTube like that is so close that we're going to upvote and influencer, he gave influencer more upvote, influencer more upvote, more YouTube give subscription like no, oh God.
God, no, how do I get out of there? My heart beats non-stop YouTuber. I keep making like a dramatic move about because I think it's about to be. I have so much garbage. Oh my god, infl, subscribe more subscribe, like, make in sub. I like it more oh this is so stupid more subscribe I like do continue okay continue I've said this a lot but I think this could be the moment this could be the moment YouTube and continue does subscribe come on oh my god that took forever is it possible that you can really do everything

If you have any copyright issue, please Contact