@Override protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setAttribute(10); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed) .setAttribute(0.10000000298023224D); }
protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getAttributeMap().registerAttribute(horseJumpStrength); this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(53.0D); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed) .setBaseValue(0.22499999403953552D); }
// you don't have to call this as it is called automatically during entityLiving subclass creation @Override protected void applyEntityAttributes() { super.applyEntityAttributes(); getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.2D); getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(8.0D); }
protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(10.0D); this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.25D); }
protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setAttribute(8.0D); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed) .setAttribute(0.23000000417232513D); }