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