tweaked mob spawn density in pockets
This commit is contained in:
parent
ebf35a056a
commit
55c16f3ae2
1 changed files with 4 additions and 0 deletions
|
@ -310,6 +310,10 @@ public class MobObelisk extends EntityFlying implements IMob
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
else if(list.size()>5&&this.worldObj.provider instanceof pocketProvider)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return this.worldObj.checkNoEntityCollision(this.boundingBox) && this.worldObj.getCollidingBoundingBoxes(this, this.boundingBox).isEmpty() && !this.worldObj.isAnyLiquid(this.boundingBox);
|
return this.worldObj.checkNoEntityCollision(this.boundingBox) && this.worldObj.getCollidingBoundingBoxes(this, this.boundingBox).isEmpty() && !this.worldObj.isAnyLiquid(this.boundingBox);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue