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.

Davidobot

Members
  • Joined

  • Last visited

  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. Well, like diesieben07 said you need to make a class that implements EntityItemPickupEvent.
  9. Have you tried this tutorial yet? http://www.minecraftforge.net/wiki/How_to_add_an_Achievement
  10. After doing that, what should I do?
  11. Ok, I'll try that asap.
  12. 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; } }
  13. Can you tell me how to make a model class. I'm an absolute noob when it comes to models.

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.