When I try to recompile my mod it comes up with this message:
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
'"C:\Program Files\Java\jdk1.7.0_03\bin\javac.exe" -g -source 1.6 -target 1.6 -c
lasspath "lib;lib\*;jars\bin\minecraft.jar;jars\bin\jinput.jar;jars\bin\lwjgl.ja
r;jars\bin\lwjgl_util.jar" -sourcepath src\minecraft -d bin\minecraft src\minecr
aft\net\minecraft\client\*.java src\minecraft\net\minecraft\isom\*.java src\mine
craft\net\minecraft\src\*.java conf\patches\ga.java conf\patches\Start.java' fai
led : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\mod_RubyOre.java:9: error: illegal escape charac
ter
RubyOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Li
braries\Pictures/RubyOre.png");
^
1 error
1 warning
==================
FATAL ERROR
Traceback (most recent call last):
File "runtime\recompile.py", line 31, in recompile
commands.recompile(CLIENT)
File "C:\Users\alexander\Documents\MCP1.1\runtime\commands.py", line 736, in r
ecompile
self.runcmd(forkcmd)
File "C:\Users\alexander\Documents\MCP1.1\runtime\commands.py", line 779, in r
uncmd
raise CalledProcessError(returncode, forkcmd, output)
CalledProcessError: Command '"C:\Program Files\Java\jdk1.7.0_03\bin\javac.exe" -
g -source 1.6 -target 1.6 -classpath "lib;lib\*;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\minecraft\client\*.java src\minecraft\net\mi
necraft\isom\*.java src\minecraft\net\minecraft\src\*.java conf\patches\ga.java
conf\patches\Start.java' returned non-zero exit status 1
Press any key to continue . . .
I'm getting that same error when I try to recompile it.
so, this is kind of a weird request, but could you make a tutorial about how to find things from code so that you don't need to rely on a tut. I heavily relied on your tuts at the beginning of my mod, and now I can basically just do stuff myself. you don't need to if you don't want to, but just an out there request
btw though, of all ppl ur tuts are still the best, I just moved rather quickly and It probably takes quite a bit of time to write one out. So thank you
When I try to recompile my mod it comes up with this message:
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
'"C:\Program Files\Java\jdk1.7.0_03\bin\javac.exe" -g -source 1.6 -target 1.6 -c
lasspath "lib;lib\*;jars\bin\minecraft.jar;jars\bin\jinput.jar;jars\bin\lwjgl.ja
r;jars\bin\lwjgl_util.jar" -sourcepath src\minecraft -d bin\minecraft src\minecr
aft\net\minecraft\client\*.java src\minecraft\net\minecraft\isom\*.java src\mine
craft\net\minecraft\src\*.java conf\patches\ga.java conf\patches\Start.java' fai
led : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\mod_RubyOre.java:9: error: illegal escape charac
ter
RubyOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Li
braries\Pictures/RubyOre.png");
^
1 error
1 warning
==================
FATAL ERROR
Traceback (most recent call last):
File "runtime\recompile.py", line 31, in recompile
commands.recompile(CLIENT)
File "C:\Users\alexander\Documents\MCP1.1\runtime\commands.py", line 736, in r
ecompile
self.runcmd(forkcmd)
File "C:\Users\alexander\Documents\MCP1.1\runtime\commands.py", line 779, in r
uncmd
raise CalledProcessError(returncode, forkcmd, output)
CalledProcessError: Command '"C:\Program Files\Java\jdk1.7.0_03\bin\javac.exe" -
g -source 1.6 -target 1.6 -classpath "lib;lib\*;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\minecraft\client\*.java src\minecraft\net\mi
necraft\isom\*.java src\minecraft\net\minecraft\src\*.java conf\patches\ga.java
conf\patches\Start.java' returned non-zero exit status 1
Press any key to continue . . .
The only problem I can see is that you have a backslash in there instead of a forward slash.
btw though, of all ppl ur tuts are still the best, I just moved rather quickly and It probably takes quite a bit of time to write one out. So thank you
Thanks, I appreciate it :smile.gif: Not quite sure what you mean with your request though.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
Hey! I tried to make a mob (Creature), But I couldnt. Since.. Well When I changed the names and everything, Used honeydew's skin. Changed the spawn rate to.. well I think 100, And didnt find them, CODE:
Please help me as soon as you read this! It would really help me out! :tongue.gif:
I put the Normal Charector skin (Like the steve skin) At MCP/Eclipse/Client/Bin And I didnt find the mob any where ):
Oh and, Just a suggestion, Could you make a tut on how to make More advanced mobs? Like.. Have you seen Mo' Creatures? The way you throw an item at an animal (Cat), They become your pet? How could I do that? Oh and How could I control them? Like.. How could I use a Special item like a .. Light Saber for example.. and When I right click a tree they go and punch the tree down, and put it in my chest, or just give it to me?
Hey! I tried to make a mob (Creature), But I couldnt. Since.. Well When I changed the names and everything, Used honeydew's skin. Changed the spawn rate to.. well I think 100, And didnt find them, CODE:
Please help me as soon as you read this! It would really help me out! :tongue.gif:
I put the Normal Charector skin (Like the steve skin) At MCP/Eclipse/Client/Bin And I didnt find the mob any where ):
Oh and, Just a suggestion, Could you make a tut on how to make More advanced mobs? Like.. Have you seen Mo' Creatures? The way you throw an item at an animal (Cat), They become your pet? How could I do that? Oh and How could I control them? Like.. How could I use a Special item like a .. Light Saber for example.. and When I right click a tree they go and punch the tree down, and put it in my chest, or just give it to me?
And Amazing tutorials! +1 from me!
In the AddRenderer method in your mod_ class, you put
mod_HumanNPC.class
where it should be
EntityFreak.class
Same thing with your ModLoader.RegisterEntityID and ModLoader.AddSpawn lines. Also put a slash before Freak1.png in your entity file for the texture.
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
Not to spam you, but have you looked into the stairs problem yet?
Also: you may want to edit the stairs tutorial as the mod_stairs file isn't exactly the same as a normal block (the BlockNamehere[Stairs])
-Thank You-
Hi, I'm new to modding and I was wandering where the backslash which should be a foward slash is?
RubyOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Libraries\Pictures/RubyOre.png");
OK, if you look on this line, the one after Libraries but before Pictures, at least that is what I think.
Not to spam you, but have you looked into the stairs problem yet?
Also: you may want to edit the stairs tutorial as the mod_stairs file isn't exactly the same as a normal block (the BlockNamehere[Stairs])
-Thank You-
Ok, I'll change it, thanks :smile.gif: I can't really see what is causing the bug. Give me a few minutes and I'll have a look.
Teach about block generation please, I really need to know this for my mod. I would greatly appreciate if you did this!
Generation is next on my list to do. (I'm not doing the order of the list on the OP, just whatever I can get time to do).
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
Alright so I made my own custom mob using Techne and I got it to work and all I even see it in game with its skin there is just one problem. He does not have a walking animation.
ModLoader.AddRecipe(new ItemStack(Hamburger, 1), new Object [] {"#%#", "#@#", "#%#", Character.valueOf('%'), Item.bread, Character.valueOf('@'), Item.steak});I'm getting that same error when I try to recompile it.
nullPointException
does not exist, however, does.
The only problem I can see is that you have a backslash in there instead of a forward slash.
Thanks, I appreciate it :smile.gif: Not quite sure what you mean with your request though.
together they are powerful beyond imagination."
mod_HumanNPC : http://pastebin.com/nRjtkypc
EntityFreak : http://pastebin.com/j5pPcxAS
Please help me as soon as you read this! It would really help me out! :tongue.gif:
I put the Normal Charector skin (Like the steve skin) At MCP/Eclipse/Client/Bin And I didnt find the mob any where ):
Oh and, Just a suggestion, Could you make a tut on how to make More advanced mobs? Like.. Have you seen Mo' Creatures? The way you throw an item at an animal (Cat), They become your pet? How could I do that? Oh and How could I control them? Like.. How could I use a Special item like a .. Light Saber for example.. and When I right click a tree they go and punch the tree down, and put it in my chest, or just give it to me?
And Amazing tutorials! +1 from me!
In the AddRenderer method in your mod_ class, you put where it should be Same thing with your ModLoader.RegisterEntityID and ModLoader.AddSpawn lines. Also put a slash before Freak1.png in your entity file for the texture.
together they are powerful beyond imagination."
THANK YOU SOO MUCH!! It worked!!!!!
Thanks for all your help! If I could, I would spam the +1 button for A whole week! thanks!
together they are powerful beyond imagination."
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAlso: you may want to edit the stairs tutorial as the mod_stairs file isn't exactly the same as a normal block (the BlockNamehere[Stairs])
-Thank You-
Could you tell me before you add it to the OP if you do??
Thanks! :biggrin.gif:
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumOK, if you look on this line, the one after Libraries but before Pictures, at least that is what I think.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumdoes it still give you the same error?
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI would ask that you post your code so that someone could better help you.
Ok, I'll change it, thanks :smile.gif: I can't really see what is causing the bug. Give me a few minutes and I'll have a look.
Not sure. Try asking in Mod Development.
I'll add this into the OP because someone asked about it before. Here is a link for the post where I replied to them.
Can you ask nicely?
Generation is next on my list to do. (I'm not doing the order of the list on the OP, just whatever I can get time to do).
together they are powerful beyond imagination."
Then I tried to make a new mob, and It broke the other one. What do I do??
It says when I use eclipse to Run minecraft "Skipping Creature with Entity Freak" Or something like that, and It spawns me a sheep instead.
mod_HumanNPC: http://pastebin.com/py8R1gY3
EntityFreak: http://pastebin.com/ev005fqL
Please help me!
thanks
Here is my code.
ModelHellhound:
package net.minecraft.src; public class ModelHellhound extends ModelBase { //fields ModelRenderer Shape1; ModelRenderer WolfHead; ModelRenderer Body; ModelRenderer Leg1; ModelRenderer Leg2; ModelRenderer Leg3; ModelRenderer Leg4; ModelRenderer Tail; ModelRenderer Ear1; ModelRenderer Ear2; ModelRenderer Nose; public ModelHellhound() { textureWidth = 128; textureHeight = 32; Shape1 = new ModelRenderer(this, 32, 7); Shape1.addBox(-4F, 10F, -4F, 6, 8, 8); Shape1.setRotationPoint(0F, 0F, 0F); Shape1.setTextureSize(128, 32); Shape1.mirror = true; setRotation(Shape1, 0F, 0F, 0F); WolfHead = new ModelRenderer(this, 111, 20); WolfHead.addBox(-3F, -3F, -2F, 6, 7, 5); WolfHead.setRotationPoint(-1F, 13.5F, -7F); WolfHead.setTextureSize(128, 32); WolfHead.mirror = true; setRotation(WolfHead, 0F, 0F, 0F); Body = new ModelRenderer(this, 18, 16); Body.addBox(-4F, -6F, -3F, 6, 10, 6); Body.setRotationPoint(0F, 14F, 10F); Body.setTextureSize(128, 32); Body.mirror = true; setRotation(Body, 1.570796F, 0F, 0F); Leg1 = new ModelRenderer(this, 0, 18); Leg1.addBox(-1F, 0F, -4F, 2, 8, 2); Leg1.setRotationPoint(-2.5F, 16F, 15F); Leg1.setTextureSize(128, 32); Leg1.mirror = true; setRotation(Leg1, 0F, 0F, 0F); Leg2 = new ModelRenderer(this, 0, 18); Leg2.addBox(-1F, 0F, -4F, 2, 8, 2); Leg2.setRotationPoint(0.5F, 16F, 15F); Leg2.setTextureSize(128, 32); Leg2.mirror = true; setRotation(Leg2, 0F, 0F, 0F); Leg3 = new ModelRenderer(this, 8, 22); Leg3.addBox(-1F, 0F, -1F, 2, 8, 2); Leg3.setRotationPoint(-2.5F, 16F, -4F); Leg3.setTextureSize(128, 32); Leg3.mirror = true; setRotation(Leg3, 0F, 0F, 0F); Leg4 = new ModelRenderer(this, 26, 18); Leg4.addBox(-1F, 0F, -1F, 2, 8, 2); Leg4.setRotationPoint(0.5F, 16F, -4F); Leg4.setTextureSize(128, 32); Leg4.mirror = true; setRotation(Leg4, 0F, 0F, 0F); Tail = new ModelRenderer(this, 9, 18); Tail.addBox(-1F, -3F, -1F, 2, 8, 2); Tail.setRotationPoint(-1F, 14F, 16F); Tail.setTextureSize(128, 32); Tail.mirror = true; setRotation(Tail, 1.130069F, 0F, 0F); Ear1 = new ModelRenderer(this, 31, 0); Ear1.addBox(-3F, -4F, 0F, 2, 6, 1); Ear1.setRotationPoint(-1F, 9.5F, -7F); Ear1.setTextureSize(128, 32); Ear1.mirror = true; setRotation(Ear1, 0F, 0F, 0F); Ear2 = new ModelRenderer(this, 54, 22); Ear2.addBox(1F, -8F, 0F, 2, 6, 1); Ear2.setRotationPoint(-1F, 13.5F, -7F); Ear2.setTextureSize(128, 32); Ear2.mirror = true; setRotation(Ear2, 0F, 0F, 0F); Nose = new ModelRenderer(this, 97, 3); Nose.addBox(-2F, 0F, -8F, 3, 3, 7); Nose.setRotationPoint(-0.5F, 13.5F, -5F); Nose.setTextureSize(128, 32); Nose.mirror = true; setRotation(Nose, 0.0174533F, 0F, 0F); } public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); setRotationAngles(f, f1, f2, f3, f4, f5); Shape1.render(f5); WolfHead.render(f5); Body.render(f5); Leg1.render(f5); Leg2.render(f5); Leg3.render(f5); Leg4.render(f5); Tail.render(f5); Ear1.render(f5); Ear2.render(f5); Nose.render(f5); } private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z; } public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5) { super.setRotationAngles(f, f1, f2, f3, f4, f5); } }RenderHellhound:
package net.minecraft.src; import org.lwjgl.opengl.GL11; public class RenderHellhound extends RenderLiving { protected void preRenderScale(EntityHellhound entity, float f) { GL11.glScalef(1F, 1F, 1F); } public RenderHellhound(ModelHellhound modelbase, float f) { super(modelbase, f); } public void func_177_a(EntityHellhound entity, double d, double d1, double d2, float f, float f1) { super.doRenderLiving(entity, d, d1, d2, f, f1); } public void doRenderLiving(EntityLiving entityliving, double d, double d1, double d2, float f, float f1) { super.doRenderLiving((EntityHellhound) entityliving, d, d1, d2, f, f1); } public void doRender(Entity entity, double d, double d1, double d2, float f, float f1) { doRenderLiving((EntityHellhound)entity, d, d1, d2, f, f1); } protected void preRenderCallback(EntityLiving entityliving, float f) { preRenderScale((EntityHellhound)entityliving, f); } }mod_Hellhound:
package net.minecraft.src; import java.util.Map; public class mod_Hellhound extends BaseMod { public void load() { ModLoader.RegisterEntityID(EntityHellhound.class, "HellHound", ModLoader.getUniqueEntityId()); ModLoader.AddSpawn(EntityHellhound.class, 2, 2, 2, EnumCreatureType.monster); } public void AddRenderer(Map map) { map.put(EntityHellhound.class, new RenderHellhound(new ModelHellhound(), 0.5F)); } public String getVersion() { return "1.1"; } }EntityHellhound:
package net.minecraft.src; import java.util.Random; public class EntityHellhound extends EntityMob { public EntityHellhound(World world) { super(world); texture = "/Skins/Hellhound.png"; moveSpeed = 0.5F; attackStrength = 7; } public int getMaxHealth() { return 35; } protected String getLivingSound() { return "mob.villager.default"; } protected String getHurtSound() { return "mob.villager.defaulthurt"; } protected String getDeathSound() { return "mob.villager.defaultdeath"; } protected int getDropItemId() { return Item.ingotIron.shiftedIndex; } protected boolean canDespawn() { return false; } }So yer it does not have a walking animation. Got any idea?