top of page

Class 2 notes: Java Coding Class: Extra

Updated: Aug 7, 2021

Hi class! If you're reading this, you probably already read class 2 notes, and at the bottom, I mentioned the 2nd tutorial on generators.

Generators basically allow you to use the give command in weird, wacky ways that normally would take years of memorizing a lot of {{{][} and making sure every single little parenthesis and every little bracket and squiggly bracket.

When you have long lines of code, you have to make sure everything fits together like a math problem. If I have an equation that looks like this:


That just would not be right, I haven't put that last ) in!

This is why generators are so useful because when you spend 5 hours working on a project and plop it into a command block to test it out, most of the time it won't work, and the longer it is the likelier (and easier) it is to misplace that one closed parenthesis.

The generator that I think is the best for beginners to use is Minecraft: Give Command Generator

This is really easy to use and needs no introduction, I think you can just explore it on your own and make your own things. You should be able to find your way around the tabs and find where your command is generated, and that's all there is to it!

Now I do recommend not using this all the time, only when you want to make a really crazy item. It's always good to test your mind at doing something instead of using a machine to do it for you, and that's why I personally never use a generator.

I hope this helped you, and see you next class!



bottom of page