Everything posted by Yario
-
DamageSource.getEntity() always null
@diesieben07so its impossible to have an event fired when somebody hit me and to know who hit me?
-
DamageSource.getEntity() always null
I am not confused, my mod is client side only and I want it to know who attacked himself when he is hit.
-
DamageSource.getEntity() always null
Yes but Differentaiton didn't understand my problem
-
DamageSource.getEntity() always null
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 ?
-
DamageSource.getEntity() always null
@UgdharThe client cannot know who attacked himself ?
-
DamageSource.getEntity() always null
Who send packets to who ?
-
DamageSource.getEntity() always null
@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
-
DamageSource.getEntity() always null
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.
-
DamageSource.getEntity() always null
Use the mod on client-side only and tell me if the event is fired
-
DamageSource.getEntity() always null
@Ugdharyou're true
-
DamageSource.getEntity() always null
Did the event fired with you in multiplayer in a server that havn't the mod on it?
-
DamageSource.getEntity() always null
@DifferentiationIt's working wiht you in multiplayer with client-side mod only ?
-
DamageSource.getEntity() always null
Not working, LivingAttackEvent isn't called in 1.10.2 too
-
DamageSource.getEntity() always null
I said before :
-
DamageSource.getEntity() always null
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
-
DamageSource.getEntity() always null
I'm not stupid I know how to use forge events...
-
DamageSource.getEntity() always null
Yes but I will try in another version like you said above
-
DamageSource.getEntity() always null
@Differentiation It makes no changes
-
DamageSource.getEntity() always null
It works in solo but not in multiplayer that's why I through it was only server side
-
DamageSource.getEntity() always null
Yes I do: MinecraftForge.EVENT_BUS.register(this);
-
DamageSource.getEntity() always null
@diesieben07 @SubscribeEvent public void onAttack(LivingAttackEvent event) { System.out.println("test"); //Never Reached } Not working
-
DamageSource.getEntity() always null
-
DamageSource.getEntity() always null
I can't find LivingDamageEvent maybe you wanted to write LivingHurtEvent but it is server side only.
-
DamageSource.getEntity() always null
I need an event when the player is attacked not when the player attack
-
Importing from my GitHub
Can you send a screenshot of the folder pls
IPS spam blocked by CleanTalk.