-
GUI tutorial reference
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!
-
Custom GUI
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!
-
Armor Texture Won't Render
Would I have the getArmorTexture as well as the getArmorModel?
-
Armor Texture Won't Render
Where would I put the Override?
-
Armor Texture Won't Render
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!
-
Texture File Not Working...
Thank you SO much! I'll watch these
-
Texture File Not Working...
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
-
Texture File Not Working...
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
-
Texture File Not Working...
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
IPS spam blocked by CleanTalk.