how do you fix the bug where all the tools you make are named after the last one for example all my tools are different but all named blood hoeurl=http://www.youtube.com/user/SCMowns2][/urljust a test
can you add how to add multiple creative tabs with DIFFERENT pics? because i copied it and pasted below
public static TabDevonsNewGemsMod tabYourTab = new TabDevonsNewGemsMod(CreativeTabs.getNextID(), "Blocks");
and changed tabYourTab to tabYourtab2 but it still has the sam picture and name
Is anyone else having issues modding for ModLoader in Eclipse for the new update? I finally got everything working and error-free in the code, but when running Minecraft, no items (vanilla or modded) show up in my hand and when I reobfuscate, nothing shows up in the reobf folder.
Has anyone else tried it and it worked? Maybe I just need to play around with it some more...
Hello!
When i try to open eclipse i get an error message: Failed to load the JNI shared library "C:\Program Files(x86)\Java\jdk1.7.0_25\bin\..\jre\bin\client\jmv.dll".
I have done the path correctly and done everything you said!
can you add how to add multiple creative tabs with DIFFERENT pics? because i copied it and pasted below
public static TabDevonsNewGemsMod tabYourTab = new TabDevonsNewGemsMod(CreativeTabs.getNextID(), "Blocks");
and changed tabYourTab to tabYourtab2 but it still has the sam picture and name
you don't need it's own class file for a tab, try this code - (Put it in the "preInit" statement...if you don't have that, just ask for the code)
public static CreativeTabs MoreBlocks = new CreativeTabs("MoreBlocks") {
public ItemStack getIconItemStack() {
return new ItemStack(BlockCryingObsidian, 1, 0);
}
};
i'm sure u can add more than one tab with this code, just change the name and stuff
public BlockUltimateTable(int id, Material par2Material) {
super(id, par2Material);
setCreativeTab(CreativeTabs.tabDecorations); //place in creative tabs
}
//texture the block (Not sure if it's required)
}
I am not sure what i am doing wrong but it's not working, The block is showing up in the creative inventory under "Deco"
If any of you skilled coders out there know what to do, Please help me
Make a new tutorial on how to make a mod for 1.6.1!
This, please, SCMowns. We're all completely lost and helpless. And I'm actually not being facetious. I have no idea what I'm doing with all these new folders, lol
TXX59, for the *cough*, just highlight what you want as the link, go up to the hyperlink button on the post editor, and paste in your link.
Wait, so you are saying that you don't want your block to appear under the Decorations tab or what? I don't understand what you are saying at that part.
I want the block to show up in the creative inventory
The only thing i need help with is why my shapeless crafting recipe isnt working i have everything set up the way it should be.
I'll never be able to do this XD
public static TabDevonsNewGemsMod tabYourTab = new TabDevonsNewGemsMod(CreativeTabs.getNextID(), "Blocks");
and changed tabYourTab to tabYourtab2 but it still has the sam picture and name
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumHas anyone else tried it and it worked? Maybe I just need to play around with it some more...
I'm also known as TANNAR in some places.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumtry 32 bit eclipse
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumyou don't need it's own class file for a tab, try this code - (Put it in the "preInit" statement...if you don't have that, just ask for the code)
public static CreativeTabs MoreBlocks = new CreativeTabs("MoreBlocks") { public ItemStack getIconItemStack() { return new ItemStack(BlockCryingObsidian, 1, 0); } };i'm sure u can add more than one tab with this code, just change the name and stuff
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
*cough* lol
It's just not recommended yet. I'm assuming it's because of bug testing or something like that. Who needs bug testing?? Bugs are fun!
I'm also known as TANNAR in some places.
Here is my main class and block class
Main Class:
/*
* Basic importing
*/
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
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;
/*
* Basic needed forge stuff
*/
@Mod(modid="UltimateTable",name="UltimateTable",version="v1")
@NetworkMod(clientSideRequired=true,serverSideRequired=false)
public class UltimateTable {
/*
* ToolMaterial
*/
//Telling forge that we are creating these
public static Block UltimateTable;
//Declaring Init
@Init
public void load(FMLInitializationEvent event){
// define items/blocks
UltimateTable = new BlockUltimateTable(2013, Material.rock).setUnlocalizedName("ultimateBlock")
.setHardness(2.0F).setStepSound(Block.soundMetalFootstep).setResistance(10.0F);
//adding names
GameRegistry.registerBlock(UltimateTable, "ultimateTable");
LanguageRegistry.addName(UltimateTable, "UltimateTable");
//crafting
GameRegistry.addShapelessRecipe(new ItemStack(UltimateTable,1), new Object[]{ Block.workbench, Block.furnaceIdle, Block.anvil, Block.enchantmentTable, Block.enderChest, Block.chest, Block.brewingStand, Block.jukebox });
}
}
And my Block class:
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
public class BlockUltimateTable extends Block
{
public BlockUltimateTable(int id, Material par2Material) {
super(id, par2Material);
setCreativeTab(CreativeTabs.tabDecorations); //place in creative tabs
}
//texture the block (Not sure if it's required)
}
I am not sure what i am doing wrong but it's not working, The block is showing up in the creative inventory under "Deco"
If any of you skilled coders out there know what to do, Please help me
This, please, SCMowns. We're all completely lost and helpless. And I'm actually not being facetious. I have no idea what I'm doing with all these new folders, lol
TXX59, for the *cough*, just highlight what you want as the link, go up to the hyperlink button on the post editor, and paste in your link.
I'm also known as TANNAR in some places.
I want the block to show up in the creative inventory
The only thing i need help with is why my shapeless crafting recipe isnt working i have everything set up the way it should be.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumit should be in the decor tab, since you have "setCreativeTab(CreativeTabs.tabDecorations);" in the block class
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
I already got that added, I just need help with my shapeless recipe and why it isnt working.
Try this by your crafting section:
GameRegistry.addShapelessRecipe(new ItemStack(UltimateTable,1), new Object[]
{ Block.Workbench, Block.Furnace, Block.Anvil, Block.EnchantmentTable, Block.EnderChest, Block.Chest, Block.BrewingStand, Block.JukeBox });
Umm it says http://i.imgur.com/B....../BiTKwBs.png think you cant have it in a capitial letter infront.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumbecause the block names aren't capitalized
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
what you mean block names aren't capitalized?
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumin ur code, all of the block names have upper case letters, they shouldn't...
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist