MineInAbyss / Mobzy

Config-driven custom mobs for Spigot using ECS
https://mineinabyss.com/Mobzy/
MIT License
41 stars 7 forks source link

Behaviour, Attribute, and other component bundles #27

Closed 0ffz closed 3 years ago

0ffz commented 4 years ago

I'd like a shared way to inherit a set of components from some sort of group. For instance, some shared pathfinder goals between passive mobs, or inheriting all attributes from an existing vanilla entity type.

Inheriting components seems like it might be going a little too far, though prefabs are not uncommon with ECS, they'd just require us to do something smarter to allow for overriding only certain values.

0ffz commented 3 years ago

Solved with prefab inheritance