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.

WhatAnTopic

Members
  • Joined

  • Last visited

  1. Damn. So there would be no way to extend the class and make Minecraft use mine over the normal EntityLivingBase class?
  2. I am trying to create a custom event for a mod that fires when the player's potion effect runs out. EntityLivingBase class has the method onFinishedPotionEffect which would be the perfect place to call my custom event but since I cannot edit the class, how would I go about overriding it and calling my custom event inside it? If I extend the class, how would I make Minecraft use my class instead of the normal one? Or if what I am trying to do is impossible, how would I create a custom event that is called when a potion effect runs out besides listening to the tick event?

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.