“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
Nice work! I am currently in an AP Comp Sci class using Eclipse, soon to be trying some Minecraft modding.
Thanks. Put that quote in a spoiler or remove it please. People don't like them and it's in the rules not to post them. :smile.gif:
Rollback Post to RevisionRollBack
“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."
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$ bash recompile.sh
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
> Done in 20.39 seconds
> Recompiling server...
!! Can not find server sources !!
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$ bash startclient.sh
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
[13:29:31] 27 achievements
[13:29:31] 174 recipes
[13:29:32] ModLoader 1.1 Initializing...
[13:29:32] Mod Initialized: mod_Dumahim 1.1
[13:29:32] Mod Initialized: mod_DumahimAdult 1.1
[13:29:32] Mod Initialized: mod_Kain 1.1
[13:29:32] Mod Initialized: mod_KainSoulReaver 1.1
[13:29:32] Failed to load mod from "mod_PowerBolt.class"
[13:29:32] Mod Initialized: mod_Soul 1.1
[13:29:32] Mod Initialized: mod_SoulReaver 1.1
[13:29:32] Mod Loaded: mod_Dumahim 1.1
[13:29:32] Mod Loaded: mod_DumahimAdult 1.1
[13:29:32] Mod Loaded: mod_Kain 1.1
[13:29:32] Overriding /gui/items.png with /pics/KainSoulReaver.png @ 38. 85 left.
[13:29:32] Mod Loaded: mod_KainSoulReaver 1.1
[13:29:32] Overriding /gui/items.png with /pics/Soul.png @ 102. 84 left.
[13:29:32] Mod Loaded: mod_Soul 1.1
[13:29:32] Overriding /gui/items.png with /pics/SoulReaver.png @ 118. 83 left.
[13:29:32] Mod Loaded: mod_SoulReaver 1.1
[13:29:32] Done.
[13:29:32] Loading: net.java.games.input.OSXEnvironmentPlugin
[13:29:32]
[13:29:32] Starting up SoundSystem...
[13:29:32] Initializing LWJGL OpenAL
[13:29:32] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[13:29:33] OpenAL initialized.
[13:29:33]
[13:29:34] java.lang.RuntimeException: java.lang.Exception: Image not found: /pics/KainSoulReaver.png
[13:29:34] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1356)
[13:29:34] at net.minecraft.src.ModLoader.OnTick(ModLoader.java:1069)
[13:29:34] at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:18)
[13:29:34] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:737)
[13:29:34] at net.minecraft.client.Minecraft.run(Minecraft.java:634)
[13:29:34] at java.lang.Thread.run(Thread.java:680)
[13:29:34] Caused by: java.lang.Exception: Image not found: /pics/KainSoulReaver.png
[13:29:34] at net.minecraft.src.ModLoader.loadImage(ModLoader.java:1007)
[13:29:34] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1348)
[13:29:34] ... 5 more
[13:29:34] Stopping!
[13:29:34]
[13:29:34] SoundSystem shutting down...
[13:29:34] Author: Paul Lamb, www.paulscode.com
[13:29:34]
[13:29:42]
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$
First when i recompile, it's all fine but when i run minecraft in the startclient or the eclipse don't open !!!!!
Pleae answear me!!
Thanks! And i use a tut of the bow. Link
Can You PLEASE edit this line of code so it could work??
Aslo, Rose - Dye is ,1 Rite? Cause I checked almost all of them, and none of them seemed to work ):
ModLoader.AddRecipe(new ItemStack(StrawBerryIceCream, 1), new Object [] {
"@ ", "# ", "% ", Character.valueOf('@'), mod_Foods.IceCreamCup, ('#'), mod_Foods.IceShade, ('%'), new ItemStack(Item.dyePowder, 0, 1) //This LINE :biggrin.gif:
});
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$ bash recompile.sh
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
> Done in 20.39 seconds
> Recompiling server...
!! Can not find server sources !!
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$ bash startclient.sh
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
[13:29:31] 27 achievements
[13:29:31] 174 recipes
[13:29:32] ModLoader 1.1 Initializing...
[13:29:32] Mod Initialized: mod_Dumahim 1.1
[13:29:32] Mod Initialized: mod_DumahimAdult 1.1
[13:29:32] Mod Initialized: mod_Kain 1.1
[13:29:32] Mod Initialized: mod_KainSoulReaver 1.1
[13:29:32] Failed to load mod from "mod_PowerBolt.class"
[13:29:32] Mod Initialized: mod_Soul 1.1
[13:29:32] Mod Initialized: mod_SoulReaver 1.1
[13:29:32] Mod Loaded: mod_Dumahim 1.1
[13:29:32] Mod Loaded: mod_DumahimAdult 1.1
[13:29:32] Mod Loaded: mod_Kain 1.1
[13:29:32] Overriding /gui/items.png with /pics/KainSoulReaver.png @ 38. 85 left.
[13:29:32] Mod Loaded: mod_KainSoulReaver 1.1
[13:29:32] Overriding /gui/items.png with /pics/Soul.png @ 102. 84 left.
[13:29:32] Mod Loaded: mod_Soul 1.1
[13:29:32] Overriding /gui/items.png with /pics/SoulReaver.png @ 118. 83 left.
[13:29:32] Mod Loaded: mod_SoulReaver 1.1
[13:29:32] Done.
[13:29:32] Loading: net.java.games.input.OSXEnvironmentPlugin
[13:29:32]
[13:29:32] Starting up SoundSystem...
[13:29:32] Initializing LWJGL OpenAL
[13:29:32] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[13:29:33] OpenAL initialized.
[13:29:33]
[13:29:34] java.lang.RuntimeException: java.lang.Exception: Image not found: /pics/KainSoulReaver.png
[13:29:34] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1356)
[13:29:34] at net.minecraft.src.ModLoader.OnTick(ModLoader.java:1069)
[13:29:34] at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:18)
[13:29:34] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:737)
[13:29:34] at net.minecraft.client.Minecraft.run(Minecraft.java:634)
[13:29:34] at java.lang.Thread.run(Thread.java:680)
[13:29:34] Caused by: java.lang.Exception: Image not found: /pics/KainSoulReaver.png
[13:29:34] at net.minecraft.src.ModLoader.loadImage(ModLoader.java:1007)
[13:29:34] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1348)
[13:29:34] ... 5 more
[13:29:34] Stopping!
[13:29:34]
[13:29:34] SoundSystem shutting down...
[13:29:34] Author: Paul Lamb, www.paulscode.com
[13:29:34]
[13:29:42]
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$
First when i recompile, it's all fine but when i run minecraft in the startclient or the eclipse don't open !!!!!
Pleae answear me!!
Thanks! And i use a tut of the bow. Link
I beleave .. You are missing 5 pictures :biggrin.gif: 1 of them = KainSoulReaver.png
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$ bash recompile.sh
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
> Done in 20.39 seconds
> Recompiling server...
!! Can not find server sources !!
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$ bash startclient.sh
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
[13:29:31] 27 achievements
[13:29:31] 174 recipes
[13:29:32] ModLoader 1.1 Initializing...
[13:29:32] Mod Initialized: mod_Dumahim 1.1
[13:29:32] Mod Initialized: mod_DumahimAdult 1.1
[13:29:32] Mod Initialized: mod_Kain 1.1
[13:29:32] Mod Initialized: mod_KainSoulReaver 1.1
[13:29:32] Failed to load mod from "mod_PowerBolt.class"
[13:29:32] Mod Initialized: mod_Soul 1.1
[13:29:32] Mod Initialized: mod_SoulReaver 1.1
[13:29:32] Mod Loaded: mod_Dumahim 1.1
[13:29:32] Mod Loaded: mod_DumahimAdult 1.1
[13:29:32] Mod Loaded: mod_Kain 1.1
[13:29:32] Overriding /gui/items.png with /pics/KainSoulReaver.png @ 38. 85 left.
[13:29:32] Mod Loaded: mod_KainSoulReaver 1.1
[13:29:32] Overriding /gui/items.png with /pics/Soul.png @ 102. 84 left.
[13:29:32] Mod Loaded: mod_Soul 1.1
[13:29:32] Overriding /gui/items.png with /pics/SoulReaver.png @ 118. 83 left.
[13:29:32] Mod Loaded: mod_SoulReaver 1.1
[13:29:32] Done.
[13:29:32] Loading: net.java.games.input.OSXEnvironmentPlugin
[13:29:32]
[13:29:32] Starting up SoundSystem...
[13:29:32] Initializing LWJGL OpenAL
[13:29:32] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[13:29:33] OpenAL initialized.
[13:29:33]
[13:29:34] java.lang.RuntimeException: java.lang.Exception: Image not found: /pics/KainSoulReaver.png
[13:29:34] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1356)
[13:29:34] at net.minecraft.src.ModLoader.OnTick(ModLoader.java:1069)
[13:29:34] at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:18)
[13:29:34] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:737)
[13:29:34] at net.minecraft.client.Minecraft.run(Minecraft.java:634)
[13:29:34] at java.lang.Thread.run(Thread.java:680)
[13:29:34] Caused by: java.lang.Exception: Image not found: /pics/KainSoulReaver.png
[13:29:34] at net.minecraft.src.ModLoader.loadImage(ModLoader.java:1007)
[13:29:34] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1348)
[13:29:34] ... 5 more
[13:29:34] Stopping!
[13:29:34]
[13:29:34] SoundSystem shutting down...
[13:29:34] Author: Paul Lamb, www.paulscode.com
[13:29:34]
[13:29:42]
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$
First when i recompile, it's all fine but when i run minecraft in the startclient or the eclipse don't open !!!!!
Pleae answear me!!
Thanks! And i use a tut of the bow. Link
And how i make my mobs drop xp orbs ?
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$ bash recompile.sh
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
> Done in 20.39 seconds
> Recompiling server...
!! Can not find server sources !!
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$ bash startclient.sh
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
[13:29:31] 27 achievements
[13:29:31] 174 recipes
[13:29:32] ModLoader 1.1 Initializing...
[13:29:32] Mod Initialized: mod_Dumahim 1.1
[13:29:32] Mod Initialized: mod_DumahimAdult 1.1
[13:29:32] Mod Initialized: mod_Kain 1.1
[13:29:32] Mod Initialized: mod_KainSoulReaver 1.1
[13:29:32] Failed to load mod from "mod_PowerBolt.class"
[13:29:32] Mod Initialized: mod_Soul 1.1
[13:29:32] Mod Initialized: mod_SoulReaver 1.1
[13:29:32] Mod Loaded: mod_Dumahim 1.1
[13:29:32] Mod Loaded: mod_DumahimAdult 1.1
[13:29:32] Mod Loaded: mod_Kain 1.1
[13:29:32] Overriding /gui/items.png with /pics/KainSoulReaver.png @ 38. 85 left.
[13:29:32] Mod Loaded: mod_KainSoulReaver 1.1
[13:29:32] Overriding /gui/items.png with /pics/Soul.png @ 102. 84 left.
[13:29:32] Mod Loaded: mod_Soul 1.1
[13:29:32] Overriding /gui/items.png with /pics/SoulReaver.png @ 118. 83 left.
[13:29:32] Mod Loaded: mod_SoulReaver 1.1
[13:29:32] Done.
[13:29:32] Loading: net.java.games.input.OSXEnvironmentPlugin
[13:29:32]
[13:29:32] Starting up SoundSystem...
[13:29:32] Initializing LWJGL OpenAL
[13:29:32] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[13:29:33] OpenAL initialized.
[13:29:33]
[13:29:34] java.lang.RuntimeException: java.lang.Exception: Image not found: /pics/KainSoulReaver.png
[13:29:34] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1356)
[13:29:34] at net.minecraft.src.ModLoader.OnTick(ModLoader.java:1069)
[13:29:34] at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:18)
[13:29:34] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:737)
[13:29:34] at net.minecraft.client.Minecraft.run(Minecraft.java:634)
[13:29:34] at java.lang.Thread.run(Thread.java:680)
[13:29:34] Caused by: java.lang.Exception: Image not found: /pics/KainSoulReaver.png
[13:29:34] at net.minecraft.src.ModLoader.loadImage(ModLoader.java:1007)
[13:29:34] at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1348)
[13:29:34] ... 5 more
[13:29:34] Stopping!
[13:29:34]
[13:29:34] SoundSystem shutting down...
[13:29:34] Author: Paul Lamb, www.paulscode.com
[13:29:34]
[13:29:42]
Mac-mini-de-camilo-saraiva:mcp56 20-41-08 camilosaraiva$
First when i recompile, it's all fine but when i run minecraft in the startclient or the eclipse don't open !!!!!
Pleae answear me!!
Thanks! And i use a tut of the bow. Link
And how i make my mobs drop xp orbs ?
Well it says that the problem was caused by an 'Image not found[at]: /pics/KainSoulReaver.png' which means that the picture in the folder 'pics' in the minecraft.jar file is not called (and it has to be case specific) 'KainSoulReaver' or the picture isn't a PNG.
And I know it's in the To-Do list, but can you show us how to make Advanced mobs AKA Elephants.. Whales.. Rhinos.. Well, Any animal that isnt vanilla and isnt an NPC? (Human NPC)
Also, Can you tell me how I can change how I eat something? Like.. I made a mod (My Banner, bellow) Say.. I ate .. Scrambled eggs, How do I make my own sounds? Rather than the Crunching and apple thing?
Okay, after I go into eclipse without modding any files at all, I saw that net.minecraft.src had an error message, so I hit 'play' then it said there was a problem with 'client' so I hit 'proceed' and got this error:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
SoundSystem cannot be resolved to a type
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystemConfig cannot be resolved
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
at net.minecraft.src.SoundManager.<init>(SoundManager.java:6)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:203)
at net.minecraft.src.MinecraftImpl.<init>(MinecraftImpl.java:13)
at net.minecraft.client.Minecraft.startMainThread(Minecraft.java:1984)
at net.minecraft.client.Minecraft.startMainThread1(Minecraft.java:1970)
at net.minecraft.client.Minecraft.main(Minecraft.java:2032)
at Start.main(Start.java:25)
Rollback Post to RevisionRollBack
Freakin' useful mod (I only use it for SSP!)
I like to play FTB with some additions. Also custom modsets are awesome!
Can You PLEASE edit this line of code so it could work??
Aslo, Rose - Dye is ,1 Rite? Cause I checked almost all of them, and none of them seemed to work ):
ModLoader.AddRecipe(new ItemStack(StrawBerryIceCream, 1), new Object [] {
"@ ", "# ", "% ", Character.valueOf('@'), mod_Foods.IceCreamCup, ('#'), mod_Foods.IceShade, ('%'), new ItemStack(Item.dyePowder, 0, 1) //This LINE :biggrin.gif:
});
You need to put Character.valueOf before every character.
And I know it's in the To-Do list, but can you show us how to make Advanced mobs AKA Elephants.. Whales.. Rhinos.. Well, Any animal that isnt vanilla and isnt an NPC? (Human NPC)
Also, Can you tell me how I can change how I eat something? Like.. I made a mod (My Banner, bellow) Say.. I ate .. Scrambled eggs, How do I make my own sounds? Rather than the Crunching and apple thing?
I'm going to do that soon
I'm not teaching how to do animation. There is a heap already in the game to learn from, or there might even be some tutorials on the web somewhere.
I think you would need to make your own ItemFood kind of file, and using AudioMod, add in your sound there. Once again, I'm not teaching how to use audiomod.
Okay, after I go into eclipse without modding any files at all, I saw that net.minecraft.src had an error message, so I hit 'play' then it said there was a problem with 'client' so I hit 'proceed' and got this error:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
SoundSystem cannot be resolved to a type
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystemConfig cannot be resolved
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
at net.minecraft.src.SoundManager.<init>(SoundManager.java:6)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:203)
at net.minecraft.src.MinecraftImpl.<init>(MinecraftImpl.java:13)
at net.minecraft.client.Minecraft.startMainThread(Minecraft.java:1984)
at net.minecraft.client.Minecraft.startMainThread1(Minecraft.java:1970)
at net.minecraft.client.Minecraft.main(Minecraft.java:2032)
at Start.main(Start.java:25)
Get a clean jar, install ModLoader, and decompile again.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
This is the line im getting the error on
ModLoader.AddRecipe(new ItemStack(TestSword, 1), new Object [] {"#", Character.valueOf("#"), Item.swordDiamond});
Please go easy on me this is my first time modding and it was about to be a big finish until i came upon this error
This is the line im getting the error on
ModLoader.AddRecipe(new ItemStack(TestSword, 1), new Object [] {"#", Character.valueOf("#"), Item.swordDiamond});
Please go easy on me this is my first time modding and it was about to be a big finish until i came upon this error
It should be
Character.valueOf('#')
It needs to have single quotations
Double quotes are for strings
Single quotes are for characters.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
YOU HELPED ME OUT ALOT THANKS :smile.gif: by the way im ratting your Profile! :smile.gif:
Glad I could help, and thanks! :biggrin.gif:
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
Show me your code with the new mob in it.
together they are powerful beyond imagination."
Thanks. Put that quote in a spoiler or remove it please. People don't like them and it's in the rules not to post them. :smile.gif:
together they are powerful beyond imagination."
I want to use dyes in my crafting recipe, But IDK how, Maybe you do?
also, Can you tell me what I did wrong over here??
ModLoader.AddRecipe(new ItemStack(StrawBerryIceCream, 1), new Object [] { "@ ", "# ", "% ", Character.valueOf('@'), mod_Foods.IceCreamCup, ('#'), mod_Foods.IceShade, ('%'), new ItemStack(Item.dyePowder, 0, 1) });Thanks
I replied to your topic in Mod Development.
together they are powerful beyond imagination."
Pleae answear me!!
Thanks! And i use a tut of the bow. Link
Yes, I know, It didnt work ):!!!
Can You PLEASE edit this line of code so it could work??
Aslo, Rose - Dye is ,1 Rite? Cause I checked almost all of them, and none of them seemed to work ):
ModLoader.AddRecipe(new ItemStack(StrawBerryIceCream, 1), new Object [] { "@ ", "# ", "% ", Character.valueOf('@'), mod_Foods.IceCreamCup, ('#'), mod_Foods.IceShade, ('%'), new ItemStack(Item.dyePowder, 0, 1) //This LINE :biggrin.gif: });I beleave .. You are missing 5 pictures :biggrin.gif: 1 of them = KainSoulReaver.png
Nope,i have al the textures in the right place :sad.gif:
I'm wondering -- is there any way to have images bigger than 16x16? I'm not meaning HD; I'm meaning like having Greatswords and such :ohmy.gif:
Pleae answear me!!
Thanks! And i use a tut of the bow. Link
And how i make my mobs drop xp orbs ?
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWell it says that the problem was caused by an 'Image not found[at]: /pics/KainSoulReaver.png' which means that the picture in the folder 'pics' in the minecraft.jar file is not called (and it has to be case specific) 'KainSoulReaver' or the picture isn't a PNG.
And I know it's in the To-Do list, but can you show us how to make Advanced mobs AKA Elephants.. Whales.. Rhinos.. Well, Any animal that isnt vanilla and isnt an NPC? (Human NPC)
Also, Can you tell me how I can change how I eat something? Like.. I made a mod (My Banner, bellow) Say.. I ate .. Scrambled eggs, How do I make my own sounds? Rather than the Crunching and apple thing?
I like to play FTB with some additions. Also custom modsets are awesome!
You need to put Character.valueOf before every character.
ModLoader.AddRecipe(new ItemStack(StrawBerryIceCream, 1), new Object [] { "@ ", "# ", "% ", Character.valueOf('@'), mod_Foods.IceCreamCup, Character.valueOf('#'), mod_Foods.IceShade, Character.valueOf('%'), new ItemStack(Item.dyePowder, 1, 1) });I believe that if your image is more than 16x16, and don't have the game patched or anything, it automatically resizes the image down.
Get a clean jar, install ModLoader, and decompile again.
together they are powerful beyond imagination."
Here it is
The method valueOf(char) in the type Character is not applicable for the arguments (String) mod_Test2.java
Heres is the Code
package net.minecraft.src;
public class mod_Test2 extends BaseMod
{
public static final Item TestSword = new ItemSwordTest(160).setItemName("TestSword");
public void load()
{
TestSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/test/testsword.png");
ModLoader.AddName(TestSword, "Test Sword");
ModLoader.AddRecipe(new ItemStack(TestSword, 1), new Object [] {"#", Character.valueOf("#"), Item.swordDiamond});
}
public String getVersion()
{
return "1.1";
}
}
This is the line im getting the error on
ModLoader.AddRecipe(new ItemStack(TestSword, 1), new Object [] {"#", Character.valueOf("#"), Item.swordDiamond});
Please go easy on me this is my first time modding and it was about to be a big finish until i came upon this error
It should be
Character.valueOf('#')It needs to have single quotations
Double quotes are for strings
Single quotes are for characters.
together they are powerful beyond imagination."
dylanrox44
Helping people.
Glad I could help, and thanks! :biggrin.gif:
together they are powerful beyond imagination."