﻿Random Mobs Challenge (Datapack for Minecraft Java 1.21.11)
Creator: Heykikoo

========================================
What is this challenge?
========================================
This datapack turns nearby mobs into one random target mob type.
Each wave has a random kill goal.
When the goal is reached, a new wave starts with a new target mob.

The challenge is designed for chaos, variety, and fast gameplay.

========================================
How it works
========================================
1) A random target mob is selected.
2) A random kill goal is selected.
3) Nearby living entities are converted into the current target mob.
4) Your kills are tracked.
5) After reaching the goal, a new target wave starts automatically.

Wave cleanup:
- At every new wave, old target mobs in player range are removed
  to prevent leftover/stuck mobs from previous waves.

========================================
UI / Display
========================================
- Actionbar: formatted timer (s / m s / h m s)
- Right sidebar:
  - Mob name (wave target)
  - Target (goal value)
  - Kills (current progress)

========================================
Performance / Safety
========================================
- Conversion is limited to 1 chunk radius around players.
- Conversion is throttled to reduce lag spikes.
- Non-living entities are ignored (for example TNT/projectiles),
  so they are not converted into mobs.

========================================
Version
========================================
Tested for Minecraft Java 1.21.11

========================================
Install
========================================
1) Put the datapack folder/zip into your world's datapacks folder.
2) Run: /reload
3) Optional manual start: /function rm:load

========================================
Notes
========================================
- This is a challenge datapack: world balance is intentionally chaotic.
- Best played in a fresh or dedicated challenge world.

========================================
Credit
========================================
Created by Heykikoo ♥ GHG
