Jump to content

Davidobot

Members
  • Posts

    27
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    London, UK
  • Personal Text
    Just trying to be helpful! :D

Davidobot's Achievements

Tree Puncher

Tree Puncher (2/8)

3

Reputation

  1. I did, I couldn't find it.
  2. Ok, but it disappears every time I craft something. Is there a way how to prevent it from going into my inventory every time? Example: The minium stone from EE3.
  3. So inside my item class? EDIT: Nevermind, just put it after the declaration like so: metalConvert.setContainerItem(metalConvert);
  4. Yup. I just tried it, it didn't work: metalConvert = new portableMagik(metalID).setMaxStackSize(1).setCreativeTab(MagikTab).setIconIndex(0).setItemName("MetalConvert").setContainerItem(metalConvert); So basically it should turn iron into copper, but when I craft with it, it uses it up.
  5. So if I set it as the item it should give me back the item after crafting?
  6. How would I go about having an item being used in a recipe, but so that I get to keep the item after the crafting. Example: Buckets in cake recipes.
  7. I tried to do that with a block, it didn't work.
  8. Bump
  9. Well, like diesieben07 said you need to make a class that implements EntityItemPickupEvent.
  10. Have you tried this tutorial yet? http://www.minecraftforge.net/wiki/How_to_add_an_Achievement
  11. After doing that, what should I do?
  12. Ok, I'll try that asap.
  13. So I have a block which opens a GUI just fine, but when I implement that into an item it doesn't open! Any ideas? Item Class: package mod.Item; import mod.MagikBase; import mod.lib.GuiIDs; import mod.proxy.CommonProxy; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; public class portableMagik extends Item { public portableMagik(int par1) { super(par1); // TODO Auto-generated constructor stub } @Override public String getTextureFile() { return CommonProxy.ITEMS_PNG; } @Override public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer entityplayer) { entityplayer.openGui(MagikBase.instance, GuiIDs.CRAFTER, entityplayer.worldObj, (int) entityplayer.posX, (int) entityplayer.posY, (int) entityplayer.posZ); return par1ItemStack; } }
  14. Can you tell me how to make a model class. I'm an absolute noob when it comes to models.
×
×
  • Create New...

Important Information

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