Mobs icon indicating copy to clipboard operation
Mobs copied to clipboard

Adds mob drops/xp, improves the damage tags, and allows cows to be milked!

Open RoosterBooster007 opened this issue 1 year ago • 4 comments

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 Anvils or some other item naming plugin)

I also updated the README with a contributions section and re-formatted it.

RoosterBooster007 avatar Jun 12 '24 23:06 RoosterBooster007

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).

RoosterBooster007 avatar Jun 12 '24 23:06 RoosterBooster007

Sadly it seems that the creator is inactive and will no longer update it. You should fork it and continue working on it.

Terpz710 avatar Sep 10 '24 02:09 Terpz710

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.

RoosterBooster007 avatar Sep 10 '24 03:09 RoosterBooster007

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.

tgwaste avatar Sep 10 '24 20:09 tgwaste