I am having a bit of Trouble adding the Item do i need a class file and the mod_file ? because im trying to add a new sword into the game
Swords are bit different, this tutorial is for simple items. Watch theinstitutions videos on youtube. They will show you have to make a new toolset from scratch.
I notice when i quote the whole thing you posted it allows me to see the such as tutorial how to make a block:Tutorial 1 - How to Make a New Block - 1.3.2 Ready[spoiler]
mod_*** File
package net.minecraft.src;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Random;
public class mod_wolfestone extends BaseMod
{
public static final Block oreWolfestone = new BlockWolfestoneOre(160, 0).setStepSound(Block.soundStoneFootstep).setBlockName("oreWolfestone").setHardness(4.5F).setResistance(5F).setLightValue[font=arial,helvetica,sans-serif](0.375F);[/font]
public void load()
{
oreWolfestone.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/textures/Wolfestone Ore.png");
ModLoader.registerBlock(oreWolfestone);
ModLoader.addName(oreWolfestone, "Wolfestone Ore");
}
public String getVersion()
{
return "Wolfestone Mod V2.0 Minecraft 1.3.2";
}
}
(i copied it and pasted it on notepad so some may be wrong)
so i hope this helps...
I notice when i quote the whole thing you posted it allows me to see the such as tutorial how to make a block:Tutorial 1 - How to Make a New Block - 1.3.2 Ready[spoiler]
mod_*** File
package net.minecraft.src;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Random;
public class mod_wolfestone extends BaseMod
{
public static final Block oreWolfestone = new BlockWolfestoneOre(160, 0).setStepSound(Block.soundStoneFootstep).setBlockName("oreWolfestone").setHardness(4.5F).setResistance(5F).setLightValue[font=arial,helvetica,sans-serif](0.375F);[/font]
public void load()
{
oreWolfestone.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/textures/Wolfestone Ore.png");
ModLoader.registerBlock(oreWolfestone);
ModLoader.addName(oreWolfestone, "Wolfestone Ore");
}
public String getVersion()
{
return "Wolfestone Mod V2.0 Minecraft 1.3.2";
}
}
(i copied it and pasted it on notepad so some may be wrong)
so i hope this helps...
for some reason no matter what I do my item doesnt appear in the creative inv :/
It gives me some error at the this.setCreativeTab(CreativeTabs.tabMisc); line
saying
"The Method setCreativeTab(CreativeTabs) is undefined for the type ItemFireGem"
yet when I put this in it is totally fine,
this.setTabToDisplayOn(CreativeTabs.tabMisc);
yet neither get the item to show :/
for some reason no matter what I do my item doesnt appear in the creative inv :/
It gives me some error at the this.setCreativeTab(CreativeTabs.tabMisc); line
saying
"The Method setCreativeTab(CreativeTabs) is undefined for the type ItemFireGem"
yet when I put this in it is totally fine,
this.setTabToDisplayOn(CreativeTabs.tabMisc);
yet neither get the item to show :/
Okay for some reason, after putting all of the correct files into the jars folder, and running the decompile.bat (I have used MCP before but it was back in minecraft 1.7.3) When i go into the eclipse folder in mcp, I find .metadata, Client and Server, in Client I don't find an src folder, instead I find: .settings, bin, .classpath and .project, am I doing something wrong!?
Okay for some reason, after putting all of the correct files into the jars folder, and running the decompile.bat (I have used MCP before but it was back in minecraft 1.7.3) When i go into the eclipse folder in mcp, I find .metadata, Client and Server, in Client I don't find an src folder, instead I find: .settings, bin, .classpath and .project, am I doing something wrong!?
You need to open up eclipse, and then set your workspace to the eclipse folder in MCP
package net.minecraft.src;
import java.util.Random;
public class ItemFireGem extends Item
{
public ItemFireGem(int i)
{
super(i);
maxStackSize = 64;
this.setCreativeTab(CreativeTabs.tabMisc);
}
public String Version()
{
return "3.14159265";
}
}
thats what I have in there atm
its at this.setCreativeTab(CreativeTabs.tabMisc);
that i get an error, though it doesnt prevent the game from starting im not sure if it affects anything..
I don't even know, entities are very messed up right now.
What do you mean export?
I would but entities are a big problematic right now, and that means that bow and arrows will crash the game. I'm working on this though.
What do you mean where do you get it? You make a new class titles mod_*** *** being your mod name.
Swords are bit different, this tutorial is for simple items. Watch theinstitutions videos on youtube. They will show you have to make a new toolset from scratch.
Check out my Minecraft Modding Tutorials!
mod_*** File
(i copied it and pasted it on notepad so some may be wrong)
so i hope this helps...
em..What?
Check out my Minecraft Modding Tutorials!
Try to refresh the page, it might be a problem with the spoiler boxes.
Check out my Minecraft Modding Tutorials!
Will this change at all when Mod API comes along?
I'll put that on the list of future tutorials I'll probably do that one soon.
Lol, and of course. This is only for ModLoader. I don't know what they'll have in store for us when the API comes out
Check out my Minecraft Modding Tutorials!
It gives me some error at the this.setCreativeTab(CreativeTabs.tabMisc); line
saying
"The Method setCreativeTab(CreativeTabs) is undefined for the type ItemFireGem"
yet when I put this in it is totally fine,
this.setTabToDisplayOn(CreativeTabs.tabMisc);
yet neither get the item to show :/
Yes, you need this
in your public void load method. Now look in the Materials tab in the creative inventory
Check out my Minecraft Modding Tutorials!
Check out my Minecraft Modding Tutorials!
still nothing, same error too
paste your mod_ file.
You need to open up eclipse, and then set your workspace to the eclipse folder in MCP
Check out my Minecraft Modding Tutorials!
how would I go about that? (I never had a reason to..) DropBox?
copy and paste the whole file here, in between code brackets. [code'] [/code'] minus the apostrophes
Check out my Minecraft Modding Tutorials!
oh okay
try putting ".setTabToDisplayOn(CreativeTabs.tabMisc);" in your item initiations, like so:
This should work
Check out my Minecraft Modding Tutorials!
thats what I have in there atm
its at this.setCreativeTab(CreativeTabs.tabMisc);
that i get an error, though it doesnt prevent the game from starting im not sure if it affects anything..
Still nothing ._.
and still nothing ._. I dunno why it wont work for me