I did what u said, and yes i used a clean minecraft.jar and minecraft_server.jar i've also installed the Modloader and Modloader MP Client to minecraft.jar and i installed Modloader MP Server to minecraft_server.jarbut after decompiling, MCP\bin\minecraft_server folder was empty so i executed the updatemd5.bat and when i started recompiling, it saids failed to recompile minecraft_server.jar
I did what u said, and yes i used a clean minecraft.jar and minecraft_server.jar i've also installed the Modloader and Modloader MP Client to minecraft.jar and i installed Modloader MP Server to minecraft_server.jarbut after decompiling, MCP\bin\minecraft_server folder was empty so i executed the updatemd5.bat and when i started recompiling, it saids failed to recompile minecraft_server.jar
Is this normal or something is wrong?
It's very normal and I talk about this in the third tip how to correct this error. You are the second, so I think I'll make this correction tutorial more visible. Thanks !!
I really gotta know how to make the sapling bone-meal-able :3
Rollback Post to RevisionRollBack
Eons ago, there was only void. Then came the big bang. Voxels colliding with voxels, cubes with cubes. Blocks were forming, each texture unique from the rest. That was when our universe was born.
public boolean renderAsNoarmalBlock()
{
return false;
}
It says Noarmal
Must me Normal
sorry if this comes off as bragging, but the newbies will complain about errors if it isn't fixed
Rollback Post to RevisionRollBack
Eons ago, there was only void. Then came the big bang. Voxels colliding with voxels, cubes with cubes. Blocks were forming, each texture unique from the rest. That was when our universe was born.
Eons ago, there was only void. Then came the big bang. Voxels colliding with voxels, cubes with cubes. Blocks were forming, each texture unique from the rest. That was when our universe was born.
So I built my first block and I wanted to see if it would work before adding things such as its generation. (To make sure I didn't make a mistake prior to the generation). Minecraft loaded up fine and all so I decided to open a creative game to test my newly created block. The game loaded fine, but upon opening my inventory I received this error:
java.lang.NoClassDefFoundError: net/minecraft/src/ContainerCreative
at net.minecraft.src.GuiInventory.initGui(GuiInventory.java:47)
at net.minecraft.src.GuiScreen.setWorldAndResolution(GuiScreen.java:145)
at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:699)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1806)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:870)
at net.minecraft.client.Minecraft.run(Minecraft.java:801)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: net.minecraft.src.ContainerCreative
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more
Stopping!
SoundSystem shutting down...
Author: Paul Lamb, www.paulscode.com
Exception in thread "Minecraft main thread" java.lang.NoClassDefFoundError: net/minecraft/src/CanvasMojangLogo
at net.minecraft.src.MinecraftImpl.displayUnexpectedThrowable(MinecraftImpl.java:24)
at net.minecraft.client.Minecraft.onMinecraftCrash(Minecraft.java:328)
at net.minecraft.client.Minecraft.run(Minecraft.java:822)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: net.minecraft.src.CanvasMojangLogo
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 4 more
Im not sure if its simply because you cannot use creative mode in Eclipse or if I messed up somewhere along the way. Any advice would be appreciated as I don't want to continue to find out I screwed up from the very start and need to continue. Thanks
public class mod_Naruto extends BaseModMp
{
public static final Item Chakra = (new ItemSword(17000, EnumToolMaterial.WOOD).setIconIndex(ModLoader.addOverride("/gui/items.png", "/chakra.png")).setItemName("Chakra"));
public static final Item Rasengan = (new ItemSword(16753, EnumToolMaterial.IRON).setIconIndex(ModLoader.addOverride("/gui/items.png", "/rasengan.png")).setItemName("Rasengan"));
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT f33297f9 --------
Generated 28/06/12 14:49
Minecraft: Minecraft 1.2.5
OS: Windows 7 (x86) version 6.1
Java: 1.7.0_04, Oracle Corporation
VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: Intel(R) HD Graphics Family version 3.0.0 - Build 8.15.10.2342, Intel
java.lang.NullPointerException
at aan.<init>(SourceFile:50)
at mod_Naruto.load(mod_Naruto.java:52)
at ModLoader.init(ModLoader.java:891)
at ModLoader.addAllRenderers(ModLoader.java:189)
at ahu.<init>(RenderManager.java:86)
at ahu.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(Minecraft.java:394)
at net.minecraft.client.Minecraft.run(Minecraft.java:732)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 14a6acc0 ----------
I cannot figure out how, on the armor tutorial, how do I texture the armor when you wear it?
-DM
Rollback Post to RevisionRollBack
Eons ago, there was only void. Then came the big bang. Voxels colliding with voxels, cubes with cubes. Blocks were forming, each texture unique from the rest. That was when our universe was born.
I do not see this src/net.minecraft.server/minecraftserver.java in my server folder i cannot find minecraftserver.java anywhere except to run the server program Please Help
public class mod_adminiumore extends BaseModMp
{
public static final Block AdminiumOre = (new BlockAdminiumOre (200, ModLoader.addOverride("/terrain.png", "/mods/167.png")).setHardness(0.2F).setBlockName("Adminium Ore").setStepSound(Block.soundWoodFootstep).setLightValue(1.0F));
public void load()
{
ModLoader.registerBlock(Adminium Ore);
ModLoader.addName(Adminium Ore, "Block");
}
src\minecraft\net\minecraft\src\BlockTele.java:26: cannot find symbol
symbol : variable mod_Tele
location: class net.minecraft.src.BlockTele
return mod_Tele.TeleTop;
^
src\minecraft\net\minecraft\src\BlockTele.java:30: cannot find symbol
symbol : variable mod_Tele
location: class net.minecraft.src.BlockTele
return mod_Tele.TeleBottom;
^
here's my code for BlockTele:
package net.minecraft.src;
public class BlockTele extends Block
{
protected BlockTele(int par1, int par2)
{
super(par1, par2, Material.rock);
this.setCreativeTab(CreativeTabs.tabBlock);
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.1875F, 1.0F);
}
public boolean renderAsNormalBlock()
{
return false;
}
public boolean isOpaqueCube()
{
return false;
}
public int getBlockTextureFromSide(int i)
{
if(i==1)
{
return mod_Tele.TeleTop;
}
if(i==0)
{
return mod_Tele.TeleBottom;
}else
{
return blockIndexInTexture;
}
}
}
and mod_Tele:
package net.minecraft.src;
public class mod_Tele extends BaseMod
{
public static final Block tele = new BlockTele(140,Modloader.addOverride("/terrain.png", "/teleside.png")).setHardness(3.0F).setResistance(20.0F).setBlockName("telepad")
public static int TeleTop;
public static int TeleBottom;
public String Version()
{
return "1.3.1";
}
public void load()
{
ModLoader.RegisterBlock(tele);
TeleTop = Modloader.addOverride("/terrain.png", "/teletop.png");
TeleBottom = Modloader.addOverride("/terrain.png", "/telebottom.png");
ModLoader.AddName(tele, "Teleport Pad");
ModLoader.AddRecipe(new ItemStack(tele,4), new Object[] {"X#X", "#O#", "X#X", Character.valueOf('X'), Item.diamond, Character.valueOf('#'), Item.clay, Character.valueOf('O'), Block.blockGold }));
}
}
Looks like an interesting guide. I've been thinking about learning some coding myself.
Rollback Post to RevisionRollBack
To all of you people who think Notch is still working on the game, he stopped working on Minecraft in late 2011. Get your facts straight and stop spamming his twitter about Minecraft updates.
I've made a block but when I run minecraft it crashes from an error.
Here is my coding for the block:
public static final Block MoxTop = (new MoxTop(200, ModLoader.addOverride("/terrain.png", "/blocks/moxtop.png")).setHardness(1.0F).setResistance(0.5F).setBlockName("MoxTop").setStepSound(Block.soundGrassFootstep).setCreativeTab(CreativeTabs.tabBlock));
But when I run it I get this error:
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Exception occured in ModLoader
This error has been saved to C:\Users\The Dude\Desktop\The Folder Of Everything\Games\Minecraft\Singleplayer\Mod Making Packs\The Moxon\jars\.\crash-reports\crash-2012-10-10_17.07.29-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.
--- BEGIN ERROR REPORT fac83033 --------
Generated 10/10/12 5:07 PM
- Minecraft Version: 1.3.2
- Operating System: Windows Vista (x86) version 6.0
- Java Version: 1.7.0_07, Oracle Corporation
- Java VM Version: Java HotSpotâ„¢ Client VM (mixed mode), Oracle Corporation
- Memory: 993729392 bytes (947 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
- JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
- ModLoader: Mods loaded: 2
ModLoader 1.3.2
mod_Moxon The Moxon By ReclaimerDiamond
java.lang.Exception: No registry for this texture: terrain.png
at net.minecraft.src.ModLoader.getUniqueSpriteIndex(ModLoader.java:773)
at net.minecraft.src.ModLoader.addOverride(ModLoader.java:457)
at net.minecraft.src.mod_Moxon.load(mod_Moxon.java:45)
at net.minecraft.src.ModLoader.init(ModLoader.java:952)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:186)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:86)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:404)
at net.minecraft.client.Minecraft.run(Minecraft.java:724)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT bb6f24ce ----------
Is this normal or something is wrong?
It's very normal and I talk about this in the third tip how to correct this error. You are the second, so I think I'll make this correction tutorial more visible. Thanks !!
It says Noarmal
Must me Normal
sorry if this comes off as bragging, but the newbies will complain about errors if it isn't fixed
haha it's ok, thank you for letting me know about the error.
Hopefully that works... ^^
Im not sure if its simply because you cannot use creative mode in Eclipse or if I messed up somewhere along the way. Any advice would be appreciated as I don't want to continue to find out I screwed up from the very start and need to continue. Thanks
CODE:
package net.minecraft.src;
import java.util.Map;
public class mod_Naruto extends BaseModMp
{
public static final Item Chakra = (new ItemSword(17000, EnumToolMaterial.WOOD).setIconIndex(ModLoader.addOverride("/gui/items.png", "/chakra.png")).setItemName("Chakra"));
public static final Item Rasengan = (new ItemSword(16753, EnumToolMaterial.IRON).setIconIndex(ModLoader.addOverride("/gui/items.png", "/rasengan.png")).setItemName("Rasengan"));
public mod_Naruto()
{
ModLoader.registerEntityID(net.minecraft.src.EntityNaruto.class, "Naruto", 122);
ModLoader.addSpawn(net.minecraft.src.EntityNaruto.class, 50, 5, 7, EnumCreatureType.creature);
ModLoader.registerEntityID(net.minecraft.src.EntitySakura.class, "Sakura", 123);
ModLoader.addSpawn(net.minecraft.src.EntitySakura.class, 50, 5, 7, EnumCreatureType.creature);
ModLoader.registerEntityID(net.minecraft.src.EntitySasuke.class, "Sasuke", 125);
ModLoader.addSpawn(net.minecraft.src.EntitySasuke.class, 1, 1, 1, EnumCreatureType.creature);
ModLoader.registerEntityID(net.minecraft.src.EntityKakashi.class, "Kakashi", 126);
ModLoader.addSpawn(net.minecraft.src.EntityKakashi.class, 50, 5, 7, EnumCreatureType.creature);
ModLoader.registerEntityID(net.minecraft.src.EntityDeidara.class, "Deidara", 127);
ModLoader.addSpawn(net.minecraft.src.EntityDeidara.class, 30, 3, 3, EnumCreatureType.monster);
ModLoader.registerEntityID(net.minecraft.src.EntityMadara.class, "Madara", 128);
ModLoader.addSpawn(net.minecraft.src.EntityMadara.class, 1, 1, 1, EnumCreatureType.monster, new BiomeGenBase[]
{
BiomeGenBase.sky
});
ModLoader.registerEntityID(net.minecraft.src.EntityMinato.class, "Minato", 129);
ModLoader.addSpawn(net.minecraft.src.EntityMinato.class, 1, 1, 1, EnumCreatureType.creature, new BiomeGenBase[]
{
BiomeGenBase.sky
});
}
public void addRenderer(Map map)
{
map.put(net.minecraft.src.EntityNaruto.class, new RenderBiped(new ModelBiped(), 0.5F));
map.put(net.minecraft.src.EntitySakura.class, new RenderBiped(new ModelBiped(), 0.5F));
map.put(net.minecraft.src.EntityKakashi.class, new RenderBiped(new ModelBiped(), 0.5F));
map.put(net.minecraft.src.EntitySasuke.class, new RenderBiped(new ModelBiped(), 0.5F));
map.put(net.minecraft.src.EntityDeidara.class, new RenderBiped(new ModelBiped(), 0.5F));
map.put(net.minecraft.src.EntityMadara.class, new RenderBiped(new ModelBiped(), 0.5F));
map.put(net.minecraft.src.EntityMinato.class, new RenderBiped(new ModelBiped(), 0.5F));
}
public void load()
{
ModLoader.addName(Chakra, "Chakra");
ModLoader.addName(Rasengan, "Rasengan");
ModLoader.addRecipe(new ItemStack(Rasengan, 1), new Object [] {
"XXX", "XXX", "XXX", Character.valueOf('X'), Chakra });
ModLoader.addRecipe(new ItemStack (Item.Chakra, 1), (new Object[] {
" ", "XXX", " ", Character.valueOf('X'), Item.diamond }));
}
public String getVersion()
{
return "1.2.5";
}
}
Mods loaded: 4
ModLoader 1.2.5
mod_ModLoaderMp 1.2.5v1
mod_Naruto 1.2.5
mod_MinecraftForge 3.2.3.108
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT f33297f9 --------
Generated 28/06/12 14:49
Minecraft: Minecraft 1.2.5
OS: Windows 7 (x86) version 6.1
Java: 1.7.0_04, Oracle Corporation
VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: Intel(R) HD Graphics Family version 3.0.0 - Build 8.15.10.2342, Intel
java.lang.NullPointerException
at aan.<init>(SourceFile:50)
at mod_Naruto.load(mod_Naruto.java:52)
at ModLoader.init(ModLoader.java:891)
at ModLoader.addAllRenderers(ModLoader.java:189)
at ahu.<init>(RenderManager.java:86)
at ahu.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(Minecraft.java:394)
at net.minecraft.client.Minecraft.run(Minecraft.java:732)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 14a6acc0 ----------
-DM
Please Help
[ SPOILER ]
http://imgur.com/OiST6
[spoiler]
package net.minecraft.src;
import java.util.Random;
public class mod_adminiumore extends BaseModMp
{
public static final Block AdminiumOre = (new BlockAdminiumOre (200, ModLoader.addOverride("/terrain.png", "/mods/167.png")).setHardness(0.2F).setBlockName("Adminium Ore").setStepSound(Block.soundWoodFootstep).setLightValue(1.0F));
public void load()
{
ModLoader.registerBlock(Adminium Ore);
ModLoader.addName(Adminium Ore, "Block");
}
public String getVersion()
{
return "1.2.5 ";
}
}
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\BlockTele.java:26: cannot find symbol
symbol : variable mod_Tele
location: class net.minecraft.src.BlockTele
return mod_Tele.TeleTop;
^
src\minecraft\net\minecraft\src\BlockTele.java:30: cannot find symbol
symbol : variable mod_Tele
location: class net.minecraft.src.BlockTele
return mod_Tele.TeleBottom;
^
here's my code for BlockTele:
and mod_Tele:
What have I done wrong/forgot to add?
Here is my coding for the block:
public static final Block MoxTop = (new MoxTop(200, ModLoader.addOverride("/terrain.png", "/blocks/moxtop.png")).setHardness(1.0F).setResistance(0.5F).setBlockName("MoxTop").setStepSound(Block.soundGrassFootstep).setCreativeTab(CreativeTabs.tabBlock));
But when I run it I get this error:
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Exception occured in ModLoader
This error has been saved to C:\Users\The Dude\Desktop\The Folder Of Everything\Games\Minecraft\Singleplayer\Mod Making Packs\The Moxon\jars\.\crash-reports\crash-2012-10-10_17.07.29-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.
--- BEGIN ERROR REPORT fac83033 --------
Generated 10/10/12 5:07 PM
- Minecraft Version: 1.3.2
- Operating System: Windows Vista (x86) version 6.0
- Java Version: 1.7.0_07, Oracle Corporation
- Java VM Version: Java HotSpotâ„¢ Client VM (mixed mode), Oracle Corporation
- Memory: 993729392 bytes (947 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
- JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
- ModLoader: Mods loaded: 2
ModLoader 1.3.2
mod_Moxon The Moxon By ReclaimerDiamond
java.lang.Exception: No registry for this texture: terrain.png
at net.minecraft.src.ModLoader.getUniqueSpriteIndex(ModLoader.java:773)
at net.minecraft.src.ModLoader.addOverride(ModLoader.java:457)
at net.minecraft.src.mod_Moxon.load(mod_Moxon.java:45)
at net.minecraft.src.ModLoader.init(ModLoader.java:952)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:186)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:86)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:404)
at net.minecraft.client.Minecraft.run(Minecraft.java:724)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT bb6f24ce ----------
Please help me!
Thank you, ReclaimerD