Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean checkSpawningBiome()
- {
- if (MoCTools.isNearTorch(this))
- {
- return false;
- }
- int i = gk.c(this.o);
- int j = gk.c(this.y.b);
- int k = gk.c(this.q);
- String s = MoCTools.BiomeName(this.k, i, j, k);
- int l = this.U.nextInt(10);
- if ((s.equals("Taiga")) || (s.equals("Frozen Ocean")) || (s.equals("Frozen River")) || (s.equals("Ice Plains")) || (s.equals("Ice Mountains")) || (s.equals("TaigaHills")))
- {
- this.type = 6;
- }
- return true;
- }
- public boolean i()
- {
- if (MoCTools.isNearTorch(this)) {
- return false;
- }
- checkSpawningBiome();
- int i = 0;
- i = checkNearBigKitties(12.0D);
- if (i == 7)
- {
- i = 5;
- }
- setTypeInt(i);
- return (((Integer)mod_mocreatures.lionfreq.get()).intValue() > 0) && (super.i());
- }
Advertisement
Add Comment
Please, Sign In to add comment