Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.63 KB | None | 0 0
  1. import java.util.Random;
  2.  
  3. public class Fossilblock extends pj
  4. {
  5.  
  6.     protected Fossilblock(int i, int k)
  7.     {
  8.         super(i, k, ic.d);
  9.         c(3F);
  10.         b(15F);
  11.         a(j);
  12.     }
  13.  
  14.     public int a(int i, Random random)
  15.     {
  16.         return 352;
  17.     }
  18.      public int a(int side, int meta) {
  19.       return mod_Fossils.fossilSprites[meta];
  20.     }
  21.  
  22.     public int a(Random random)
  23.     {
  24.         Random random1 = new Random();
  25.         int i = random1.nextInt(100);
  26.         if(i < 20)
  27.             return 3;
  28.         return i >= 60 ? 1 : 2;
  29.     }
  30.  
  31.     public static final br j = new br("stone", 1.0F, 1.0F);
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement