Jump to content

Yario

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Yario

  1. @diesieben07so its impossible to have an event fired when somebody hit me and to know who hit me?
  2. I am not confused, my mod is client side only and I want it to know who attacked himself when he is hit.
  3. Yes but Differentaiton didn't understand my problem
  4. 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 ?
  5. @UgdharThe client cannot know who attacked himself ?
  6. Who send packets to who ?
  7. @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
  8. 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.
  9. Use the mod on client-side only and tell me if the event is fired
  10. @Ugdharyou're true
  11. Did the event fired with you in multiplayer in a server that havn't the mod on it?
  12. @DifferentiationIt's working wiht you in multiplayer with client-side mod only ?
  13. Not working, LivingAttackEvent isn't called in 1.10.2 too
  14. I said before :
  15. 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
  16. I'm not stupid I know how to use forge events...
  17. Yes but I will try in another version like you said above
  18. @Differentiation It makes no changes
  19. It works in solo but not in multiplayer that's why I through it was only server side
  20. Yes I do: MinecraftForge.EVENT_BUS.register(this);
  21. @diesieben07 @SubscribeEvent public void onAttack(LivingAttackEvent event) { System.out.println("test"); //Never Reached } Not working
  22. I am using forge for mc 1.9.4 and I can't find LivingDamageEvent
  23. I can't find LivingDamageEvent maybe you wanted to write LivingHurtEvent but it is server side only.
  24. I need an event when the player is attacked not when the player attack
  25. Can you send a screenshot of the folder pls
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.