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.

Riverbanminer

Members
  • Joined

  • Last visited

  1. thanks for the help! much appreciated
  2. yes i did change the signature and realize thats probable the issue. im going to go total noob in modding and i think im going to scrap that chunk of code for the moment and my goal is to check if the player is on the block and if so apply a potion effect to the player so would i use onEntityColideWithBlock() or onEntityWalk()?
  3. sorry still trying to understand java, i used the CTRL + SPACE feature in eclipse to locate the method and i dont know what to say about the signature
  4. Can someone please Explain!! I'm trying to make a block that when you are walking on it gives a jump boost.how do I fix this or do it correctly? eclipse is giving me this error: The method onEntityWalk(World, BlockPos, EntityLivingBase) of type JumpPad must override or implement a supertype method @Override public void onEntityWalk(World worldIn, BlockPos pos, EntityPlayer player) { // TODO Auto-generated method stub super.onEntityWalk(worldIn, pos, player); if(!worldIn.isRemote) { player.addPotionEffect(new PotionEffect(Potion.getPotionById(8), 200, 4)); } }

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.