Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: Java  |  size: 0.84 KB  |  hits: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.   }