MineInAbyss / Mobzy

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

handle falldamage on mounted players #109

Closed Boy0000 closed 2 years ago

Boy0000 commented 2 years ago

Currently itll not apply damage aslong as the entity isnt set to die from the event. If the entity dies the remaining damage is applied to all passengers and drivers.

Feels like a semi-good reason to use mounted mobs above just speed

Boy0000 commented 2 years ago

In vanilla riding mobs of of cliffs dont bypass falldamage. Only specific entities like boats cause no falldamage Basically wanted to replicate how its like riding a horse or pig of a cliff here

0ffz commented 2 years ago

If vanilla mobs do the damage, how come ours dont?

Boy0000 commented 2 years ago

If vanilla mobs do the damage, how come ours dont?

because theyre not entities in the same way. ur free to try if u dont believe they do but

Boy0000 commented 2 years ago

the entity itself takes damage, but it doesnt translate to the mounted ones. Gonna merge this as theres no reason not to. Entity thats being ridden isnt touched by this, this is just to translate remaining damage when said entity dies over to passengers of it