Eight skills

Hunting training

Player guide

Starting out
Start with eligible hostile monsters you can handle.
Bring food and usable equipment.
Spawner and spawn-egg mobs do not train Hunting.

Building your skill
Compare Slayer's hostile-damage effect with XP bonuses.
Use the Statistics card to check credited kills.
PvP protection perks have no ordinary use while PvP is disabled.

Long-term goals
Plan equipment and supplies before harder encounters.
Boss story credit has its own eligibility rules.
Keep checking actions separately from your Hunting level.

In Minecraft: open /skills, choose Hunting and read How to Train. Its live cards show accepted rates and requirements.