I'll fix the spear tutorial soon with all the correct functions :smile.gif:
But right now I'm finishing up a few things for school and I'll start on the spear tutorial as soon as I'm done:)
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\Itemjuiceglass.java:6: error: class juiceglass i
s public, should be declared in a file named juiceglass.java
public class juiceglass extends Item
^
src\minecraft\net\minecraft\src\mod_juiceglass.java:21: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(juiceglass, 1), new Object[]{ "# #", "# #", "#
##", Character.valueOf('#'), block.glass});
^
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\Itemjuiceglass.java:6: error: class juiceglass i
s public, should be declared in a file named juiceglass.java
public class juiceglass extends Item
^
src\minecraft\net\minecraft\src\mod_juiceglass.java:21: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(juiceglass, 1), new Object[]{ "# #", "# #", "#
##", Character.valueOf('#'), block.glass});
^
EntityLiving.scoreValue = 0; (sorry bit confused on what your asking)
I mean beside fire,like lightningbolt and etc
how do i put the code
i put entityliving.lightning/lightningbolt
doesnt work
so i put entity.lightning/lightningbolt too but still dont work
how do i put them
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\Itemjuiceglass.java:6: error: class juiceglass i
s public, should be declared in a file named juiceglass.java
public class juiceglass extends Item
^
src\minecraft\net\minecraft\src\mod_juiceglass.java:7: error: cannot access Item
juiceglass
public static Item juiceglass = new Itemjuiceglass(678).setItemName("juiceglass"
);
^
bad source file: src\minecraft\net\minecraft\src\Itemjuiceglass.java
file does not contain class net.minecraft.src.Itemjuiceglass
Please remove or make sure it appears in the correct subdirectory of the sourcep
ath.
2 errors
1 warning
==================
> Done in 4.00 seconds
> Recompiling server...
!! Can not find server sources !!
Drücken Sie eine beliebige Taste . . .
What is this "should be declared in a file". :sad.gif:
Sorry for all the trouble but I would really love to create my own item. :sad.gif:
ok doesn´t matter :smile.gif:
I got it, I just not copied the item.....java :biggrin.gif:
Now it works fine lol^^
Yay! :biggrin.gif:
Edit: Ok now I have my item but how can I use it in another recipe?
I tried it with item.juiceglasss and with mod_juiceglass but that didn´t worked :sad.gif:
Maybe anyone know that? (yeahh I´m a big noob^^)
ok doesn´t matter :smile.gif:
I got it, I just not copied the item.....java :biggrin.gif:
Now it works fine lol^^
Yay! :biggrin.gif:
Edit: Ok now I have my item but how can I use it in another recipe?
I tried it with item.juiceglasss and with mod_juiceglass but that didn´t worked :sad.gif:
Maybe anyone know that? (yeahh I´m a big noob^^)
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\mod_waterglass.java:21: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(waterglassItem, 1), new Object[]{ " ", " + "
, " - ", Character.valueOf('+'), Item.bucketWater, Character.valueOf('-'), juice
glassItem});
^
symbol: variable waterglassItem
location: class mod_waterglass
src\minecraft\net\minecraft\src\mod_waterglass.java:21: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(waterglassItem, 1), new Object[]{ " ", " + "
, " - ", Character.valueOf('+'), Item.bucketWater, Character.valueOf('-'), juice
glassItem});
^
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\mod_waterglass.java:21: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(waterglassItem, 1), new Object[]{ " ", " + "
, " - ", Character.valueOf('+'), Item.bucketWater, Character.valueOf('-'), juice
glassItem});
^
symbol: variable waterglassItem
location: class mod_waterglass
src\minecraft\net\minecraft\src\mod_waterglass.java:21: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(waterglassItem, 1), new Object[]{ " ", " + "
, " - ", Character.valueOf('+'), Item.bucketWater, Character.valueOf('-'), juice
glassItem});
^
> Done in 5.76 seconds
> Recompiling server...
!! Can not find server sources !!
Drücken Sie eine beliebige Taste . . .
Why must modding be so complicated? xD
Same,modding is complicated
As for ur problem
it is 100% the naming problem
i think u nid to retry many time wif different name
like juiceglass,juiceGlass,waterglass,waterGlass
try all,if cant then i am not sure already
Same,modding is complicated
As for ur problem
it is 100% the naming problem
i think u nid to retry many time wif different name
like juiceglass,juiceGlass,waterglass,waterGlass
try all,if cant then i am not sure already
ok thank you, but now I really not know what do. :wink.gif:
I checked all names if everything is the same and I am very sure it is...maybe I get these error cause I not copied the Item....java.
Doesn´t matter at all. :smile.gif:
I will take a break at this project and work at my other^^
ok thank you, but now I really not know what do. :wink.gif:
I checked all names if everything is the same and I am very sure it is...maybe I get these error cause I not copied the Item....java.
Doesn´t matter at all. :smile.gif:
I will take a break at this project and work at my other^^
You really was a big help, thank you.
No problem,you're welcome
If you have any question feel free dont ask:D
Replace this line:
with this
How do you make it so the entity looks like the item, and so it won't disappear?
But right now I'm finishing up a few things for school and I'll start on the spear tutorial as soon as I'm done:)
> Recompiling client...
javac.exe -g -source 1.6 -target 1.6 -classpath "lib/;lib/*;jars/bin/minecraft.j
ar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath s
rc/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/mine
craft\net\minecraft\isom\*.java src/minecraft\net\minecraft\src\*.java conf/pat
ches/*.java failed.
Return code : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\Itemjuiceglass.java:6: error: class juiceglass i
s public, should be declared in a file named juiceglass.java
public class juiceglass extends Item
^
src\minecraft\net\minecraft\src\mod_juiceglass.java:21: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(juiceglass, 1), new Object[]{ "# #", "# #", "#
##", Character.valueOf('#'), block.glass});
^
symbol: variable block
location: class mod_juiceglass
2 errors
1 warning
==================
> Done in 4.21 seconds
> Recompiling server...
!! Can not find server sources !!
Drücken Sie eine beliebige Taste . . .
This is my mod_.....java code:
public class mod_juiceglass extends BaseMod
{
//Properties
public static Item juiceglass = new Item(1000).setItemName("juiceglass");
public String Version()
{
return "juiceglass";
}
public mod_juiceglass()
{
//Textures
juiceglass.iconIndex = ModLoader.addOverride("/gui/items.png", "/juice/juiceglass.png");
//inGameName
ModLoader.AddName(juiceglass, "juiceglass");
//Recipe
ModLoader.AddRecipe(new ItemStack(juiceglass, 1), new Object[]{ "# #", "# #", "###", Character.valueOf('#'), block.glass});
}
}
and my item.....java
package net.minecraft.src;
import java.util.Random;
public class juiceglass extends Item
{
public juiceglass (int i)
{
super(i);
maxStackSize = 1;
}
}
anyone know why I get this error? please help! :sad.gif:
As for this code
It should be like this i think
And this
i think it is
And try not to set ur item value above 1000,u may get error
hope this help
I mean beside fire,like lightningbolt and etc
how do i put the code
i put entityliving.lightning/lightningbolt
doesnt work
so i put entity.lightning/lightningbolt too but still dont work
how do i put them
Wow thank you for the fast answer, but now I get this error:
> Recompiling client...
javac.exe -g -source 1.6 -target 1.6 -classpath "lib/;lib/*;jars/bin/minecraft.j
ar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath s
rc/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/mine
craft\net\minecraft\isom\*.java src/minecraft\net\minecraft\src\*.java conf/pat
ches/*.java failed.
Return code : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\Itemjuiceglass.java:6: error: class juiceglass i
s public, should be declared in a file named juiceglass.java
public class juiceglass extends Item
^
src\minecraft\net\minecraft\src\mod_juiceglass.java:7: error: cannot access Item
juiceglass
public static Item juiceglass = new Itemjuiceglass(678).setItemName("juiceglass"
);
^
bad source file: src\minecraft\net\minecraft\src\Itemjuiceglass.java
file does not contain class net.minecraft.src.Itemjuiceglass
Please remove or make sure it appears in the correct subdirectory of the sourcep
ath.
2 errors
1 warning
==================
> Done in 4.00 seconds
> Recompiling server...
!! Can not find server sources !!
Drücken Sie eine beliebige Taste . . .
What is this "should be declared in a file". :sad.gif:
Sorry for all the trouble but I would really love to create my own item. :sad.gif:
I got it, I just not copied the item.....java :biggrin.gif:
Now it works fine lol^^
Yay! :biggrin.gif:
Edit: Ok now I have my item but how can I use it in another recipe?
I tried it with item.juiceglasss and with mod_juiceglass but that didn´t worked :sad.gif:
Maybe anyone know that? (yeahh I´m a big noob^^)
what u mean by 'another' recipe
as for ur recipe,ur mod item u will nid to put this name
juiceglassItem
I mean something like that:
this
should be this
Now I become this error:
> Recompiling client...
javac.exe -g -source 1.6 -target 1.6 -classpath "lib/;lib/*;jars/bin/minecraft.j
ar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath s
rc/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/mine
craft\net\minecraft\isom\*.java src/minecraft\net\minecraft\src\*.java conf/pat
ches/*.java failed.
Return code : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\mod_waterglass.java:21: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(waterglassItem, 1), new Object[]{ " ", " + "
, " - ", Character.valueOf('+'), Item.bucketWater, Character.valueOf('-'), juice
glassItem});
^
symbol: variable waterglassItem
location: class mod_waterglass
src\minecraft\net\minecraft\src\mod_waterglass.java:21: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(waterglassItem, 1), new Object[]{ " ", " + "
, " - ", Character.valueOf('+'), Item.bucketWater, Character.valueOf('-'), juice
glassItem});
^
symbol: variable juiceglassItem
location: class mod_waterglass
2 errors
1 warning
==================
> Done in 5.76 seconds
> Recompiling server...
!! Can not find server sources !!
Drücken Sie eine beliebige Taste . . .
Why must modding be so complicated? xD
Same,modding is complicated
As for ur problem
it is 100% the naming problem
i think u nid to retry many time wif different name
like juiceglass,juiceGlass,waterglass,waterGlass
try all,if cant then i am not sure already
ok thank you, but now I really not know what do. :wink.gif:
I checked all names if everything is the same and I am very sure it is...maybe I get these error cause I not copied the Item....java.
Doesn´t matter at all. :smile.gif:
I will take a break at this project and work at my other^^
You really was a big help, thank you.
No problem,you're welcome
If you have any question feel free dont ask:D
~sorry~