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.

KiiNGz8

Members
  • Joined

  • Last visited

  1. I'm overriding a item class, am I still able to use events?
  2. So I was trying to make an ability for my weapon and I want it to apply the slowness effect right after the other ones finish is there any way of doing so? I´ll put my code if it helps @Override public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity playerIn, Hand handIn) { playerIn.getCooldownTracker().setCooldown(RegistryHandler.FOREST_STRIKER.get(), 40 * 20); playerIn.addPotionEffect(new EffectInstance(Effects.SPEED, 15 * 20)); playerIn.addPotionEffect(new EffectInstance(Effects.RESISTANCE, 15 * 20)); playerIn.addPotionEffect(new EffectInstance(Effects.JUMP_BOOST, 15 * 20)); playerIn.getItemStackFromSlot(EquipmentSlotType.MAINHAND).damageItem(900, playerIn, e -> e.sendBreakAnimation(EquipmentSlotType.MAINHAND)); return super.onItemRightClick(worldIn, playerIn, handIn); } }

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.