This work reports on a metasurface based on optical nanoantennas made of van der Waals material hexagonal boron nitride. The optical nanoantenna made of hyperbolic material was shown to support strong localized resonant modes stemming from the propagating high-k waves in the hyperbolic material. An analytical approach was used to determine the mode profile and type of cuboid nanoantenna resonances. An electric quadrupolar mode was demonstrated to be associated with a resonant magnetic response of the nanoantenna, which resembles the induction of resonant magnetic modes in high-refractive-index nanoantennas. The analytical model accurately predicts the modes of cuboid nanoantennas due to the strong boundary reflections of the high-k waves, a capability that does not extend to plasmonic or high-refractive-index nanoantennas, where the imperfect reflection and leakage of the mode from the cavity complicate the analysis. In the reported metasurface, excitations of the multipolar resonant modes are accompanied by directional scattering and a decrease in the metasurface reflectance to zero, which is manifested as the resonant Kerker effect. Van der Waals nanoantennas are envisioned to support localized resonances and can become an important functional element of metasurfaces and transdimensional photonic components. By designing efficient subwavelength scatterers with high-quality-factor resonances, this work demonstrates that this type of nanoantenna made of naturally occurring hyperbolic material is a viable substitute for plasmonic and all-dielectric nanoantennas in developing ultra-compact photonic components.