elBukkit / MagicPlugin

A Bukkit plugin for spells, wands and other magic
http://mine.elmakers.com
MIT License
245 stars 148 forks source link

Mob AI cuts, and features going forward(?) #1362

Open NightScythe1 opened 3 months ago

NightScythe1 commented 3 months ago

Heyo, just had a couple questions about Mob AI in Magic going forward, as I know much of it will need to be cut- Will every instance of Magic Mob functionality be cut, or will it solely be brain/goal AI features? I ask because I'm working on the new HTTYD pack, and I think I can keep pretty much the entire pack working without AI, as it mostly just uses Magic Mob interact spells, triggers etc.

The only brain thing I am relying on currently, is the ability to make the mob sit/stay and follow. I'm using parrots, so they already have this functionality in vanilla, but I've been using Magic's goal system to do this (like how philbert works) since right-clicks are used to cast spells instead. Overall, I'm just checking to see if ModifyEntity will still be able to set the mob's sitting state to true or false, because if it can I'll likely be able to finish the pack unhindered by the AI cuts. Thanks!

NathanWolf commented 3 months ago

The only thing I can see having to cut is the "brain" custom goal features. That's because, at least for now, there is no way to do this with the Spigot API.

So changing the sitting state for mobs that natively support sitting should be fine, as should basically everything else.

I also don't know when or if this transition is going to happen, especially if I can fix the issues with the 1.21/1.20.5 compatibility.

NightScythe1 commented 3 months ago

Okay, thank you! That's a big relief for me at least, as it means I won't have to rework most of the new pack's features. I appreciate the response, and I hope things go well with the update!