Jump to content

Iceminecrafter

Members
  • Posts

    33
  • 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.