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.

Izar

Members
  • Joined

  • Last visited

  1. Hello Minecraft Forge community! I'm creating a mod and have a tool set, some items. blocks and other things, However, I want to create an item that has a GUI when you right click it. I do not know how to create a GUI so I was wondering if anyone could give me a GUI tutorial for 1.7.10 Thanks!
  2. Izar posted a topic in Modder Support
    Hello fellow nodders & programmers, I'm fairly new to modding but I have already created my custom tool set and blocks and items. However, I want to create a custom GUI where you can right click on an item and select things and craft things in the GUI. I tried to search for some tutorials on how to do so but don't seem to have any luck. So I came here to see if anyone has any tips and such Thanks for any help!
  3. Would I have the getArmorTexture as well as the getArmorModel?
  4. Where would I put the Override?
  5. I've coded some custom armor and added textures to them but when I run Minecraft all I get is the "Missing Texture" icon. Here is the code for my Armor Class: package com.nebblewerfer.interstellarexploration; import com.nebblewerfer.lib.Strings; import net.minecraft.entity.Entity; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemStack; public class spaceSuit extends ItemArmor{ public spaceSuit(ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_) { super(p_i45325_1_, p_i45325_2_, p_i45325_3_); // TODO Auto-generated constructor stub } public String getArmorModel(ItemStack stack, Entity entity, int slot, String type) { if(stack.getItem() == Aluminum.spaceHelmet || stack.getItem() == Aluminum.spaceTunic || stack.getItem() == Aluminum.spaceBoots){ return "interstellarexploration:SpaceLayer1"; }else if(stack.getItem() == Aluminum.spacePants){ return "interstellarexploration:SpaceLayer2"; }else{ return null; } } } Thank you for any help! If you have any questions about other info just ask me!
  6. Thank you SO much! I'll watch these
  7. Where would I put @SideOnly? And where would I set the Item ID What do you mean make my own class? Again, I'm new to modding Also, I have followed other tutorials and am doing the exact same thing
  8. ahhhh yes I forgot The Platforms and Versions! The platform that I'm coding on is Mac OS X 10.9.4 Minecraft Version is 1.7.10 Eclipse is 4.4.0 Luna Sry about that
  9. Hello I'm new to modding and I need help trying to figure out why my texture file won't work. Eclipse doesn't display any errors when I run Minecraft but all I get is the "Missing Texture" icon Here is a sample of my code: It's going to be a bedrock mod package com.minecraft.bedrockmod; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.block.Block; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Items; import net.minecraft.item.Item; @Mod(modid = BedrockPiece.modid, version = BedrockPiece.version) public class BedrockPiece { public static final String modid = "BedrockPiece"; public static final String version = "1.0"; public static Item BedrockPiece; @EventHandler public void init(FMLPreInitializationEvent event){ BedrockPiece = new Item().setUnlocalizedName("BedrockPiece").setCreativeTab(CreativeTabs.tabMaterials).setTextureName(modid + ":" + "bedrockpiece"); GameRegistry.registerItem(BedrockPiece, "BedrockPiece"); } @EventHandler public void init(FMLInitializationEvent event){ } } I would appreciate any help... Thanks Fellow Minecrafter & Modder

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.