Mrgreen33gamer's [1.6.1\1.6.2\1.6.4\]Forge/ModLoader Modding Tutorials
Poll: Is helpful
Ended Feb 16, 2015
Poll: Do you want to make Bukkit Plugins
Ended Feb 16, 2015
Poll: Forge Dimension?
Ended Feb 16, 2015
Ended Feb 16, 2015
Ended Feb 16, 2015
Ended Feb 16, 2015
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumthats why i help people
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumHave not got there yet. Sorry
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumPlease forgive me i have not got to that point yet, Your using Forge right?. Oh here is an idea, make the gun Rare, like add rare materials to the recipe, like diamonds and emeralds.
Thanks for the notice.
I am having a problem with achievement's I can't connect them,and when I put it in Public String it doesn't work :/. Here is my whole modding thing(key:(thing)=My item or achievement,BOLD with Underline = my problems for this post,Italic = part of achievement but not problem,BOLD with Underline with Italic = I can't connect them problem):
package net.minecraft.src;
import java.util.Random;
public class mod_(My Mod) extends BaseMod
{
//Pickaxe
public static final Item (Thing)Pick = new ItemPickaxe(2102, EnumToolMaterial.(thing)).setUnlocalizedName("(thing)Pick").setCreativeTab(CreativeTabs.tabTools);
//(thing)
public static final Item (thing) = new Item(thing)(2085).setUnlocalizedName("(thing)").setCreativeTab(CreativeTabs.tabTools);
//(thing) Sword
public static final Item (thing)Sword = new ItemSword(3077, EnumToolMaterial.(thing)).setUnlocalizedName("(thing)Sword").setCreativeTab(CreativeTabs.tabCombat);
//(thing) Axe
public static final Item (thing)Axe = new ItemAxe(2096, EnumToolMaterial.(thing)).setUnlocalizedName("(thing)Axe").setCreativeTab(CreativeTabs.tabTools);
//(thing) Hoe
public static final Item (thing)Hoe = new ItemHoe(2107, EnumToolMaterial.(thing)).setUnlocalizedName("(thing)Hoe").setCreativeTab(CreativeTabs.tabTools);
//(thing) Spade
public static final Item (thing)Shovel = new ItemSpade(2099, EnumToolMaterial.(thing)).setUnlocalizedName("(thing)Shovel").setCreativeTab(CreativeTabs.tabTools);
//Food
public static final Item (thing) = new ItemFood(5000, 4, 4F, true).setUnlocalizedName("(thing)").setCreativeTab(CreativeTabs.tabFood);
public static final Item (thing) = new ItemFood(5001, 8, 7F, true).setUnlocalizedName("(thing)").setCreativeTab(CreativeTabs.tabFood);
public static final Item (thing) = new ItemFood(5002, 4, 5F, true).setUnlocalizedName("(thing)").setCreativeTab(CreativeTabs.tabFood);
public static final Item (thing) = new ItemFood(5003, 4, 5F, true).setUnlocalizedName("(thing)").setCreativeTab(CreativeTabs.tabFood);
public static final Item (thing) = new ItemFood(5004, 4, 5F, true).setUnlocalizedName("(thing)").setCreativeTab(CreativeTabs.tabFood);
//Biome
public static final BiomeGenBase (thing)Biome = (new BiomeGen(thing)Biome(25)).setColor(0xef213e).setBiomeName("(thing) " +
"Biome");
//Achievements
public static final Achievement (thing) = (new Achievement(5401, "(thing)", 10, 14, mod_dog.(thing), null)).registerAchievement();
public static final Achievement (thing) = (new Achievement(5404, "(thing)", 10, 12, mod_dog.(thing), null)).registerAchievement();
public static final Achievement (thing) = (new Achievement(5403, "(thing)", 6, 16, mod_dog.(thing), (Achievement)null)).setSpecial().setIndependent().registerAchievement();
public static final Achievement (thing)= (new Achievement(5402, "(thing)", 8, 14, mod_dog.(thing), (Achievement)null)).setSpecial().setIndependent().registerAchievement();
public void load()
{
//Mod Item's:
//(thing) Setup
ModLoader.addName((thing), "(thing)");
ModLoader.addRecipe(new ItemStack((thing) , 1), new Object[] {"***", "***","***", '*', new ItemStack(Item.leather)});
//Food:
//(thing) Setup
ModLoader.addName((thing), "(thing)");
//(thing) Setup
ModLoader.addName((thing), "(thing)");
ModLoader.addRecipe(new ItemStack((thing), 6), new Object[] {" ", "#X#","###", 'X', new ItemStack(thing) , '#', item.(thing)});
//(thing) Setup
ModLoader.addName((thing), "(thing)");
ModLoader.addRecipe(new ItemStack((thing), 24), new Object[] {"***", "* *","###", '*', new ItemStack(Item.(thing)), '#', Item.(thing)});
//(thing) Setup
ModLoader.addName((thing), "(thing)");
ModLoader.addRecipe(new ItemStack((thing) , 24), new Object[] {"***", "* *","###", '*', new ItemStack(thing), '#', Item.(thing)});
//(thing) Setup
ModLoader.addName((thing), "(thing)");
//Achievement
ModLoader.addAchievementDesc((thing), "(thing)!You killed the (thing)!", "Kill the (thing) and pick up (thing) .");
ModLoader.addAchievementDesc((thing), "You made some yummy (thing)!", "Smelt (thing) .");
ModLoader.addAchievementDesc((thing), "(thing) Style", "
ModLoader.addAchievementDesc((thing), "(thing) Style", "Craft a (thing).....
//Smelting:
//IF SMELTING ITEM TO ITEM
ModLoader.addSmelting((thing).itemID, new ItemStack((thing) , 1), 3.0F);
//IF SMELTING BLOCK TO BLOCK
//Biome Setup
ModLoader.addBiome((thing) Biome);
//(thing) Sword Setup
ModLoader.addName((thing)Sword, "(thing) Sword");
ModLoader.addRecipe(new ItemStack((thing)Sword, 1), new Object[]
{
" * ", " * ", " X ",
'X', Item.stick, '*', (thing)
});
//(thing) Pickaxe Setup
ModLoader.addName((thing)Pick, "(thing) Pickaxe");
ModLoader.addRecipe(new ItemStack((thing)Pick, 1), new Object[]
{
"***", " X ", " X ",
'X', Item.stick, '*', (thing)
});
//(thing) Axe
ModLoader.addName((thing), "(thing) Axe");
ModLoader.addRecipe(new ItemStack((thing)Axe, 1), new Object[]
{
"**", " *X ", " X ",
'X', Item.stick, '*', (thing)
});
//(thing) Hoe
ModLoader.addName((thing)Hoe, "(thing) Hoe");
ModLoader.addRecipe(new ItemStack((thing)Hoe, 1), new Object[]
{
"** ", " X ", " X ",
'X', Item.stick, '*', (thing)
});
//(thing) Spade
ModLoader.addName((thing)Shovel, "(thing) Shovel");
ModLoader.addRecipe(new ItemStack((thing)Shovel, 1), new Object[]
{
"*", "X", "X",
'X', Item.stick, '*', (thing)
});}
public void onItemPickUp(EntityPlayer ep, ItemStack is){
if(is.itemID == mod_(thing).(thing).itemID){
ep.addStat((thing), 1);
}
}
public String getVersion()
{
public void onItemPickup(EntityPlayer ep, ItemStack is) {}
{
if(is.itemID == mod_(thing).(thing).itemID)
{
ep.addStat((thing), 1);
}
}
public void onItemPickup(EntityPlayer entityplayer1, ItemStack itemstack1);
{
if(itemstack1.itemID == mod_(thing).(thing).itemID)
{
entityplayer1.addStat((thing), 2);
}
}
return "3.14159265";
}
}
-
View User Profile
-
View Posts
-
Send Message
Curse Premium-
View User Profile
-
View Posts
-
Send Message
Curse Premium-
View User Profile
-
View Posts
-
Send Message
Curse Premium-
View User Profile
-
View Posts
-
Send Message
Curse PremiumDid not mean to post this, was trying to edit the QUOTE part. Sorry for the BUMP!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThanks!
-
View User Profile
-
View Posts
-
Send Message
Curse Premium-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI don't have a lot of time you know, but I'm working on it. I still have to finish building my website with PHP and HTML along with MySQL.
-
View User Profile
-
View Posts
-
Send Message
Curse Premium-
View User Profile
-
View Posts
-
Send Message
Curse Premium