Jump to content

mOXkIe

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by mOXkIe

  1. So I recently learned some basic modding, and I want to do some recipes using items from other mods. I thought I'd start with Thaumcraft. Lets say I want to make a recipe using a Thaumium Sword, how should I use that in the code? Using a regular vanilla item in a recipe would look something like this(probably wrong but you get my idea) GameRegistry.addRecipe(new ItemStack(MyNewCoolItemUsingTools), new Object[] { " ", "xyx", " ", 'x', Item.stone, 'y', Item.swordIron}); Working with the Thaumcraft API, what should I replace Item.swordIron with to use a Thaumium Sword? I hope it's not too much to ask for, if you who are reading this don't have time to look at a API and see how it works it's cool. The closest I got was ItemApi.getItem(ItemThaumiumSword)
  2. Nope. mOXkIe.zip |__modname |__assets When I put the assets folder and modname folder directly into the zip the mod wont work. This is probably some useful info for you to help me: The package stuff package moxkie.glowingtools; This is how my code for the icons looks like public void registerIcons(IconRegister reg) { if (itemID == glowingTools.glowingAxe.itemID) { this.itemIcon = reg.registerIcon("glowingtools:glowing_axe"); } } } moxkie.zip moxkie assets glowingtools In the assets folder I have glowingtools/textures/icons/glowing_axe.png etc
  3. The mod itself works 100% fine but I can't get the textures to work when adding the mod to MultiMC. After browsing around on your wiki I found out that I should add these packages: assets.modname.textures.blocks assets.modname.textures.items So I did, and the images shows up when I look into the packages. Now I recompile and reobfuscate the mod and make it into a .zip file. It now looks like this: In the mOXkIe.zip/mOXkIe we have following folders modname assets In the modname(modname is not the actual name of the mod, I just took it as an example) folder we have the class files for the mod and in the assets folder we have another map called modname and in that folder I put the textures map with the folders blocks and items that contains the textures for the mod. When I add the mod to MultiMC and start it the textures for my items still doesn't show up. I know there's nothing wrong with any of the code since I get it working when I for example add the mod just to the regular launcher with Forge, and out the textures in the 1.6.4.jar file. Can you guys see what I'm doing wrong and help me? A appreciate you taking your time into helping me, and sorry for my rust English but it should be more than understandable!
×
×
  • Create New...

Important Information

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