Spigot CondensedOres 1.0

Random chance that ores drop double!

  1. Miles submitted a new resource:

    CondensedOres - Random chance that ores drop double!

    Read more about this resource...
  2. I'm curious to wonder if you used the Random Class in bukkit for the chances it will drop the items twice?
  3. I used the Java random function. I can give you the snippet of Java if you'd like.
  4. Sure why not, I'm a little new to Java but I know the basics.
  5. I'm at the point where I can read it and know it but not make a plugin without peaking at tutorials.
  6. Here's a snippet that determines whether the ore should be a double drop:

    Code (Text):
    public static boolean doubleDrop(){
            Random random = new Random(); // instantiate Random
            return(random.nextInt(likelyhood) == 0); // return true or false. Likelyhood is an integer.
    • Informative Informative x 1