Jump to content

Soviet

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by Soviet

  1. Bump... My armour texture line: @Override public String getArmorTexture(ItemStack stack, Entity entity, int slot, int layer) { return "/alloycraft/textures/armor/copper_1.png"; //path to the armour texture } The error: Please, I really need help to find my armor path.
  2. Well apparently, no, I can't seem to find where to put my armour textures. Any help with that please ?
  3. Hello, I've experienced few troubles with the new icons directory and cannot seem to be able to get things done right. So, my textures and icons code are this: return "/mymod/textures/armor/myarmor_1.png" this.itemIcon = icon.registerIcon("mymod:myitem"); So... With those lines shown, what's the correct asset directory ? Is it Forge\mcp\src\Minecraft\assets\ ? Because it doesn't seem to work. Thanks by advance and have a great day.
  4. So... What do I have to do to make it work on SMP then ?
  5. Line 56 of Alloycraft is...? public final static Item bootsSteel = new SovSteelBoots(908, steelArmorMaterial2, RenderingRegistry.addNewArmourRendererPrefix("steel"), 3).setUnlocalizedName("steelBoots").setCreativeTab(CreativeTabs.tabCombat); This is the first armor line in my main class.
  6. Bump... Please, I don't understand what I have to do to make it work on SMP.
  7. I used your methods and yes, it works. Problem is, it still crashes my server.jar:
  8. I did like you said, I still get iron texture. Pretty sure you method works but what do I have to change ? Here's a sample of my code: public final static Item bootsSteel = new SovSteelBoots(908, steelArmorMaterial2, 2, 3).setUnlocalizedName("steelBoots").setCreativeTab(CreativeTabs.tabCombat); So, 2 is the iron texture. What do I replace it with ?
  9. I mean, my items are textured. It's when worn they aren't.
  10. Doesn't work. I want to do an armor with custom textures. I don't want it to have iron textures.
  11. Thank you for the answer, but what is the Forge method for ModLoader.addarmor ?
  12. I don't know if it helps, but when I put my mod in "coremods" instead of "mods" in my server folders, the server doesn't crash anymore. But! When I try to place a block from my mod, it instantly disappears (spawn protection not counted) and is removed from my inventory. Also, I don't see any traces of my custom ores...
  13. Hello again, I would like some help to make my mod working on SMP. According to the previous topic, http://www.minecraftforge.net/forum/index.php/topic,3053.msg20596.html#msg20596, all you need to do is to put your mod in the server and that's fine. Well, not for me. In solo, mod works fine and does not crash. I get immediate crash when trying to set it up on SMP. I used the Forge ModLoader to load my mod. Here's the log: From what I read, it has trouble with the armor adding by ModLoader. Here are the culprits: Can anyone give a hand? Thanks by advance.
  14. It worked and my copper spawns! Thank you for your time and your help!
  15. It did not change anything, and it seems your method screws all my items. Switched back to "my way of coding". Same error for WorldGen: "The constructor WorldGenMinable(Block, int, int, int) is undefined" I tried those and they didn't work: (new WorldGenMinable(Alloycraft.oreCopper, 0, 6, Block.stone.blockID)).generate(world, random, randomPosX , randomPosY , randomPosZ );//6 = the number of maximum ore blocks per vein (new WorldGenMinable(Alloycraft.oreCopper.blockID, 0, 6, Block.stone.blockID)).generate(world, random, randomPosX , randomPosY , randomPosZ );//6 = the number of maximum ore blocks per vein (new WorldGenMinable(oreCopper.blockID, 0, 6, Block.stone.blockID)).generate(world, random, randomPosX , randomPosY , randomPosZ );//6 = the number of maximum ore blocks per vein (new WorldGenMinable(Block.oreCopper, 0, 6, Block.stone.blockID)).generate(world, random, randomPosX , randomPosY , randomPosZ );//6 = the number of maximum ore blocks per vein (new WorldGenMinable(Block.oreCopper.blockID, 0, 6, Block.stone.blockID)).generate(world, random, randomPosX , randomPosY , randomPosZ );//6 = the number of maximum ore blocks per vein
  16. Yes, it is .737: forge.major.number=7 forge.minor.number=8 forge.revision.number=1 forge.build.number=737
  17. I'm using the latest Forge Source (7.8.1). There are no quick fixes, it only tells me the error. Here is my WorldGen class:
  18. I changed all my code to public, tried like you said MyMainClass.oreCopper but I get this error now: "The constructor WorldGenMinable(Block, int, int, int) is undefined". What do I do ?
  19. I can't enter my ore, it does not find it. Here is my ore: private final static Block oreCopper = new SovOreCopper(802, 1, Material.rock).setHardness(2F) .setStepSound(Block.soundStoneFootstep).setUnlocalizedName("copperOre").setCreativeTab(CreativeTabs.tabBlock); Is there something wrong ?
  20. Hello, I'm stuck once again in my coding, due to the fact that I've not yet found a tutorial for regular world ore spawn for 1.5+. Can anyone give me a link to a tutorial for that or explain me how to ? Thank you by advance.
  21. It actually works! Thanks again for your help!
×
×
  • Create New...

Important Information

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