Wow I feel kinda dumb, I was stumped on the texture part of it, but is the same ID as in block.java (without using modloader) but it is saying look under 'terain.png' then look under 'this (for the texture ID)', is that right? Or do I need to make a new folder with the texture.png in it? >.>
Do you think you could add a mod Tuorial for Crops? (Plants that need to grow on tilled soil)
I been wanting to learn about making more challanging crops; adjusting awater needs and more...
Also to make some plants that funtion/act like other plants in minecraft (Mushrooms, Reeds, saplings)
Also... a way to make plants spawn randomly on the map during certain times of the day (like mobs do, only with plants... this is an idea to make weeds or help grass naturally regenerate...)
I am trying to test out my block I made in Minecraft, but this stupid error comes up. Could somebody with a little more experience help me out here?
Mods loaded: 1
ModLoader Beta 1.7.3
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 e9df3db --------
Generated 8/25/11 6:28 PM
Minecraft: Minecraft Beta 1.7.3
OS: Windows 7 (amd64) version 6.1
Java: 1.6.0_25, Sun Microsystems Inc.
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: Intel Bear Lake B version 1.4.0 - Build 8.14.10.1930, Intel
java.lang.NoClassDefFoundError: mod_DinoCraft (wrong name: net/minecraft/src/mod_DinoCraft)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at ModLoader.addMod(ModLoader.java:267)
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 a4ccb17e ----------
Hey, I have a problem. I made tools for my mod and when i test it in Eclipse I can craft them and everything.
But, whenever i reobf and get the .class files and I put it in my minecraft.jar i cant craft them. It's like i Never coded them. Can you help? I will send my files if i have to.
Rollback Post to RevisionRollBack
If you want me to respond to you, reply to me with the "Quote" button under my post.
I am trying to test out my block I made in Minecraft, but this stupid error comes up. Could somebody with a little more experience help me out here?
Mods loaded: 1
ModLoader Beta 1.7.3
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 e9df3db --------
Generated 8/25/11 6:28 PM
Minecraft: Minecraft Beta 1.7.3
OS: Windows 7 (amd64) version 6.1
Java: 1.6.0_25, Sun Microsystems Inc.
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: Intel Bear Lake B version 1.4.0 - Build 8.14.10.1930, Intel
java.lang.NoClassDefFoundError: mod_DinoCraft (wrong name: net/minecraft/src/mod_DinoCraft)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at ModLoader.addMod(ModLoader.java:267)
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 a4ccb17e ----------
== ERRORS FOUND == src\minecraft\net\minecraft\src\BlockSteel.java:14: error: cannot find symbol
return mod_turret.steelBlock.shiftedIndex;
^
symbol: variable shiftedIndex
location: variable steelBlock of type Block
1 error
==================
What is wrong?
here is my BlockSteel.java:
package net.minecraft.src;
import java.util.Random;
public class BlockSteel extends Block
{
protected BlockSteel(int i, int j)
{
super(i, j, Material.iron);
}
public int idDropped(int i, Random random)
{
return mod_turret.steelBlock.shiftedIndex;
}
public int quantityDropped(Random random)
{
return 1;
}
}
You are using the wrong variable for 'idDropped',
public int idDropped(int i, Random random)
{
return mod_turret.steelBlock.shiftedIndex;
}
should be
public int idDropped(int i, Random random)
{
return mod_turret.steelBlock.blockID;
}
I am trying to test out my block I made in Minecraft, but this stupid error comes up. Could somebody with a little more experience help me out here?
Mods loaded: 1
ModLoader Beta 1.7.3
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 e9df3db --------
Generated 8/25/11 6:28 PM
Minecraft: Minecraft Beta 1.7.3
OS: Windows 7 (amd64) version 6.1
Java: 1.6.0_25, Sun Microsystems Inc.
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: Intel Bear Lake B version 1.4.0 - Build 8.14.10.1930, Intel
java.lang.NoClassDefFoundError: mod_DinoCraft (wrong name: net/minecraft/src/mod_DinoCraft)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at ModLoader.addMod(ModLoader.java:267)
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 a4ccb17e ----------
can you post the code? You have to remember that it is case sensitive.
Hey, I have a problem. I made tools for my mod and when i test it in Eclipse I can craft them and everything.
But, whenever i reobf and get the .class files and I put it in my minecraft.jar i cant craft them. It's like i Never coded them. Can you help? I will send my files if i have to.
i can see what i can do if you wanna send the files. Im not sure why that would happen. also did you test them in the test client not just eclipse? there is a big diffrence.
i can see what i can do if you wanna send the files. Im not sure why that would happen. also did you test them in the test client not just eclipse? there is a big diffrence.
Whats a test client? eclipse does have a thing to test your mods if thats what you mean and yes i can craft them when i test in eclipse but i cant in the actual real game do you have teamviewer? i can show you
Rollback Post to RevisionRollBack
If you want me to respond to you, reply to me with the "Quote" button under my post.
Whats a test client? eclipse does have a thing to test your mods if thats what you mean and yes i can craft them when i test in eclipse but i cant in the actual real game do you have teamviewer? i can show you
i have skype and the test client is in the mcp pack. you need to recompile first.
I am using SAPI for dungon loot, and I have this error when recompiling:
"C:\Program Files\Java\jdk1.6.0_26\bin\javac.exe" -g -verbose -classpath "lib/;l
ib/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjg
l_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft\net\minecra
ft\client\*.java src/minecraft\net\minecraft\isom\*.java src/minecraft\net\minec
raft\src\*.java conf/patches/*.java failed
src\minecraft\net\minecraft\src\SaveHandler.java:42: not a statement
exception;
^
src\minecraft\net\minecraft\src\SaveHandler.java:48: not a statement
ioexception;
^
src\minecraft\net\minecraft\src\SaveHandler.java:69: not a statement
exception;
^
src\minecraft\net\minecraft\src\SaveHandler.java:75: not a statement
ioexception;
^
nothing i can help with there.also for future record some code would be nice. hmm try to reinstall mcp and modloader. Also if i were you id wait for 1.8 to come out this or next week before starting any big projects on mods.
Can you make an modloader record tutorial? :|
If you can, then that would be great!
Do you think you could add a mod Tuorial for Crops? (Plants that need to grow on tilled soil)
I been wanting to learn about making more challanging crops; adjusting awater needs and more...
Also to make some plants that funtion/act like other plants in minecraft (Mushrooms, Reeds, saplings)
Also... a way to make plants spawn randomly on the map during certain times of the day (like mobs do, only with plants... this is an idea to make weeds or help grass naturally regenerate...)
But, whenever i reobf and get the .class files and I put it in my minecraft.jar i cant craft them. It's like i Never coded them. Can you help? I will send my files if i have to.
If you want me to respond to you, reply to me with the "Quote" button under my post.
I think your problem is this line right here
Im new to modding but i think thats your problem :biggrin.gif:
If you want me to respond to you, reply to me with the "Quote" button under my post.
You are using the wrong variable for 'idDropped', should be
he knows. I already told him that a page ago.
I shall send Crawlers after you!
can you post the code? You have to remember that it is case sensitive.
I shall send Crawlers after you!
i can see what i can do if you wanna send the files. Im not sure why that would happen. also did you test them in the test client not just eclipse? there is a big diffrence.
I shall send Crawlers after you!
here the link to the recompiled one http://www.mediafire.com/?71w8eh5llljbd14 are you recompiling before you reobfusicate? if you aren't it'll never recompile.
I shall send Crawlers after you!
Whats a test client? eclipse does have a thing to test your mods if thats what you mean and yes i can craft them when i test in eclipse but i cant in the actual real game do you have teamviewer? i can show you
If you want me to respond to you, reply to me with the "Quote" button under my post.
i have skype and the test client is in the mcp pack. you need to recompile first.
I shall send Crawlers after you!
skype and teamviewer is big difference teamviewer you would be able to control my screen for a lil skype only lets me show you my screen
If you want me to respond to you, reply to me with the "Quote" button under my post.
i have it now. Let me know when u want my help.
I shall send Crawlers after you!
lol fixed it i forgot to recompile ;3 you can check it out in my signature xD i feel so stupid lately lol
If you want me to respond to you, reply to me with the "Quote" button under my post.
nothing i can help with there.also for future record some code would be nice.hmm try to reinstall mcp and modloader. Also if i were you id wait for 1.8 to come out this or next week before starting any big projects on mods.I shall send Crawlers after you!