int num = new Random().nextInt(4); // Generates a random number between 0 and 4. if (num < 3) { // Do the crafting. }
For 60%, generate a random number between 0 and 4 and check to see if it's less than 3. If it's 0, 1, or 2, that's 3 out of 5 possibilities.
Make sure it's in the right place.
Sup. :cool:
Once I post a video, I can't really change it.
Learning how not to program is good too ;)
Whenever I get tagged in a post, I read through it and like everything mentioning me in a positive way. Narcissism? Maybe Yes.
Here's something I've never told anyone, but I suppose now is a good time to get it out: When I started my channel, I was huge into Minecraft....
I haven't look at my first video in forever, so I wouldn't remember. Back then, I wasn't nearly as experienced as I am now, so I can see why I...
When did I use the Minecraft logger? Also, how is using a logger made for Minecraft a bad practice?
Pick me! [media]
Here's a video explaining exactly how to do this. [media]
Thanks for letting me know.
In light of the recent developments with Bukkit, I made a video thanking the Bukkit team for all of their hard work on Bukkit. Even though they...
Use a do...while loop. Location loc; do { loc = new Location(...); } while (!loc.getBlock().isLiquid());
Separate names with a comma.