more monolith spawning

This commit is contained in:
StevenRS11
2013-06-15 03:09:46 -04:00
committed by SenseiKiwi
parent a24cd87ddb
commit 1f4f38cfe3
2 changed files with 23 additions and 8 deletions

View File

@@ -122,10 +122,7 @@ public class MobObelisk extends EntityFlying implements IMob
if (this.isEntityAlive() && this.isEntityInsideOpaqueBlock())
{
this.pushOutOfBlocks(this.posX - (double)this.width * 0.35D, this.boundingBox.minY + 0.5D, this.posZ + (double)this.width * 0.35D);
this.pushOutOfBlocks(this.posX - (double)this.width * 0.35D, this.boundingBox.minY + 0.5D, this.posZ - (double)this.width * 0.35D);
this.pushOutOfBlocks(this.posX + (double)this.width * 0.35D, this.boundingBox.minY + 0.5D, this.posZ - (double)this.width * 0.35D);
this.pushOutOfBlocks(this.posX + (double)this.width * 0.35D, this.boundingBox.minY + 0.5D, this.posZ + (double)this.width * 0.35D);
this.setDead();
}
@@ -137,7 +134,7 @@ public class MobObelisk extends EntityFlying implements IMob
{
if(this.soundTime<=0)
{
this.playSound("mods.DimDoors.sfx.monk", 1.5F, 1F);
this.playSound("mods.DimDoors.sfx.monk", 1F, 1F);
this.soundTime=100;
}