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.

Nitoxym

Members
  • Joined

  • Last visited

  1. The mod is supposed to be a counter for a server, and only count mobs with specific names But finally, I'll warn people to use it only if they can one shot the mob, so I only count attacks
  2. It's a client only mod
  3. Then what do I use?
  4. My bad, I checked after I want to detect when the entity is dying, then I'll manage to detect "if the entity is killed by the player"
  5. How can I do that? Also, where do I use that? And how?
  6. Ok thanks, but how can I be sure that the player killed the entity? I saw this mod, and they managed to do it, but I can't figure how: https://github.com/symt/zealot-counter/tree/1.2.2/src/main/java/io/github/symt What I know is that it only detects when the player one shot the mob
  7. Any way to detect that animation? Or the fact that the entity is removed? Also, any way to know if this is player who killed it?
  8. Hey! I wanted to know if it is possible to detect client side when an entity dies. It works with LivingDeathEvent server side, but not client side. Thanks!
  9. That's exactly what I needed, thanks! ?
  10. Ok, i'll check docs for that It is a client only mod (and personal tool) so no problems with that Ok, thanks, i'm checking that!
  11. What do you mean? An event, class? If so, it's in RenderGameOverlayEvent
  12. .minecraft, I might have an idea, but not sure, to use GSON, I have no idea, and I don't understand most of the posts May I have any example please? Or any method to do this
  13. At the middle of the width and height, and I'm rendering in game And screenWidth is the width of the real screen, or the scaled one?
  14. Well, I can't figure how to do it, I feel stupid '-' But I noticed that some mods use dat files in .minecraft dir, how can I do this with dat or JSON at this location? And how can I edit it with code?
  15. Hello! I wanted to know how can I center text in 1.15.2, I searched ScaledResolution, but it doesn't seem to exist. Thanks!

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.