Hey ummm so yeah I hope u reply. So I was doing great (i thought of myself) but when i recompiled and press "Start_client it worked AND THEN when i crafted it it wasn't working help?
I'm also having problems with my block. I can get it to decompile, recompile, and reobfuscate fine with no errors, but when I try to play Minecraft with it, it crashes.
Here are the files (This is just a test, I probably won't make this mod public):
BlockGlassR
package net.minecraft.src;
import java.util.Random;
public class BlockGlassR extends BlockBreakable
{
public BlockGlassR(int i, int j, Material material, boolean flag)
{
super(i, j, material, flag);
}
public int quantityDropped(Random random)
{
return 1;
}
public int getRenderBlockPass()
{
return 0;
}
}
mod_GlassR
package net.minecraft.src;
public class mod_GlassR extends BaseMod {
public mod_GlassR()
{
glassR = (new BlockGlassR(120, 0, null, false)).setHardness(0.5F).setResistance(500f).setBlockName("glassR");
ModLoader.RegisterBlock(glassR);
glassR.blockIndexInTexture = ModLoader.addOverride("/terrain.png", sprite);
ModLoader.AddName(glassR, "Reinforced Glass");
ModLoader.AddRecipe(new ItemStack(glassR, 1), new Object[] {
" # ", "#$#", " # ", Character.valueOf('#'), Item.ingotIron, Character.valueOf('$'),Block.glass
});
}
public String Version()
{
return "Alpha Test";
}
private static String sprite = "/cc9811/glassr.png";
public static Block glassR;
}
And here's the error report from running Minecraft:
Mods loaded: 2
ModLoader Beta 1.7.3
mod_TooManyItems 1.7.2 2011-07-01
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT f6c994b6 --------
Generated 7/21/11 10:55 AM
Minecraft: Minecraft Beta 1.7.3
OS: Windows XP (x86) version 5.1
Java: 1.6.0_25, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: RADEON X300 x86/SSE2 version 1.5.4582 WinXP Release, ATI Technologies Inc.
java.lang.NullPointerException
at uu.<init>(SourceFile:252)
at uu.<init>(SourceFile:265)
at jp.<init>(SourceFile:10)
at BlockGlassR.<init>(BlockGlassR.java:11)
at mod_GlassR.<init>(mod_GlassR.java:8)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at ModLoader.addMod(ModLoader.java:272)
at ModLoader.readFromClassPath(ModLoader.java:1104)
at ModLoader.init(ModLoader.java:812)
at ModLoader.AddAllRenderers(ModLoader.java:183)
at th.<init>(th.java:60)
at th.<clinit>(th.java:9)
at net.minecraft.client.Minecraft.a(SourceFile:318)
at net.minecraft.client.Minecraft.run(SourceFile:716)
at java.lang.Thread.run(Thread.java:662)
--- END ERROR REPORT 65a3428c ----------
Does anyone know what I'm doing wrong? (any criticism would be welcome, as I am new to modding with Java)
Rollback Post to RevisionRollBack
Duct-tape is like the force, it has a light side, a dark side, and it holds the world together.
_____
package net.minecraft.src;
import java.util.Random;
public class mod_Bauxite extends BaseMod {
public static final Block oreBauxite = new BlockOre(101, 0).setHardness(5F).setResistance(10F).setBlockName("oreBauxite");
public mod_Bauxite() {
ModLoader.RegisterBlock(oreBauxite);
oreBauxite.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Togfan/Bauxite.png");
}
public void GenerateSurface(World world, Random random, int randXCoord, int randZCoord) {
for(int oreFrequency = 0; oreFrequency < 12; oreFrequency++) {
int xCoord = randXCoord + rand.nextInt(16);
int yCoord = rand.nextInt(128);
int zCoord = randZCoord + rand.nextInt(16);
new WorldGenMinable(Block.oreBauxite.blockID, 10).generate(world, rand, xCoord, yCoord, zCoord);
}
}
public String Version() {
return "1.0 for MC Beta 1.7.3";
}
}
Here's what I get
== MCP v4.3 ==
> Recompiling client...
"C:\Programfiler\Java\jdk1.6.0_26\bin\javac.exe" -g -verbose -classpath "lib/;li
b/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl
_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft\net\minecraf
t\client\*.java src/minecraft\net\minecraft\isom\*.java src/minecraft\net\minecr
aft\src\*.java conf/patches/*.java failed.
Return code : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_class.java:4: class mod_Bauxite is public, s
hould be declared in a file named mod_Bauxite.java
public class mod_Bauxite extends BaseMod {
^
src\minecraft\net\minecraft\src\mod_class.java:15: cannot find symbol
symbol : variable rand
location: class net.minecraft.src.mod_Bauxite
int xCoord = randXCoord + rand.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_class.java:15: operator + cannot be applied
to int,rand.nextInt
int xCoord = randXCoord + rand.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_class.java:15: incompatible types
found : <nulltype>
required: int
int xCoord = randXCoord + rand.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_class.java:16: cannot find symbol
symbol : variable rand
location: class net.minecraft.src.mod_Bauxite
int yCoord = rand.nextInt(128);
^
src\minecraft\net\minecraft\src\mod_class.java:17: cannot find symbol
symbol : variable rand
location: class net.minecraft.src.mod_Bauxite
int zCoord = randZCoord + rand.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_class.java:17: operator + cannot be applied
to int,rand.nextInt
int zCoord = randZCoord + rand.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_class.java:17: incompatible types
found : <nulltype>
required: int
int zCoord = randZCoord + rand.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_class.java:18: cannot find symbol
symbol : variable rand
location: class net.minecraft.src.mod_Bauxite
new WorldGenMinable(Block.oreBauxite.blockID, 10).generate(world, rand, xCoord,
yCoord, zCoord);
^
src\minecraft\net\minecraft\src\mod_class.java:18: cannot find symbol
symbol : variable oreBauxite
location: class net.minecraft.src.Block
new WorldGenMinable(Block.oreBauxite.blockID, 10).generate(world, rand, xCoord,
yCoord, zCoord);
^
10 errors
==================
> Done in 1.84 seconds
> Recompiling server...
> Done in 2.34 seconds
In your generation code change "rand" to "random". Sorry about that, I think it's my fault.
I am currently converting my mod to modloader but I got a few problems and I have a few questions:
How to make more the advanced blocks (with their own file) with modloader ( extend mod_bushes didn't work)? Should i change the extended class or something more?
Also, what if I have my own world generation with my custom blocks?
The advanced blocks are the same for ModLoader. Your block's class extends Block. Everything is the same as normal modding except where the Blocks are declared.
Hey ummm so yeah I hope u reply. So I was doing great (i thought of myself) but when i recompiled and press "Start_client it worked AND THEN when i crafted it it wasn't working help?
I'm also having problems with my block. I can get it to decompile, recompile, and reobfuscate fine with no errors, but when I try to play Minecraft with it, it crashes.
Here are the files (This is just a test, I probably won't make this mod public):
BlockGlassR
package net.minecraft.src;
import java.util.Random;
public class BlockGlassR extends BlockBreakable
{
public BlockGlassR(int i, int j, Material material, boolean flag)
{
super(i, j, material, flag);
}
public int quantityDropped(Random random)
{
return 1;
}
public int getRenderBlockPass()
{
return 0;
}
}
mod_GlassR
package net.minecraft.src;
public class mod_GlassR extends BaseMod {
public mod_GlassR()
{
glassR = (new BlockGlassR(120, 0, null, false)).setHardness(0.5F).setResistance(500f).setBlockName("glassR");
ModLoader.RegisterBlock(glassR);
glassR.blockIndexInTexture = ModLoader.addOverride("/terrain.png", sprite);
ModLoader.AddName(glassR, "Reinforced Glass");
ModLoader.AddRecipe(new ItemStack(glassR, 1), new Object[] {
" # ", "#$#", " # ", Character.valueOf('#'), Item.ingotIron, Character.valueOf('$'),Block.glass
});
}
public String Version()
{
return "Alpha Test";
}
private static String sprite = "/cc9811/glassr.png";
public static Block glassR;
}
And here's the error report from running Minecraft:
Mods loaded: 2
ModLoader Beta 1.7.3
mod_TooManyItems 1.7.2 2011-07-01
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT f6c994b6 --------
Generated 7/21/11 10:55 AM
Minecraft: Minecraft Beta 1.7.3
OS: Windows XP (x86) version 5.1
Java: 1.6.0_25, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: RADEON X300 x86/SSE2 version 1.5.4582 WinXP Release, ATI Technologies Inc.
java.lang.NullPointerException
at uu.<init>(SourceFile:252)
at uu.<init>(SourceFile:265)
at jp.<init>(SourceFile:10)
at BlockGlassR.<init>(BlockGlassR.java:11)
at mod_GlassR.<init>(mod_GlassR.java:8)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at ModLoader.addMod(ModLoader.java:272)
at ModLoader.readFromClassPath(ModLoader.java:1104)
at ModLoader.init(ModLoader.java:812)
at ModLoader.AddAllRenderers(ModLoader.java:183)
at th.<init>(th.java:60)
at th.<clinit>(th.java:9)
at net.minecraft.client.Minecraft.a(SourceFile:318)
at net.minecraft.client.Minecraft.run(SourceFile:716)
at java.lang.Thread.run(Thread.java:662)
--- END ERROR REPORT 65a3428c ----------
Does anyone know what I'm doing wrong? (any criticism would be welcome, as I am new to modding with Java)
Well, your passing null as an argument for the constructor. That value can't be null, every block needs to have a material. Set it to Material.glass (Unless you want it to be collectable, then it has to be something like Material.ground or Material.cloth).
package net.minecraft.src;
import java.util.Random;
public class mod_Bauxite extends BaseMod {
public static final Block oreBauxite = new BlockOre(101, 0).setHardness(5F).setResistance(10F).setBlockName("oreBauxite");
public mod_Bauxite() {
ModLoader.RegisterBlock(oreBauxite);
oreBauxite.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Togfan/Bauxite.png");
}
public void GenerateSurface(World world, Random random, int randomXCoord, int randomZCoord) {
for(int oreFrequency = 0; oreFrequency < 12; oreFrequency++) {
int xCoord = randomXCoord + random.nextInt(16);
int yCoord = random.nextInt(128);
int zCoord = randomZCoord + random.nextInt(16);
new WorldGenMinable(Block.oreBauxite.blockID, 10).generate(world, random, xCoord, yCoord, zCoord);
}
}
public String Version() {
return "1.0 for MC Beta 1.7.3";
}
}
mod_Bauxite.java
package net.minecraft.src;
// Referenced classes of package net.minecraft.src:
// Block, Material
public class mod_Bauxite extends BaseMod
{
public mod_Bauxite(int i, int j)
{
super(i, Material.iron);
blockIndexInTexture = j;
}
public int getBlockTextureFromSide(int i)
{
return blockIndexInTexture;
}
}
This is what happens when I recompile
== MCP v4.3 ==
> Recompiling client...
"C:\Programfiler\Java\jdk1.6.0_26\bin\javac.exe" -g -verbose -classpath "lib/;li
b/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl
_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft\net\minecraf
t\client\*.java src/minecraft\net\minecraft\isom\*.java src/minecraft\net\minecr
aft\src\*.java conf/patches/*.java failed.
Return code : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_class.java:4: class mod_Bauxite is public, s
hould be declared in a file named mod_Bauxite.java
public class mod_Bauxite extends BaseMod {
^
src\minecraft\net\minecraft\src\mod_Bauxite.java:7: net.minecraft.src.mod_Bauxit
e is not abstract and does not override abstract method Version() in net.minecra
ft.src.BaseMod
public class mod_Bauxite extends BaseMod
^
src\minecraft\net\minecraft\src\mod_Bauxite.java:12: cannot find symbol
symbol : constructor BaseMod(int,net.minecraft.src.Material)
location: class net.minecraft.src.BaseMod
super(i, Material.iron);
^
src\minecraft\net\minecraft\src\mod_Bauxite.java:13: cannot find symbol
symbol : variable blockIndexInTexture
location: class net.minecraft.src.mod_Bauxite
blockIndexInTexture = j;
^
src\minecraft\net\minecraft\src\mod_Bauxite.java:18: cannot find symbol
symbol : variable blockIndexInTexture
location: class net.minecraft.src.mod_Bauxite
return blockIndexInTexture;
^
5 errors
==================
> Done in 1.91 seconds
> Recompiling server...
> Done in 2.42 seconds
I'm not sure if I made the mod_Bauxite.java right ... What am I doing wrong?
package net.minecraft.src;
import java.util.Random;
public class mod_Bauxite extends BaseMod {
public static final Block oreBauxite = new BlockOre(101, 0).setHardness(5F).setResistance(10F).setBlockName("oreBauxite");
public mod_Bauxite() {
ModLoader.RegisterBlock(oreBauxite);
oreBauxite.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Togfan/Bauxite.png");
}
public void GenerateSurface(World world, Random random, int randomXCoord, int randomZCoord) {
for(int oreFrequency = 0; oreFrequency < 12; oreFrequency++) {
int xCoord = randomXCoord + random.nextInt(16);
int yCoord = random.nextInt(128);
int zCoord = randomZCoord + random.nextInt(16);
new WorldGenMinable(Block.oreBauxite.blockID, 10).generate(world, random, xCoord, yCoord, zCoord);
}
}
public String Version() {
return "1.0 for MC Beta 1.7.3";
}
}
mod_Bauxite.java
package net.minecraft.src;
// Referenced classes of package net.minecraft.src:
// Block, Material
public class mod_Bauxite extends BaseMod
{
public mod_Bauxite(int i, int j)
{
super(i, Material.iron);
blockIndexInTexture = j;
}
public int getBlockTextureFromSide(int i)
{
return blockIndexInTexture;
}
}
This is what happens when I recompile
== MCP v4.3 ==
> Recompiling client...
"C:\Programfiler\Java\jdk1.6.0_26\bin\javac.exe" -g -verbose -classpath "lib/;li
b/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl
_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft\net\minecraf
t\client\*.java src/minecraft\net\minecraft\isom\*.java src/minecraft\net\minecr
aft\src\*.java conf/patches/*.java failed.
Return code : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_class.java:4: class mod_Bauxite is public, s
hould be declared in a file named mod_Bauxite.java
public class mod_Bauxite extends BaseMod {
^
src\minecraft\net\minecraft\src\mod_Bauxite.java:7: net.minecraft.src.mod_Bauxit
e is not abstract and does not override abstract method Version() in net.minecra
ft.src.BaseMod
public class mod_Bauxite extends BaseMod
^
src\minecraft\net\minecraft\src\mod_Bauxite.java:12: cannot find symbol
symbol : constructor BaseMod(int,net.minecraft.src.Material)
location: class net.minecraft.src.BaseMod
super(i, Material.iron);
^
src\minecraft\net\minecraft\src\mod_Bauxite.java:13: cannot find symbol
symbol : variable blockIndexInTexture
location: class net.minecraft.src.mod_Bauxite
blockIndexInTexture = j;
^
src\minecraft\net\minecraft\src\mod_Bauxite.java:18: cannot find symbol
symbol : variable blockIndexInTexture
location: class net.minecraft.src.mod_Bauxite
return blockIndexInTexture;
^
5 errors
==================
> Done in 1.91 seconds
> Recompiling server...
> Done in 2.42 seconds
I'm not sure if I made the mod_Bauxite.java right ... What am I doing wrong?
You have your file names mixed up. This file:
package net.minecraft.src;
import java.util.Random;
public class mod_Bauxite extends BaseMod {
public static final Block oreBauxite = new BlockOre(101, 0).setHardness(5F).setResistance(10F).setBlockName("oreBauxite");
public mod_Bauxite() {
ModLoader.RegisterBlock(oreBauxite);
oreBauxite.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Togfan/Bauxite.png");
}
public void GenerateSurface(World world, Random random, int randomXCoord, int randomZCoord) {
for(int oreFrequency = 0; oreFrequency < 12; oreFrequency++) {
int xCoord = randomXCoord + random.nextInt(16);
int yCoord = random.nextInt(128);
int zCoord = randomZCoord + random.nextInt(16);
new WorldGenMinable(Block.oreBauxite.blockID, 10).generate(world, random, xCoord, yCoord, zCoord);
}
}
public String Version() {
return "1.0 for MC Beta 1.7.3";
}
}
Should be in a file called "mod_Bauxite.java".
And, unless you need your block to do something special, you don't need a class for it. You have it declared as BlockOre, which is fine. You can delete the other class you wrote, as it is useless and will only give you errors.
Sigh, one final problem (hopefully). The recompiler cannot find the symbol "Random" in the code:
package net.minecraft.src;
public class mod_Bushes extends BaseMod {
public static final Block poisonBerryBush = (new BlockPoisonBerryBush(101,0)).setHardness(0.2F).setLightOpacity(1).setBlockName("poisonberrybush");
public static final Block blueBerryBush = (new BlockBlueBerryBush(99,0)).setHardness(0.2F).setLightOpacity(1).setBlockName("blueberrybush");
public static final Block redBerryBush = (new BlockRedBerryBush(98,0)).setHardness(0.2F).setLightOpacity(1).setBlockName("redberrybush");
public static final Block bush = (new BlockBush(97,0)).setHardness(0.2F).setLightOpacity(1).setBlockName("bush");
public mod_Bushes() {
ModLoader.RegisterBlock(bush);
ModLoader.RegisterBlock(redBerryBush);
ModLoader.RegisterBlock(blueBerryBush);
ModLoader.RegisterBlock(poisonBerryBush);
bush.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Tutorial/bush.png");
redBerryBush.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Tutorial/red.png");
blueBerryBush.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Tutorial/blue.png");
poisonBerryBush.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Tutorial/poison.png");
}
//This code:
public void GenerateSurface(World world, Random random, int i, int j)
{
(new WorldGenBush()).generate(world, random, i + random.nextInt(16), j + random.nextInt(16), random.nextInt(100) + 16);
}
public String Version() {
return "1.0 for MC Beta 1.7.3";
}
}
src\minecraft\net\minecraft\src\mod_Bushes.java:20: cannot find symbol
symbol : class Random
location: class net.minecraft.src.mod_Bushes
public void GenerateSurface(World world, Random random, int i, int j)
^
src\minecraft\net\minecraft\src\mod_Bushes.java:22: operator + cannot be applied
to int,Random.nextInt
(new WorldGenBush()).generate(world, random, i + random.nextInt(16), j + random
.nextInt(16), random.nextInt(100) + 16);
^
src\minecraft\net\minecraft\src\mod_Bushes.java:22: operator + cannot be applied
to int,Random.nextInt
(new WorldGenBush()).generate(world, random, i + random.nextInt(16), j + random
.nextInt(16), random.nextInt(100) + 16);
^
src\minecraft\net\minecraft\src\mod_Bushes.java:22: operator + cannot be applied
to Random.nextInt,int
(new WorldGenBush()).generate(world, random, i + random.nextInt(16), j + random
.nextInt(16), random.nextInt(100) + 16);
^
4 errors
==================
> Done in 2.58 seconds
> Recompiling server...
> Done in 3.14 seconds
Aby kontynuować, naciśnij dowolny klawisz . . .
Useful thread, Chewy. I have a question - about an error of course.
I've got my mod all working inside MCP. I recompile, Startclient, reobfuscate all succesfully. I successfully install my new class files (and the prerequisite mods) in my actual minecraft folder's bin, and now I get an error when starting the game -
the error says that it cannot find my sprites (it lists just one sprite at a time). I have checked many times that the items are always named correctly and called correctl by the program; I also made sure the folder is named correctly, bla, bla...I mean, it works in MCP, so all that stuff must be right already.
Any ideas? Am I installing my image files in the wrong place in my actual minecraft folder? Right now I just have them in my bin. Help appreciated.
Rollback Post to RevisionRollBack
Minecraft technology - the logical way - the only way.
Useful thread, Chewy. I have a question - about an error of course.
I've got my mod all working inside MCP. I recompile, Startclient, reobfuscate all succesfully. I successfully install my new class files (and the prerequisite mods) in my actual minecraft folder's bin, and now I get an error when starting the game -
the error says that it cannot find my sprites (it lists just one sprite at a time). I have checked many times that the items are always named correctly and called correctl by the program; I also made sure the folder is named correctly, bla, bla...I mean, it works in MCP, so all that stuff must be right already.
Any ideas? Am I installing my image files in the wrong place in my actual minecraft folder? Right now I just have them in my bin. Help appreciated.
If you told it to look in a folder you have to add the folder to minecraft.jar and add the images to the folder.
The way you're doing it, you want the ores in another file. (interesting, by the way - I too have added a bauxite ore - good luck with the mod!)
Chewy, I am telling it to look in a folder and the folder is correctly placed. Again, the mod works inside mcp but not outside of it. I don't see how that could be.
Rollback Post to RevisionRollBack
Minecraft technology - the logical way - the only way.
package net.minecraft.src;
import java.util.Random;
public class mod_Bauxite extends BaseMod {
public static final Block oreBauxite = new BlockOre(101, 0).setHardness(5F).setResistance(10F).setBlockName("oreBauxite");
public mod_Bauxite() {
ModLoader.RegisterBlock(oreBauxite);
oreBauxite.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Togfan/Bauxite.png");
}
public void GenerateSurface(World world, Random random, int randomXCoord, int randomZCoord) {
for(int oreFrequency = 0; oreFrequency < 12; oreFrequency++) {
int xCoord = randomXCoord + random.nextInt(16);
int yCoord = random.nextInt(128);
int zCoord = randomZCoord + random.nextInt(16);
new WorldGenMinable(Block.oreBauxite.blockID, 10).generate(world, random, xCoord, yCoord, zCoord);
}
}
By the way, how would it be to add more ores? Should all of them be in this file, or should they be in different files?
Here's anyway my error message
== MCP v4.3 ==
> Recompiling client...
"C:\Programfiler\Java\jdk1.6.0_26\bin\javac.exe" -g -verbose -classpath "lib/;li
b/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl
_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft\net\minecraf
t\client\*.java src/minecraft\net\minecraft\isom\*.java src/minecraft\net\minecr
aft\src\*.java conf/patches/*.java failed.
Return code : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_Bauxite.java:18: cannot find symbol
symbol : variable oreBauxite
location: class net.minecraft.src.Block
new WorldGenMinable(Block.oreBauxite.blockID, 10).generate(world, random, xCoord
, yCoord, zCoord);
^
1 error
==================
> Done in 2.83 seconds
> Recompiling server...
> Done in 2.44 seconds
I don't see what's wrong
To add more ores, you would just add more for-loops to the same function:
public void generateSurface(World world, Random rand, int randomXCoord, int randomZCoord) {
for(int i = 0; i < 4; i++) {
//generation code
}
for(int i = 0; i < 12; i++) {
//more generation code for another ore
}
} //end function
And this line is the one that's throwing the error:
new WorldGenMinable(Block.oreBauxite.blockID, 10).generate(world, random, xCoord, yCoord, zCoord);
You didn't define oreBauxite in the class Block, you defined it in your own class. You should call it like this:
new WorldGenMinable(oreBauxite.blockID, 10).generate(world, random, xCoord, yCoord, zCoord);
Chewy, I am telling it to look in a folder and the folder is correctly placed. Again, the mod works inside mcp but not outside of it. I don't see how that could be.
Sometimes the IDE can fix some errors when you test it. There's an error test by #Risucraft here. If you run it and get the stack trace I can help more.
16 achievements
151 recipes
ModLoader Beta 1.7.3 Initializing...
Overriding /terrain.png with /utakataJ6/ash.png @ 30. 82 left.
Overriding /terrain.png with /utakataJ6/amethystblock.png @ 54. 81 left.
Overriding /terrain.png with /utakataJ6/zincblock.png @ 76. 80 left.
Overriding /terrain.png with /utakataJ6/alumblock.png @ 77. 79 left.
Overriding /terrain.png with /utakataJ6/chargeblock.png @ 78. 78 left.
Overriding /terrain.png with /utakataJ6/cinnabarblock.png @ 85. 77 left.
Overriding /terrain.png with /utakataJ6/sapphireblock.png @ 100. 76 left.
Overriding /terrain.png with /utakataJ6/sodiumblock.png @ 101. 75 left.
Overriding /terrain.png with /utakataJ6/soapblock.png @ 111. 74 left.
Overriding /terrain.png with /utakataJ6/onyxblock.png @ 125. 73 left.
Overriding /terrain.png with /utakataJ6/silverblock.png @ 126. 72 left.
Overriding /terrain.png with /utakataJ6/topazblock.png @ 127. 71 left.
Overriding /terrain.png with /utakataJ6/amberblock.png @ 136. 70 left.
Overriding /terrain.png with /utakataJ6/leadblock.png @ 137. 69 left.
Overriding /terrain.png with /utakataJ6/emeraldb.png @ 138. 68 left.
Overriding /terrain.png with /utakataJ6/rubyblock.png @ 139. 67 left.
Overriding /terrain.png with /utakataJ6/jadeblock.png @ 141. 66 left.
Overriding /terrain.png with /utakataJ6/opalblock.png @ 142. 65 left.
Overriding /terrain.png with /utakataJ6/pearlblock.png @ 143. 64 left.
Overriding /terrain.png with /utakataJ6/carnelianblock.png @ 148. 63 left.
Overriding /terrain.png with /utakataJ6/garnetblock.png @ 153. 62 left.
Overriding /terrain.png with /utakataJ6/leadblock.png @ 154. 61 left.
Overriding /terrain.png with /utakataJ6/igneousrock.png @ 155. 60 left.
Overriding /terrain.png with /utakataJ6/igneousrock.png @ 156. 59 left.
Overriding /terrain.png with /utakataJ6/landfill.png @ 157. 58 left.
Overriding /terrain.png with /utakataJ6/gaswell.png @ 158. 57 left.
Overriding /terrain.png with /utakataJ6/amethystore.png @ 159. 56 left.
Overriding /terrain.png with /utakataJ6/aurichalcite.png @ 166. 55 left.
Overriding /terrain.png with /utakataJ6/bauxiteore.png @ 167. 54 left.
Overriding /terrain.png with /utakataJ6/chargestone.png @ 168. 53 left.
Overriding /terrain.png with /utakataJ6/cinnabarore.png @ 169. 52 left.
Overriding /terrain.png with /utakataJ6/corundumore.png @ 170. 51 left.
Overriding /terrain.png with /utakataJ6/halite.png @ 171. 50 left.
Overriding /terrain.png with /utakataJ6/niter.png @ 172. 49 left.
Overriding /terrain.png with /utakataJ6/onyxore.png @ 173. 48 left.
Overriding /terrain.png with /utakataJ6/Quartz.png @ 174. 47 left.
Overriding /terrain.png with /utakataJ6/silverore.png @ 175. 46 left.
Overriding /terrain.png with /utakataJ6/topazore.png @ 182. 45 left.
Overriding /terrain.png with /utakataJ6/emeraldore.png @ 183. 44 left.
Overriding /terrain.png with /utakataJ6/rubyore.png @ 184. 43 left.
Overriding /terrain.png with /utakataJ6/jadeite.png @ 185. 42 left.
Overriding /terrain.png with /utakataJ6/garnetore.png @ 186. 41 left.
Overriding /terrain.png with /utakataJ6/chalcedony.png @ 187. 40 left.
Overriding /gui/items.png with /utakataJ6/gas.png @ 38. 129 left.
Overriding /gui/items.png with /utakataJ6/gas.png @ 46. 128 left.
Overriding /gui/items.png with /utakataJ6/gas.png @ 61. 127 left.
Overriding /gui/items.png with /utakataJ6/powdertemplate.png @ 62. 126 left.
Overriding /gui/items.png with /utakataJ6/powdertemplate.png @ 91. 125 left.
Overriding /gui/items.png with /utakataJ6/powdertemplate.png @ 101. 124 left.
Overriding /gui/items.png with /utakataJ6/leadingot.png @ 102. 123 left.
Overriding /gui/items.png with /utakataJ6/silveringot.png @ 105. 122 left.
Overriding /gui/items.png with /utakataJ6/zincingot.png @ 106. 121 left.
Overriding /gui/items.png with /utakataJ6/aluminumingot.png @ 107. 120 left.
Overriding /gui/items.png with /utakataJ6/amberchunk.png @ 108. 119 left.
Overriding /gui/items.png with /utakataJ6/liquid.png @ 109. 118 left.
Overriding /gui/items.png with /utakataJ6/amethyst.png @ 117. 117 left.
Overriding /gui/items.png with /utakataJ6/aurichalcitegem.png @ 118. 116 left.
Overriding /gui/items.png with /utakataJ6/cinnabar.png @ 119. 115 left.
Overriding /gui/items.png with /utakataJ6/emerald.png @ 120. 114 left.
Overriding /gui/items.png with /utakataJ6/carnelian.png @ 121. 113 left.
Overriding /gui/items.png with /utakataJ6/garnet.png @ 122. 112 left.
Overriding /gui/items.png with /utakataJ6/jade.png @ 123. 111 left.
Overriding /gui/items.png with /utakataJ6/leadchunk.png @ 124. 110 left.
Overriding /gui/items.png with /utakataJ6/moltenmetal.png @ 125. 109 left.
Overriding /gui/items.png with /utakataJ6/lodestone.png @ 133. 108 left.
Overriding /gui/items.png with /utakataJ6/onyx.png @ 134. 107 left.
Overriding /gui/items.png with /utakataJ6/opal.png @ 137. 106 left.
Overriding /gui/items.png with /utakataJ6/pearl.png @ 138. 105 left.
Overriding /gui/items.png with /utakataJ6/pearlb.png @ 139. 104 left.
Overriding /gui/items.png with /utakataJ6/ruby.png @ 140. 103 left.
Overriding /gui/items.png with /utakataJ6/saltpeter.png @ 141. 102 left.
Overriding /gui/items.png with /utakataJ6/sapphire.png @ 144. 101 left.
Overriding /gui/items.png with /utakataJ6/soapbar.png @ 145. 100 left.
Overriding /gui/items.png with /utakataJ6/sodiumchunk.png @ 146. 99 left.
Overriding /gui/items.png with /utakataJ6/sodiumrod.png @ 147. 98 left.
Overriding /gui/items.png with /utakataJ6/topaz.png @ 148. 97 left.
Overriding /gui/items.png with /utakataJ6/rotted.png @ 149. 96 left.
Overriding /gui/items.png with /utakataJ6/rusted.png @ 150. 95 left.
Overriding /gui/items.png with /utakataJ6/frayed.png @ 152. 94 left.
Mod Loaded: mod_mediate 1.7.3
Done.
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
Starting up SoundSystem...
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.or
g)
OpenAL initialized.
java.lang.RuntimeException: java.lang.Exception: Image not found: /utakataJ6/gar
netore.png
at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1241)
at ModLoader.OnTick(ModLoader.java:978)
at EntityRendererProxy.b(EntityRendererProxy.java:16)
at net.minecraft.client.Minecraft.run(SourceFile:781)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Image not found: /utakataJ6/garnetore.png
at ModLoader.loadImage(ModLoader.java:943)
at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1233)
... 4 more
Stopping!
So there's the error. Once again, I can play just fine inside MCP - no errors. Yes, that file is indeed in that folder. THe only place the folder is located is inside the jar.
EDIT: also, what might be wrong if my ores no longer generate and my recipes no longer work? There are no recompile/reobf errors. These two new issues happen inside MCP.
Rollback Post to RevisionRollBack
Minecraft technology - the logical way - the only way.
16 achievements
151 recipes
ModLoader Beta 1.7.3 Initializing...
Overriding /terrain.png with /utakataJ6/ash.png @ 30. 82 left.
Overriding /terrain.png with /utakataJ6/amethystblock.png @ 54. 81 left.
Overriding /terrain.png with /utakataJ6/zincblock.png @ 76. 80 left.
Overriding /terrain.png with /utakataJ6/alumblock.png @ 77. 79 left.
Overriding /terrain.png with /utakataJ6/chargeblock.png @ 78. 78 left.
Overriding /terrain.png with /utakataJ6/cinnabarblock.png @ 85. 77 left.
Overriding /terrain.png with /utakataJ6/sapphireblock.png @ 100. 76 left.
Overriding /terrain.png with /utakataJ6/sodiumblock.png @ 101. 75 left.
Overriding /terrain.png with /utakataJ6/soapblock.png @ 111. 74 left.
Overriding /terrain.png with /utakataJ6/onyxblock.png @ 125. 73 left.
Overriding /terrain.png with /utakataJ6/silverblock.png @ 126. 72 left.
Overriding /terrain.png with /utakataJ6/topazblock.png @ 127. 71 left.
Overriding /terrain.png with /utakataJ6/amberblock.png @ 136. 70 left.
Overriding /terrain.png with /utakataJ6/leadblock.png @ 137. 69 left.
Overriding /terrain.png with /utakataJ6/emeraldb.png @ 138. 68 left.
Overriding /terrain.png with /utakataJ6/rubyblock.png @ 139. 67 left.
Overriding /terrain.png with /utakataJ6/jadeblock.png @ 141. 66 left.
Overriding /terrain.png with /utakataJ6/opalblock.png @ 142. 65 left.
Overriding /terrain.png with /utakataJ6/pearlblock.png @ 143. 64 left.
Overriding /terrain.png with /utakataJ6/carnelianblock.png @ 148. 63 left.
Overriding /terrain.png with /utakataJ6/garnetblock.png @ 153. 62 left.
Overriding /terrain.png with /utakataJ6/leadblock.png @ 154. 61 left.
Overriding /terrain.png with /utakataJ6/igneousrock.png @ 155. 60 left.
Overriding /terrain.png with /utakataJ6/igneousrock.png @ 156. 59 left.
Overriding /terrain.png with /utakataJ6/landfill.png @ 157. 58 left.
Overriding /terrain.png with /utakataJ6/gaswell.png @ 158. 57 left.
Overriding /terrain.png with /utakataJ6/amethystore.png @ 159. 56 left.
Overriding /terrain.png with /utakataJ6/aurichalcite.png @ 166. 55 left.
Overriding /terrain.png with /utakataJ6/bauxiteore.png @ 167. 54 left.
Overriding /terrain.png with /utakataJ6/chargestone.png @ 168. 53 left.
Overriding /terrain.png with /utakataJ6/cinnabarore.png @ 169. 52 left.
Overriding /terrain.png with /utakataJ6/corundumore.png @ 170. 51 left.
Overriding /terrain.png with /utakataJ6/halite.png @ 171. 50 left.
Overriding /terrain.png with /utakataJ6/niter.png @ 172. 49 left.
Overriding /terrain.png with /utakataJ6/onyxore.png @ 173. 48 left.
Overriding /terrain.png with /utakataJ6/Quartz.png @ 174. 47 left.
Overriding /terrain.png with /utakataJ6/silverore.png @ 175. 46 left.
Overriding /terrain.png with /utakataJ6/topazore.png @ 182. 45 left.
Overriding /terrain.png with /utakataJ6/emeraldore.png @ 183. 44 left.
Overriding /terrain.png with /utakataJ6/rubyore.png @ 184. 43 left.
Overriding /terrain.png with /utakataJ6/jadeite.png @ 185. 42 left.
Overriding /terrain.png with /utakataJ6/garnetore.png @ 186. 41 left.
Overriding /terrain.png with /utakataJ6/chalcedony.png @ 187. 40 left.
Overriding /gui/items.png with /utakataJ6/gas.png @ 38. 129 left.
Overriding /gui/items.png with /utakataJ6/gas.png @ 46. 128 left.
Overriding /gui/items.png with /utakataJ6/gas.png @ 61. 127 left.
Overriding /gui/items.png with /utakataJ6/powdertemplate.png @ 62. 126 left.
Overriding /gui/items.png with /utakataJ6/powdertemplate.png @ 91. 125 left.
Overriding /gui/items.png with /utakataJ6/powdertemplate.png @ 101. 124 left.
Overriding /gui/items.png with /utakataJ6/leadingot.png @ 102. 123 left.
Overriding /gui/items.png with /utakataJ6/silveringot.png @ 105. 122 left.
Overriding /gui/items.png with /utakataJ6/zincingot.png @ 106. 121 left.
Overriding /gui/items.png with /utakataJ6/aluminumingot.png @ 107. 120 left.
Overriding /gui/items.png with /utakataJ6/amberchunk.png @ 108. 119 left.
Overriding /gui/items.png with /utakataJ6/liquid.png @ 109. 118 left.
Overriding /gui/items.png with /utakataJ6/amethyst.png @ 117. 117 left.
Overriding /gui/items.png with /utakataJ6/aurichalcitegem.png @ 118. 116 left.
Overriding /gui/items.png with /utakataJ6/cinnabar.png @ 119. 115 left.
Overriding /gui/items.png with /utakataJ6/emerald.png @ 120. 114 left.
Overriding /gui/items.png with /utakataJ6/carnelian.png @ 121. 113 left.
Overriding /gui/items.png with /utakataJ6/garnet.png @ 122. 112 left.
Overriding /gui/items.png with /utakataJ6/jade.png @ 123. 111 left.
Overriding /gui/items.png with /utakataJ6/leadchunk.png @ 124. 110 left.
Overriding /gui/items.png with /utakataJ6/moltenmetal.png @ 125. 109 left.
Overriding /gui/items.png with /utakataJ6/lodestone.png @ 133. 108 left.
Overriding /gui/items.png with /utakataJ6/onyx.png @ 134. 107 left.
Overriding /gui/items.png with /utakataJ6/opal.png @ 137. 106 left.
Overriding /gui/items.png with /utakataJ6/pearl.png @ 138. 105 left.
Overriding /gui/items.png with /utakataJ6/pearlb.png @ 139. 104 left.
Overriding /gui/items.png with /utakataJ6/ruby.png @ 140. 103 left.
Overriding /gui/items.png with /utakataJ6/saltpeter.png @ 141. 102 left.
Overriding /gui/items.png with /utakataJ6/sapphire.png @ 144. 101 left.
Overriding /gui/items.png with /utakataJ6/soapbar.png @ 145. 100 left.
Overriding /gui/items.png with /utakataJ6/sodiumchunk.png @ 146. 99 left.
Overriding /gui/items.png with /utakataJ6/sodiumrod.png @ 147. 98 left.
Overriding /gui/items.png with /utakataJ6/topaz.png @ 148. 97 left.
Overriding /gui/items.png with /utakataJ6/rotted.png @ 149. 96 left.
Overriding /gui/items.png with /utakataJ6/rusted.png @ 150. 95 left.
Overriding /gui/items.png with /utakataJ6/frayed.png @ 152. 94 left.
Mod Loaded: mod_mediate 1.7.3
Done.
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
Starting up SoundSystem...
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.or
g)
OpenAL initialized.
java.lang.RuntimeException: java.lang.Exception: Image not found: /utakataJ6/gar
netore.png
at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1241)
at ModLoader.OnTick(ModLoader.java:978)
at EntityRendererProxy.b(EntityRendererProxy.java:16)
at net.minecraft.client.Minecraft.run(SourceFile:781)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Image not found: /utakataJ6/garnetore.png
at ModLoader.loadImage(ModLoader.java:943)
at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1233)
... 4 more
Stopping!
So there's the error. Once again, I can play just fine inside MCP - no errors. Yes, that file is indeed in that folder. THe only place the folder is located is inside the jar.
EDIT: also, what might be wrong if my ores no longer generate and my recipes no longer work? There are no recompile/reobf errors. These two new issues happen inside MCP.
I'm not sure about this. The ML indicates that it overrided the terrain.png with the image that it can't find.
Regarding the recipes/generation, you might have just forgotten a parameter or something in your function. It would help a lot if I could see your code.
I'm not sure about this. The ML indicates that it overrided the terrain.png with the image that it can't find.
Regarding the recipes/generation, you might have just forgotten a parameter or something in your function. It would help a lot if I could see your code.
I'll pm you the main class and one or two others then. Thanks in advance.
Rollback Post to RevisionRollBack
Minecraft technology - the logical way - the only way.
just a question question.
where do you set the PATH to for the java JDK thing
Here are the files (This is just a test, I probably won't make this mod public):
BlockGlassR
mod_GlassR
And here's the error report from running Minecraft:
Does anyone know what I'm doing wrong? (any criticism would be welcome, as I am new to modding with Java)
_____
In your generation code change "rand" to "random". Sorry about that, I think it's my fault.
In your system settings. Google is your friend.
The advanced blocks are the same for ModLoader. Your block's class extends Block. Everything is the same as normal modding except where the Blocks are declared.
Can I see the error you get?
Well, your passing null as an argument for the constructor. That value can't be null, every block needs to have a material. Set it to Material.glass (Unless you want it to be collectable, then it has to be something like Material.ground or Material.cloth).
mod_class.java
mod_Bauxite.java
This is what happens when I recompile
I'm not sure if I made the mod_Bauxite.java right ... What am I doing wrong?
You have your file names mixed up. This file:
Should be in a file called "mod_Bauxite.java".
And, unless you need your block to do something special, you don't need a class for it. You have it declared as BlockOre, which is fine. You can delete the other class you wrote, as it is useless and will only give you errors.
The folder path to the JDK. If you can't figure this out, I don't think you have any business with modding...
But, again, Google is your friend.
Put this right under the package declaration:
I've got my mod all working inside MCP. I recompile, Startclient, reobfuscate all succesfully. I successfully install my new class files (and the prerequisite mods) in my actual minecraft folder's bin, and now I get an error when starting the game -
the error says that it cannot find my sprites (it lists just one sprite at a time). I have checked many times that the items are always named correctly and called correctl by the program; I also made sure the folder is named correctly, bla, bla...I mean, it works in MCP, so all that stuff must be right already.
Any ideas? Am I installing my image files in the wrong place in my actual minecraft folder? Right now I just have them in my bin. Help appreciated.
Minecraft technology - the logical way - the only way.
If you told it to look in a folder you have to add the folder to minecraft.jar and add the images to the folder.
If not, just add the images to the minecraft.jar.
mod_Bauxite.java
By the way, how would it be to add more ores? Should all of them be in this file, or should they be in different files?
Here's anyway my error message
I don't see what's wrong
The way you're doing it, you want the ores in another file. (interesting, by the way - I too have added a bauxite ore - good luck with the mod!)
Chewy, I am telling it to look in a folder and the folder is correctly placed. Again, the mod works inside mcp but not outside of it. I don't see how that could be.
Minecraft technology - the logical way - the only way.
To add more ores, you would just add more for-loops to the same function:
And this line is the one that's throwing the error:
You didn't define oreBauxite in the class Block, you defined it in your own class. You should call it like this:
And that should fix your error.
Sometimes the IDE can fix some errors when you test it. There's an error test by #Risucraft here. If you run it and get the stack trace I can help more.
And I'll do that, soon.
Minecraft technology - the logical way - the only way.
===Simple Minecraft Error Test===
Starting Minecraft...
16 achievements
151 recipes
ModLoader Beta 1.7.3 Initializing...
Overriding /terrain.png with /utakataJ6/ash.png @ 30. 82 left.
Overriding /terrain.png with /utakataJ6/amethystblock.png @ 54. 81 left.
Overriding /terrain.png with /utakataJ6/zincblock.png @ 76. 80 left.
Overriding /terrain.png with /utakataJ6/alumblock.png @ 77. 79 left.
Overriding /terrain.png with /utakataJ6/chargeblock.png @ 78. 78 left.
Overriding /terrain.png with /utakataJ6/cinnabarblock.png @ 85. 77 left.
Overriding /terrain.png with /utakataJ6/sapphireblock.png @ 100. 76 left.
Overriding /terrain.png with /utakataJ6/sodiumblock.png @ 101. 75 left.
Overriding /terrain.png with /utakataJ6/soapblock.png @ 111. 74 left.
Overriding /terrain.png with /utakataJ6/onyxblock.png @ 125. 73 left.
Overriding /terrain.png with /utakataJ6/silverblock.png @ 126. 72 left.
Overriding /terrain.png with /utakataJ6/topazblock.png @ 127. 71 left.
Overriding /terrain.png with /utakataJ6/amberblock.png @ 136. 70 left.
Overriding /terrain.png with /utakataJ6/leadblock.png @ 137. 69 left.
Overriding /terrain.png with /utakataJ6/emeraldb.png @ 138. 68 left.
Overriding /terrain.png with /utakataJ6/rubyblock.png @ 139. 67 left.
Overriding /terrain.png with /utakataJ6/jadeblock.png @ 141. 66 left.
Overriding /terrain.png with /utakataJ6/opalblock.png @ 142. 65 left.
Overriding /terrain.png with /utakataJ6/pearlblock.png @ 143. 64 left.
Overriding /terrain.png with /utakataJ6/carnelianblock.png @ 148. 63 left.
Overriding /terrain.png with /utakataJ6/garnetblock.png @ 153. 62 left.
Overriding /terrain.png with /utakataJ6/leadblock.png @ 154. 61 left.
Overriding /terrain.png with /utakataJ6/igneousrock.png @ 155. 60 left.
Overriding /terrain.png with /utakataJ6/igneousrock.png @ 156. 59 left.
Overriding /terrain.png with /utakataJ6/landfill.png @ 157. 58 left.
Overriding /terrain.png with /utakataJ6/gaswell.png @ 158. 57 left.
Overriding /terrain.png with /utakataJ6/amethystore.png @ 159. 56 left.
Overriding /terrain.png with /utakataJ6/aurichalcite.png @ 166. 55 left.
Overriding /terrain.png with /utakataJ6/bauxiteore.png @ 167. 54 left.
Overriding /terrain.png with /utakataJ6/chargestone.png @ 168. 53 left.
Overriding /terrain.png with /utakataJ6/cinnabarore.png @ 169. 52 left.
Overriding /terrain.png with /utakataJ6/corundumore.png @ 170. 51 left.
Overriding /terrain.png with /utakataJ6/halite.png @ 171. 50 left.
Overriding /terrain.png with /utakataJ6/niter.png @ 172. 49 left.
Overriding /terrain.png with /utakataJ6/onyxore.png @ 173. 48 left.
Overriding /terrain.png with /utakataJ6/Quartz.png @ 174. 47 left.
Overriding /terrain.png with /utakataJ6/silverore.png @ 175. 46 left.
Overriding /terrain.png with /utakataJ6/topazore.png @ 182. 45 left.
Overriding /terrain.png with /utakataJ6/emeraldore.png @ 183. 44 left.
Overriding /terrain.png with /utakataJ6/rubyore.png @ 184. 43 left.
Overriding /terrain.png with /utakataJ6/jadeite.png @ 185. 42 left.
Overriding /terrain.png with /utakataJ6/garnetore.png @ 186. 41 left.
Overriding /terrain.png with /utakataJ6/chalcedony.png @ 187. 40 left.
Overriding /gui/items.png with /utakataJ6/gas.png @ 38. 129 left.
Overriding /gui/items.png with /utakataJ6/gas.png @ 46. 128 left.
Overriding /gui/items.png with /utakataJ6/gas.png @ 61. 127 left.
Overriding /gui/items.png with /utakataJ6/powdertemplate.png @ 62. 126 left.
Overriding /gui/items.png with /utakataJ6/powdertemplate.png @ 91. 125 left.
Overriding /gui/items.png with /utakataJ6/powdertemplate.png @ 101. 124 left.
Overriding /gui/items.png with /utakataJ6/leadingot.png @ 102. 123 left.
Overriding /gui/items.png with /utakataJ6/silveringot.png @ 105. 122 left.
Overriding /gui/items.png with /utakataJ6/zincingot.png @ 106. 121 left.
Overriding /gui/items.png with /utakataJ6/aluminumingot.png @ 107. 120 left.
Overriding /gui/items.png with /utakataJ6/amberchunk.png @ 108. 119 left.
Overriding /gui/items.png with /utakataJ6/liquid.png @ 109. 118 left.
Overriding /gui/items.png with /utakataJ6/amethyst.png @ 117. 117 left.
Overriding /gui/items.png with /utakataJ6/aurichalcitegem.png @ 118. 116 left.
Overriding /gui/items.png with /utakataJ6/cinnabar.png @ 119. 115 left.
Overriding /gui/items.png with /utakataJ6/emerald.png @ 120. 114 left.
Overriding /gui/items.png with /utakataJ6/carnelian.png @ 121. 113 left.
Overriding /gui/items.png with /utakataJ6/garnet.png @ 122. 112 left.
Overriding /gui/items.png with /utakataJ6/jade.png @ 123. 111 left.
Overriding /gui/items.png with /utakataJ6/leadchunk.png @ 124. 110 left.
Overriding /gui/items.png with /utakataJ6/moltenmetal.png @ 125. 109 left.
Overriding /gui/items.png with /utakataJ6/lodestone.png @ 133. 108 left.
Overriding /gui/items.png with /utakataJ6/onyx.png @ 134. 107 left.
Overriding /gui/items.png with /utakataJ6/opal.png @ 137. 106 left.
Overriding /gui/items.png with /utakataJ6/pearl.png @ 138. 105 left.
Overriding /gui/items.png with /utakataJ6/pearlb.png @ 139. 104 left.
Overriding /gui/items.png with /utakataJ6/ruby.png @ 140. 103 left.
Overriding /gui/items.png with /utakataJ6/saltpeter.png @ 141. 102 left.
Overriding /gui/items.png with /utakataJ6/sapphire.png @ 144. 101 left.
Overriding /gui/items.png with /utakataJ6/soapbar.png @ 145. 100 left.
Overriding /gui/items.png with /utakataJ6/sodiumchunk.png @ 146. 99 left.
Overriding /gui/items.png with /utakataJ6/sodiumrod.png @ 147. 98 left.
Overriding /gui/items.png with /utakataJ6/topaz.png @ 148. 97 left.
Overriding /gui/items.png with /utakataJ6/rotted.png @ 149. 96 left.
Overriding /gui/items.png with /utakataJ6/rusted.png @ 150. 95 left.
Overriding /gui/items.png with /utakataJ6/frayed.png @ 152. 94 left.
Mod Loaded: mod_mediate 1.7.3
Done.
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
Starting up SoundSystem...
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.or
g)
OpenAL initialized.
java.lang.RuntimeException: java.lang.Exception: Image not found: /utakataJ6/gar
netore.png
at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1241)
at ModLoader.OnTick(ModLoader.java:978)
at EntityRendererProxy.b(EntityRendererProxy.java:16)
at net.minecraft.client.Minecraft.run(SourceFile:781)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Image not found: /utakataJ6/garnetore.png
at ModLoader.loadImage(ModLoader.java:943)
at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1233)
... 4 more
Stopping!
SoundSystem shutting down...
Author: Paul Lamb, www.paulscode.com
So there's the error. Once again, I can play just fine inside MCP - no errors. Yes, that file is indeed in that folder. THe only place the folder is located is inside the jar.
EDIT: also, what might be wrong if my ores no longer generate and my recipes no longer work? There are no recompile/reobf errors. These two new issues happen inside MCP.
Minecraft technology - the logical way - the only way.
I'm not sure about this. The ML indicates that it overrided the terrain.png with the image that it can't find.
Regarding the recipes/generation, you might have just forgotten a parameter or something in your function. It would help a lot if I could see your code.
I'll pm you the main class and one or two others then. Thanks in advance.
Minecraft technology - the logical way - the only way.