Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Yario

Members
  • Joined

  • Last visited

  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. 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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.