Adds mob drops/xp, improves the damage tags, and allows cows to be milked!
I tested my changes on PM 5.15 and everything works! I updated the plugin's version to 2.1.1.
New features:
- Mobs will now drop items according to their type/class
- Mobs can now drop XP (if hit by a player)
- Each mob has different health values according to their class! (fixes #4)
- Damage tags have varying health colors at different health thresholds (green, yellow, red, then dead).
- Cows can now be milked
Other started features:
- Started a function to add mob spawn eggs (based on #16)
- Started on mob name tag support (requires
Anvilsor some other item naming plugin)
I also updated the README with a contributions section and re-formatted it.
Some of the commit comparisons may look wonky because I uploaded my changes via the web editor 💀. I tried to keep your style/structure and add in vanilla health values, drops, and xp values (except for a few easter eggs like in the Slime.php or Witch.php).
Sadly it seems that the creator is inactive and will no longer update it. You should fork it and continue working on it.
Sadly it seems that the creator is inactive and will no longer update it. You should fork it and continue working on it.
I'd be happy to (fork here). I just didn't realize there was still much of a need for basic mob AI.
Hi, the main problem here is that I have scripts that auto generate all the entity files, so these additions greatly complicate that process. Taking these values and making a central file that can be used instead is better. Feel free to release on poggit with your changes making note that its a fork and giving proper credits. My plan was to eventually rewrite a lot of this as this was my first pass at mob plugin but who knows when I'll get to that.