calculateMobHealth

public static double calculateMobHealth(int level, double baseEntityHP)

Calculates mob health using pure exponential level scaling.

This replaces the old damage modifier system. Now level difficulty is built directly into mob HP with a guaranteed ratio:

  • +5 levels = EXACTLY 2x more HP
  • -5 levels = EXACTLY 0.5x HP
  • This holds true at ALL level ranges

The formula is purely exponential:

HP = BASE_MOB_HP * 2^(level / 5)

Return

The calculated max health for the mob

Example HP Values:

1~2.5→ 5 (2x)
5~4.4→ 8.75 (2x)
10~8.75→ 17.5 (2x)
25~70→ 140 (2x)
50~2240→ 4480 (2x)

Parameters

level

The mob's level

baseEntityHP

The base HP from the entity type (unused in pure exponential, kept for API compatibility)