== MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) ==
"scalac" is not found on the PATH. Scala files will not be recompiled
FATAL ERROR
Traceback (most recent call last):
File "runtime\recompile.py", line 29, in recompile
commands = Commands(conffile, verify=True)
File "C:\Documents and Settings\Tanzina\Desktop\MidNightMod\runtime\commands.p
y", line 202, in __init__
self.readcommands(verify, no_patch=no_patch)
File "C:\Documents and Settings\Tanzina\Desktop\MidNightMod\runtime\commands.p
y", line 292, in readcommands
error=False)
File "C:\Documents and Settings\Tanzina\Desktop\MidNightMod\runtime\commands.p
y", line 211, in checkcommand
output = output.splitlines()[0]
IndexError: list index out of range
Press any key to continue . . .
You will also need to make an assets folder in your src, then inside that a folder with the same name as your mod ID, only all lowercase, and inside another folder named textures, then two folders named blocks and items. You can put your textures inside those two as well.
NOTE:
1. When converting your mod into a reobfuscated zipfile, you will need to rename your '-modid-' folder to minecraft.
2. If any of your package names and textures have a capital letter, Minecraft will simply ignore them.
That helped me a lot thank you but I just have one problem I did everything you told me for some reason it still doesn't work do you know what I can do to fix this.
== MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) ==
"scalac" is not found on the PATH. Scala files will not be recompiled
FATAL ERROR
Traceback (most recent call last):
File "runtime\recompile.py", line 29, in recompile
commands = Commands(conffile, verify=True)
File "C:\Documents and Settings\Tanzina\Desktop\MidNightMod\runtime\commands.p
y", line 202, in __init__
self.readcommands(verify, no_patch=no_patch)
File "C:\Documents and Settings\Tanzina\Desktop\MidNightMod\runtime\commands.p
y", line 292, in readcommands
error=False)
File "C:\Documents and Settings\Tanzina\Desktop\MidNightMod\runtime\commands.p
y", line 211, in checkcommand
output = output.splitlines()[0]
IndexError: list index out of range
Press any key to continue . . .
Steven! y u no make alot of Forge tutorials. By the way, I would much rather Quantity over Quality. As long as I can understand you clearly I don't really care about anything else. Oh and of course the Video Quality. I don't really care about anything else :l
I think SCMowns should just forget about modloader(He should only do update videos) and teach us Forge. I really think Forge brings out Java's actual flexibility and usability, but ModLoader masks so much and your limited in ModLoader.
So Yeah I really think he should just drop the ModLoader and focus on making Forge videos. I think everyone can agree.
Steven, can you make the Episode for GUI soon? Ism working on two mods at the time and both require GUI. And if it isn't too much, the episodes for food, throwable items, and music discs soon too?
Steven, can you make the Episode for GUI soon? Ism working on two mods at the time and both require GUI. And if it isn't too much, the episodes for food, throwable items, and music discs soon too?
//Declaring Init
@Init
public void load(FMLInitializationEvent event){
// define items/blocks
TopazBlock= new TopazBlock(3608,"TopazBlock").setUnlocalizedName("Topaz Block").setHardness(2.0F).setStepSound(Block.soundMetalFootstep).setResistance(10.0F);
GameRegistry.registerBlock(TopazBlock, "TopazBlock");
LanguageRegistry.addName(TopazBlock, "Topaz Block");
topaz = new GemItems(2013).setUnlocalizedName("Topaz");
//adding names
LanguageRegistry.addName(topaz, "Topaz Gem");
//crafting
}
What Am i Doing Wrong here every other class has no errors but my main one which is this one?The Error is aroung the FMLInitinialization and the mod id name and version? thanks for the help im slowly learning java lol
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
== MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) ==
"scalac" is not found on the PATH. Scala files will not be recompiled
FATAL ERROR
Traceback (most recent call last):
File "runtime\recompile.py", line 29, in recompile
commands = Commands(conffile, verify=True)
File "C:\Documents and Settings\Tanzina\Desktop\MidNightMod\runtime\commands.p
y", line 202, in __init__
self.readcommands(verify, no_patch=no_patch)
File "C:\Documents and Settings\Tanzina\Desktop\MidNightMod\runtime\commands.p
y", line 292, in readcommands
error=False)
File "C:\Documents and Settings\Tanzina\Desktop\MidNightMod\runtime\commands.p
y", line 211, in checkcommand
output = output.splitlines()[0]
IndexError: list index out of range
Press any key to continue . . .
That helped me a lot thank you but I just have one problem I did everything you told me for some reason it still doesn't work do you know what I can do to fix this.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumdo you have a ore generation in your mod?
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
Hi there
Dude can you give me them if you don't want them. I can totally Use them!
Nice texturing btw you deserve some
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumu can...my mod has a new biome...
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
So Yeah I really think he should just drop the ModLoader and focus on making Forge videos. I think everyone can agree.
+1 for you as well, my friend!
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumfood isn't that hard...
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
(hopefully for forge!)
yo can i get a copy of the 2 mobs i can use them in some mods im workinhg on
The game test keeps on crashing but with no errors. The IDs ranges for 900 to 2000.
Please help.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumDo you have ore generation?
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
/*
* 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;
/*
* Basic needed forge stuff
*/
@Mod(modid="DPwnzz",name="My Test Mod",version="v1")
@NetworkMod(clientSideRequired=true,serverSideRequired=false)
public class DPwnzz {
/*
* ToolMaterial
*/
//Telling forge that we are creating these
import net.minecraft.block.Block;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
public static Block TopazBlock
public static Item topaz}
//Declaring Init
@Init
public void load(FMLInitializationEvent event){
// define items/blocks
TopazBlock= new TopazBlock(3608,"TopazBlock").setUnlocalizedName("Topaz Block").setHardness(2.0F).setStepSound(Block.soundMetalFootstep).setResistance(10.0F);
GameRegistry.registerBlock(TopazBlock, "TopazBlock");
LanguageRegistry.addName(TopazBlock, "Topaz Block");
topaz = new GemItems(2013).setUnlocalizedName("Topaz");
//adding names
LanguageRegistry.addName(topaz, "Topaz Gem");
//crafting
}
What Am i Doing Wrong here every other class has no errors but my main one which is this one?The Error is aroung the FMLInitinialization and the mod id name and version? thanks for the help im slowly learning java lol