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.attackStrength = 50;
011 this.yOffset *= 6.0F;
012 this.setSize(this.width * 6.0F, this.height * 6.0F);
013 }
014
015 public int getMaxHealth()
016 {
017 return 100;
018 }
019
020 /**
021 * Takes a coordinate in and returns a weight to determine how likely this creature will try to path to the block.
022 * Args: x, y, z
023 */
024 public float getBlockPathWeight(int par1, int par2, int par3)
025 {
026 return this.worldObj.getLightBrightness(par1, par2, par3) - 0.5F;
027 }
028 }