Guest User

Untitled

a guest
May 8th, 2012
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.84 KB | None | 0 0
  1.  public boolean checkSpawningBiome()
  2.   {
  3.     if (MoCTools.isNearTorch(this))
  4.     {
  5.       return false;
  6.     }
  7.  
  8.     int i = gk.c(this.o);
  9.     int j = gk.c(this.y.b);
  10.     int k = gk.c(this.q);
  11.  
  12.     String s = MoCTools.BiomeName(this.k, i, j, k);
  13.  
  14.     int l = this.U.nextInt(10);
  15.  
  16.     if ((s.equals("Taiga")) || (s.equals("Frozen Ocean")) || (s.equals("Frozen River")) || (s.equals("Ice Plains")) || (s.equals("Ice Mountains")) || (s.equals("TaigaHills")))
  17.     {
  18.       this.type = 6;
  19.     }
  20.  
  21.     return true;
  22.   }
  23.  
  24.   public boolean i()
  25.   {
  26.     if (MoCTools.isNearTorch(this)) {
  27.       return false;
  28.     }
  29.     checkSpawningBiome();
  30.     int i = 0;
  31.  
  32.     i = checkNearBigKitties(12.0D);
  33.     if (i == 7)
  34.     {
  35.       i = 5;
  36.     }
  37.  
  38.     setTypeInt(i);
  39.     return (((Integer)mod_mocreatures.lionfreq.get()).intValue() > 0) && (super.i());
  40.   }
Advertisement
Add Comment
Please, Sign In to add comment