ok, so i started over with the mod and it was going great, but in the Synitems class, i have amethyst, sapphire, ruby and opal, but only the amethyst texture is loading. i am 100% positive that the textures are in the correct 1.6.4.jar. if u want it, here is the code
ModTutorial.java
package Syn.Tutorial; //Package directory
/*
* Basic importing
*/
import net.minecraft.block.Block;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.EnumHelper;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import net.minecraft.creativetab.CreativeTabs;
/*
* Basic needed forge stuff
*/
@Mod(modid="Mo' Gems Mod",name="Mo' Gems Mod",version="v1.0")
@NetworkMod(clientSideRequired=true,serverSideRequired=false)
public class ModTutorial {
/*
* ToolMaterial
*/
//Telling forge that we are creating these
//items
public static Item amethyst;
public static Item sapphire;
public static Item ruby;
public static Item opal;
//tools
//Declaring Init
@Init
public void load(FMLInitializationEvent event){
// define items
amethyst = new Synitems(2000).setUnlocalizedName("amethyst");
sapphire = new Synitems(3000).setUnlocalizedName("sapphire");
ruby = new Synitems(4000).setUnlocalizedName("ruby");
opal = new Synitems(4500).setUnlocalizedName("opal");
public Synitems(int par1) {
super(par1); //Returns super constructor: par1 is ID
setCreativeTab(CreativeTabs.tabMaterials); }//Tells the game what creative mode tab it goes in
public void registerIcons(IconRegister reg) { // Make sure to import IconRegister!
if (itemID == ModTutorial.amethyst.itemID) {
this.itemIcon = reg.registerIcon("amethyst"); // You can also replace blockID and blockIcon with itemID and itemIcon
if (itemID == ModTutorial.sapphire.itemID) {
this.itemIcon = reg.registerIcon("sapphire"); // You can also replace blockID and blockIcon with itemID and itemIcon
if (itemID == ModTutorial.ruby.itemID) {
this.itemIcon = reg.registerIcon("ruby"); // You can also replace blockID and blockIcon with itemID and itemIcon
if (itemID == ModTutorial.opal.itemID) {
this.itemIcon = reg.registerIcon("opal"); // You can also replace blockID and blockIcon with itemID and itemIcon
}
ok, so that didnt work, any ways, im getting errors trying to add a saphire block, i have the SaphireBlock.class, but i keep getting errors. can u plz help
hi synasonic!!!! i see in your modding tutorials you use camtasia studio 8. I use that too but it lags minecraft too much. do you use a different recorder or what. Plz answer and quote it so i know ur talking to me. Thx!!!!!
Y is my cape just white in the forge version and in the non-forge version I have my custom cape. Is it supposed to be like that? Did u fix it and I don't know? If so I can just get it again.
Can you plzzz bring back mods from early versions of minecraft? Like Too Many Items for minecraft beta. Cuz with the new launcher you can play old minecraft versions and I would like to mod them. Same for forge developers. Minecraft Forge for older minecraft versions. I under stand I could be a bit of a hassle maby. But it would be really cool if you would. I think a lot of other people would like it too. Thank you, MrBubbles
I just made a minigame called, Spleef The Beast! Your goal is to defeat the boss and his minions by spleefing them. Further rules are in the map. I'm sorry there isn't any pics, I don't know how to add them. (help in the comments is appreciated ) Anyway, I hope it's appealing to you if you're looking for a minigame. Here's the download!
0
0
I just finished making a mod called the Mo' Gems Mod!
this mod adds well... More Gems!!
GEMS
rrr
rrr = rb
sss
sss = sb
aaa
aaa = ab
BUGS
DOWNLOADS
Mo' Gems Mod
http://www.mediafire.com/download/78a5k1yfqdy0x8k/Syn.zip
Minecraft Forge
http://files.minecraftforge.net/
0
ModTutorial.java
package Syn.Tutorial; //Package directory
/*
* Basic importing
*/
import net.minecraft.block.Block;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.EnumHelper;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import net.minecraft.creativetab.CreativeTabs;
/*
* Basic needed forge stuff
*/
@Mod(modid="Mo' Gems Mod",name="Mo' Gems Mod",version="v1.0")
@NetworkMod(clientSideRequired=true,serverSideRequired=false)
public class ModTutorial {
/*
* ToolMaterial
*/
//Telling forge that we are creating these
//items
public static Item amethyst;
public static Item sapphire;
public static Item ruby;
public static Item opal;
//tools
//Declaring Init
@Init
public void load(FMLInitializationEvent event){
// define items
amethyst = new Synitems(2000).setUnlocalizedName("amethyst");
sapphire = new Synitems(3000).setUnlocalizedName("sapphire");
ruby = new Synitems(4000).setUnlocalizedName("ruby");
opal = new Synitems(4500).setUnlocalizedName("opal");
// define blocks
//adding names
//items
LanguageRegistry.addName(amethyst, "Amethyst");
LanguageRegistry.addName(sapphire, "Sapphire");
LanguageRegistry.addName(ruby, "Ruby");
LanguageRegistry.addName(opal, "Opal");
//blocks
//crafting
//creative tab(s)
}
}
Synitems.java
package Syn.Tutorial;
import net.minecraft.item.Item;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.*;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
public class Synitems extends Item {
public Synitems(int par1) {
super(par1); //Returns super constructor: par1 is ID
setCreativeTab(CreativeTabs.tabMaterials); }//Tells the game what creative mode tab it goes in
public void registerIcons(IconRegister reg) { // Make sure to import IconRegister!
if (itemID == ModTutorial.amethyst.itemID) {
this.itemIcon = reg.registerIcon("amethyst"); // You can also replace blockID and blockIcon with itemID and itemIcon
if (itemID == ModTutorial.sapphire.itemID) {
this.itemIcon = reg.registerIcon("sapphire"); // You can also replace blockID and blockIcon with itemID and itemIcon
if (itemID == ModTutorial.ruby.itemID) {
this.itemIcon = reg.registerIcon("ruby"); // You can also replace blockID and blockIcon with itemID and itemIcon
if (itemID == ModTutorial.opal.itemID) {
this.itemIcon = reg.registerIcon("opal"); // You can also replace blockID and blockIcon with itemID and itemIcon
}
}
}
}
}
}
0
0
i hope the video worked, plz make a response video
0
ok, thx, i use a windows 8 laptop with 4 gigs of RAM so that might be the case, but ill check the settings too.
0
0
Bubble Crew FTW!!!
0
0
0
0
Can you plzzz bring back mods from early versions of minecraft? Like Too Many Items for minecraft beta. Cuz with the new launcher you can play old minecraft versions and I would like to mod them. Same for forge developers. Minecraft Forge for older minecraft versions. I under stand I could be a bit of a hassle maby. But it would be really cool if you would. I think a lot of other people would like it too.
Thank you,
MrBubbles
0
I just made a minigame called, Spleef The Beast! Your goal is to defeat the boss and his minions by spleefing them. Further rules are in the map. I'm sorry there isn't any pics, I don't know how to add them. (help in the comments is appreciated ) Anyway, I hope it's appealing to you if you're looking for a minigame. Here's the download!
Get it here
0