package net.minecraft.entity.monster; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.world.World; public class EntityGiantZombie extends EntityMob { private static final String __OBFID = "CL_00001690"; public EntityGiantZombie(World p_i1736_1_) { super(p_i1736_1_); this.yOffset *= 6.0F; this.setSize(this.width * 6.0F, this.height * 6.0F); } protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(100.0D); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.5D); this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(50.0D); } /** * Takes a coordinate in and returns a weight to determine how likely this creature will try to path to the block. * Args: x, y, z */ public float getBlockPathWeight(int p_70783_1_, int p_70783_2_, int p_70783_3_) { return this.worldObj.getLightBrightness(p_70783_1_, p_70783_2_, p_70783_3_) - 0.5F; } }