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.

WOTBLITZ

Members
  • Joined

  • Last visited

Everything posted by WOTBLITZ

  1. What code do you need? I have some code but it is not directly connected with this. Just some gui code.
  2. And I am looking at the entity with the effect.
  3. The entity has the potion effect on. And it is called from here: [pre](EntityLiving)Minecraft.getMinecraft().objectMouseOver.entityHit[/pre]
  4. I am trying to get active potion effects from an entity. I have tried: getActivePotionEffect(), getActivePotionEffects() and isPotionActive but they just give null or false. I put MobEffects.Poison and Potion.getPotionByID(19). Am I missing something? And I have looked in minecraft code as well.
  5. Doing what you did first won't work, you need to put in arguments like username.
  6. What I do is: gradlew setupDevWorkspace setupDevWorkspace eclipse, all at once and open eclipse, set workspace dir in the eclipse folder of your forge mdk folder. After that, you can start minecraft. (Using GradleStart as main class already setup for you).
  7. I wanted to get stuff from entities and by doing this I could, but when I was looking at the Ender Drogen it crashed the game, i found out that a part of Entity like the ender dragon and can not be cast to EntityLiving. Soo, how do a figure out if a the entity is part or not part? The code I was using:(EntityLiving)Minecraft.getMinecraft().objectMouseOver.entityHit
  8. I am making a mod and I am using another mod but my mod don't need the other mod, it just adds some more things to my mod, now the question, how do I say to forge that I want the other mod to be inited before my mod, if the other mod exists?

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.