Merging Canvox's patch #106

Merged
StevenRS11 merged 14 commits from master into 1.6.2-code 2013-12-17 02:10:44 +00:00
Showing only changes of commit 1205e85861 - Show all commits

View File

@@ -50,7 +50,6 @@ public class MobMonolith extends EntityFlying implements IMob
public MobMonolith(World par1World) public MobMonolith(World par1World)
{ {
super(par1World); super(par1World);
this.getDataWatcher().addObject(16,0);
this.setSize(3F, 9.0F); this.setSize(3F, 9.0F);
this.noClip=true; this.noClip=true;
this.scaleFactor= (float) ((rand.nextDouble()/2)+1); this.scaleFactor= (float) ((rand.nextDouble()/2)+1);
@@ -72,7 +71,7 @@ public class MobMonolith extends EntityFlying implements IMob
protected void applyEntityAttributes() protected void applyEntityAttributes()
{ {
super.applyEntityAttributes(); super.applyEntityAttributes();
this.getAttributeMap().func_111150_b(SharedMonsterAttributes.maxHealth).setAttribute(20); this.getAttributeMap().getAttributeInstance(SharedMonsterAttributes.maxHealth).setAttribute(20);
} }
public boolean canBePushed() public boolean canBePushed()