001 package net.minecraft.src;
002
003 public class EntityGiantZombie extends EntityMob
004 {
005 public EntityGiantZombie(World par1World)
006 {
007 super(par1World);
008 this.texture = "/mob/zombie.png";
009 this.moveSpeed = 0.5F;
010 this.yOffset *= 6.0F;
011 this.setSize(this.width * 6.0F, this.height * 6.0F);
012 }
013
014 public int getMaxHealth()
015 {
016 return 100;
017 }
018
019 /**
020 * Takes a coordinate in and returns a weight to determine how likely this creature will try to path to the block.
021 * Args: x, y, z
022 */
023 public float getBlockPathWeight(int par1, int par2, int par3)
024 {
025 return this.worldObj.getLightBrightness(par1, par2, par3) - 0.5F;
026 }
027
028 /**
029 * Returns the amount of damage a mob should deal.
030 */
031 public int getAttackStrength(Entity par1Entity)
032 {
033 return 50;
034 }
035 }