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.

Dakota

Members
  • Joined

  • Last visited

  1. Hi, In your RotBucket class, add this : public ItemStack onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { par3EntityPlayer.addPotionEffect((new PotionEffect(Potion.nightVision.getId(), 100, 0))); par3EntityPlayer.addPotionEffect((new PotionEffect(Potion.wither.getId(), 100, 0))); }
  2. Hello, I want to create an event for change the player size. I have seek in the GiantZombie class and I test this : event.entityLiving.yOffset *= 6.0F; event.entityLiving.width *= 6.0F; event.entityLiving.height *= 6.0F; But It's doesn't work and the game crash. And I've test this : event.entityLiving.myEntitySize = EnumEntitySize.SIZE_4; But It's did nothing. Can you help me, please ? Thanks. (Sorry for mistakes, I'm French )

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.