I succefully get a DamageSource of the attack but
DamageSource::getEntity()
always return null.
I saw that I needed to use EntityDamageSource but how can I convert DamageSource to EntityDamageSource ?
@DifferentiationPlease read all the post and try to help me again because you are not helping me and you don't understand the problem.
If you cannot understand please stop speak in this topic
I know I want to be able to have an event when "thePlayer" got hitten by another entity and be able to do something like:
event.getEntity() all of this client-side.
If I'm here this is because I don't know why it is not working.
My issue:
I am making a client side mod but LivingAttackEvent is never called in multiplayer