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.

Iceminecrafter

Members
  • Joined

  • Last visited

Everything posted by Iceminecrafter

  1. The tutorial I was using doesnt work for what I needed How would I create a GUI with buttons for the use when you right click an item? Help is much appreciated
  2. @Override public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer player){ return ; } That works, yet how would I return a GUI?
  3. Entire class is package com.iceminecrafter.MetalForgeCraft; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; public class MFCWaterTalisman extends Item{ @Override public void onItemRightClick(){ } }
  4. Doing this just gives an error for the @Override saying it needs to be removed "@Override public void onItemRightClick(){ }"
  5. Im trying to code in an item into my mod that when a player rightclicks it, then it brings up a GUI, yet i cant find the rightclick event... help would be much apreciated
  6. Thank you so much, that was really annoying me
  7. When I type in gradlew into the command window, after putting it in the Forge source folder, this error occurs ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.7.0_67; Please set the JAVA_HOME variable in your environment to match the location of your Java installation My Environmental Variables are JAVA_HOME: C:\Program Files\Java\jdk1.7.0_67; PATH: ;C:\Program Files\Java\jdk1.7.0_67\bin; CLASSPATH: C:\Program Files\Java\jdk1.7.0_67\lib; My Java JDK Directory is: C:\Program Files\Java\jdk1.7.0_67 Java JRE Directory is: C:\Program Files\Java\jre7

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.