Commit Graph

4 Commits

Author SHA1 Message Date
Alfred Baumann a18e874eaa
Mobs auto state handlers (#26957)
* Autogenerate MobStateComponentState

* changed CurrentState to DataField, updated DataField attribute for AllowedStates

* Update Content.Shared/Mobs/Components/MobStateComponent.cs

* Update Content.Shared/Mobs/Components/MobStateComponent.cs

---------

Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit 5b8468c9d8463e68dbf4b40226895cfed7d7e143)
2024-04-21 22:05:09 +02:00
Leon Friedrich 8d876150a1 Fix mob state error (#21431) 2023-11-12 20:49:22 +01:00
metalgearsloth b9a805b352
Reduce some state handling allocs (#14301) 2023-02-28 08:05:29 -08:00
Jezithyr eeb5b17b34
Mobstate Refactor (#13389)
Refactors mobstate and moves mob health thresholds to their own component

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-01-13 16:57:10 -08:00