package net.minecraft.src;
import java.util.Random;
public class mod_minecraft extends BaseMod
{
public static final Item yellowGem = new ItemYellowGem(3001).setUnlocalizedName("yellowgem");
public void load()
{
ModLoader.addName(yellowGem, "Yellow Gem");
}
public String getVersion()
{
return "3.14159265";
}
}
package net.minecraft.src;
import java.util.Random;
public class ItemYellowGem extends Item
{
public ItemYellowGem(int i)
{
super(i);
maxStackSize = 10;
}
public String Version()
{
return "3.14159265";
}
}
This is my code using .setUnlocalizedName. I could start minecraft on eclipse perfectly but i can't find my item. I even tried using the command to spawn it but it still doesnt work
package net.minecraft.src;
import java.util.Random;
public class mod_minecraft extends BaseMod
{
public static final Item yellowGem = new ItemYellowGem(3001).setUnlocalizedName("yellowgem");
public void load()
{
ModLoader.addName(yellowGem, "Yellow Gem");
}
public String getVersion()
{
return "3.14159265";
}
}
package net.minecraft.src;
import java.util.Random;
public class ItemYellowGem extends Item
{
public ItemYellowGem(int i)
{
super(i);
maxStackSize = 10;
}
public String Version()
{
return "3.14159265";
}
}
This is my code using .setUnlocalizedName. I could start minecraft on eclipse perfectly but i can't find my item. I even tried using the command to spawn it but it still doesnt work
0
The folder is in yourmoddingfolder/bin/minecraft/textures/item
If you are using eclipse then yourmoddingfolder/eclipse/client/bin/textures/items
---------------------------------------------------------------------------------------------------------------------------------------------------
Can someone help me fix why it says there is no block id when i use .setunlocalizedname
0
This is my code using .setUnlocalizedName. I could start minecraft on eclipse perfectly but i can't find my item. I even tried using the command to spawn it but it still doesnt work