Jump to content

larson377

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    a n00b at coding in java, experienced in others!

larson377's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. tried putting oddblocks in all lowercase, didnt work. this is kinda getting depressing :'(
  2. i did exactly as you said, i double checked my modID is OddBlocks, put it in the correct folder as you stated, but it still doesnt work. any ideas on why that is? heres my new item class: package com.larson377.OddBlocks.Items; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class CopperCoin extends Item { public CopperCoin(int i) { this.setUnlocalizedName("Copper Coin"); this.setTextureName("OddBlocks" + ":" + "123"); this.setCreativeTab(CreativeTabs.tabMisc); } } and yes, my coin is actually called 123.png.
  3. so id like to begin by saying im a complete noob at coding in java, so the most literal explanation would be the most helpful thing for me. here's the link to the youtube series im watching to help me make a basic item here's my entire item class: package com.larson377.OddBlocks.Items; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class CopperCoin extends Item { public CopperCoin(int i) { this.setUnlocalizedName("Copper Coin"); this.setTextureName("OddBlocks:123"); this.setCreativeTab(CreativeTabs.tabMisc); } } and here's my main java class: package com.larson377.OddBlocks; import net.minecraft.item.Item; import com.larson377.OddBlocks.Items.CopperCoin; import com.larson377.OddBlocks.lib.ProxyCommon; import com.larson377.OddBlocks.lib.References; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid = References.MODID, version = References.VERSION) public class OddBlocks { @SidedProxy(clientSide = References.Client, serverSide = References.Common) public static ProxyCommon proxy; //Items public static Item CopperCoin = new CopperCoin(4999); @EventHandler public void init(FMLInitializationEvent event) { } @EventHandler public void load(FMLInitializationEvent event) { proxy.registerRenderInformation(); } public OddBlocks () { //Item Registry GameRegistry.registerItem(CopperCoin, "Copper Coin"); LanguageRegistry.addName(CopperCoin, "Copper Coin"); } } my end goal here is to get the darn coin textured. 123 is the basic name i gave my png file, its 16x16 pixels.
×
×
  • Create New...

Important Information

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