[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
+15
yazan123
N1xx1
bardock10
urkkle
Zblade93
JoeySalsa
tanzkua
cloudstrife29461
guitarmen
Hollywood_Undead
zdmshadow
PlayerTim6
Zeperus
dittos
Slymask3
19 posters
Page 2 of 5
Page 2 of 5 • 1, 2, 3, 4, 5
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Oh I see,PlayerTim6 wrote:Alright.. I did install modLoader, but didn't decompile with them..
Just try it, and post if it worked.
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
It worked! Your tuts really helped me out
PlayerTim6- Posts : 8
Join date : 2011-07-29
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Thank You.PlayerTim6 wrote:It worked! Your tuts really helped me out
I'm glad I helped someone!
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
And now I neep help againSlymask3 wrote:Thank You.PlayerTim6 wrote:It worked! Your tuts really helped me out
I'm glad I helped someone!
I want to know, how do I declare Lapis Lazuli in the .java file? I wrote 'Item.lapislazuli' but it doesn't seem to work, it gives me an error...
PlayerTim6- Posts : 8
Join date : 2011-07-29
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Well, Lapis Lazuli is a Dye with a damage value of 4.PlayerTim6 wrote:And now I neep help again
I want to know, how do I declare Lapis Lazuli in the .java file? I wrote 'Item.lapislazuli' but it doesn't seem to work, it gives me an error...
What are you trying to do with the Lapis Lazuli?
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
I'm trying to use it in a recipe for a block.Slymask3 wrote:Well, Lapis Lazuli is a Dye with a damage value of 4.PlayerTim6 wrote:And now I neep help again
I want to know, how do I declare Lapis Lazuli in the .java file? I wrote 'Item.lapislazuli' but it doesn't seem to work, it gives me an error...
What are you trying to do with the Lapis Lazuli?
PlayerTim6- Posts : 8
Join date : 2011-07-29
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Alright, you have to use a different Recipe code.PlayerTim6 wrote:I'm trying to use it in a recipe for a block.
I will add a in-depth tutorial soon though.
But here is the simple code:
- Code:
ModLoader.AddShapelessRecipe(new ItemStack(IB.NAME, QUANTITY), new Object[] {new ItemStack(IB2.NAME2, QUANTITY2, DAMAGEVALUE)});
NAME = The name of the Item/Block.
QUANTITY = The quantity of that item/block.
IB2 = Item/Block.
NAME2 = The name of the Item/Block.
QUANTITY2 = The quantity of that item/block.
DAMAGEVALUE = the damage value of the item/block.
Now here is the same one, but added one more ingredient the recipe:
- Code:
ModLoader.AddShapelessRecipe(new ItemStack(IB.NAME, QUANTITY), new Object[] {new ItemStack(IB2.NAME2, QUANTITY2, DAMAGEVALUE), new ItemStack(IB3.NAME3, QUANTITY3, DAMAGEVALUE2)});
Example:
- Code:
ModLoader.AddShapelessRecipe(new ItemStack(Item.diamond, 1), new Object[] {new ItemStack(Item.dyePowder, 1, 11), new ItemStack(Block.obsidian, 1)});
Here is a picture of all the blocks/items in Minecraft. It also has the damage values of the items/blocks.
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Yes. It did. And now my mod adds 6 blocks, 6 gems, and 6 armor sets I'm going to add tools too!Slymask3 wrote:So did it work, PlayerTim6?
PlayerTim6- Posts : 8
Join date : 2011-07-29
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
That's great!PlayerTim6 wrote:Yes. It did. And now my mod adds 6 blocks, 6 gems, and 6 armor sets I'm going to add tools too!
I'm going to add a Toolset Tutorial.
I would have added it earlier, but I was having troubles with my PaperCraft mod.
I was adding a Properties file, I finally got it to work, but now the mulberry tree isn't working.
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Ok, I'm been asking this everywhere in the Minecraft forum's modding section, and no one seems to know how to do this. I'm trying to make cake drop cake (block not item) only when it doesn't have any slice missing. I've been trying things like
Great tutorials btw; very descriptive.
- Code:
public int quantityDropped(Random random, int j)
{
if(j == 0)
{
return 1;
} else
{
return 0;
}
}
- Code:
public int quantityDropped(Random random, EntityPlayer entityplayer)
{
if(entityplayer.health == 20)
{
return 1;
}
if(entityplayer.health < 20)
{
return 0;
} else
{
return 0;
}
}
Great tutorials btw; very descriptive.
zdmshadow- Minecraft : zdmshadow
YouTube : zdmshadow
Posts : 2
Join date : 2011-08-02
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
I think entityplayer is you
Zeperus- Minecraft : Zeperus
YouTube : Zeperus05
Posts : 96
Join date : 2011-07-26
Age : 28
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
@zdmshadow
I'm not sure, they look like they should work.
I will try to look into it.
@Zeperus
entityplayer is the player, yes.
I'm not sure, they look like they should work.
I will try to look into it.
@Zeperus
entityplayer is the player, yes.
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Thanks! Whenever I posted this on the minecraft forums it was ignored since no one knew the answer.Slymask3 wrote:@zdmshadow
I'm not sure, they look like they should work.
I will try to look into it.
@Zeperus
entityplayer is the player, yes.
zdmshadow- Minecraft : zdmshadow
YouTube : zdmshadow
Posts : 2
Join date : 2011-08-02
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
hey man, i posted on mc forums and got ignored, my question was:
is it supposed to give me a mod_Epic when i reobfuscate?
i got the BlockEpic, but not the mod_Whatever..
the Block ID is 255
and i did get no errors for the mod but got a random error for some kind of boat thing, i havnt made anything that deals with boats..
please reply
is it supposed to give me a mod_Epic when i reobfuscate?
i got the BlockEpic, but not the mod_Whatever..
the Block ID is 255
and i did get no errors for the mod but got a random error for some kind of boat thing, i havnt made anything that deals with boats..
please reply
Hollywood_Undead- Posts : 1
Join date : 2011-08-04
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
found the problem
Last edited by guitarmen on Sun Aug 07, 2011 4:30 am; edited 2 times in total
guitarmen- Posts : 2
Join date : 2011-08-06
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
it won't give you an mod_Epic.class, toul have to make that your ownHollywood_Undead wrote:hey man, i posted on mc forums and got ignored, my question was:
is it supposed to give me a mod_Epic when i reobfuscate?
i got the BlockEpic, but not the mod_Whatever..
the Block ID is 255
and i did get no errors for the mod but got a random error for some kind of boat thing, i havnt made anything that deals with boats..
please reply
guitarmen- Posts : 2
Join date : 2011-08-06
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
guitarmen wrote:it won't give you an mod_Epic.class, toul have to make that your ownHollywood_Undead wrote:hey man, i posted on mc forums and got ignored, my question was:
is it supposed to give me a mod_Epic when i reobfuscate?
i got the BlockEpic, but not the mod_Whatever..
the Block ID is 255
and i did get no errors for the mod but got a random error for some kind of boat thing, i havnt made anything that deals with boats..
please reply
If you reobduscate you get all you modified .java and all your new .java files, converted to .class files
Did you name the mod_Epic .java ? so, that it was mod_Epic.java when you edited ?
If not, then you won't get it as a .class file.
Sometimes, I have to reobfuscate a second time, so that It works ^^
Zeperus- Minecraft : Zeperus
YouTube : Zeperus05
Posts : 96
Join date : 2011-07-26
Age : 28
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
when i have time i will look at this it looks cool
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Hello I have a problem when trying the mod ;(
I don't get any Errors when I recompile it, but when I run startclient.bat to try the mod out it gives this error:
I can understand that it doesn't find LightDirt.png, but the question is why?
I have putted the LightBlocks folder to the src folder.
Because of this error I believe theyre supposed to put on another place, but where?
Please help me
I don't get any Errors when I recompile it, but when I run startclient.bat to try the mod out it gives this error:
- Spoiler:
- Mods loaded: 2
ModLoader Beta 1.7.3
net.minecraft.src.mod_LightBlocks 1.0
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 support@mojang.com.
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT ae8cb290 --------
Generated 21.8.2011 23:04
Minecraft: Minecraft Beta 1.7.3
OS: Windows Vista (x86) version 6.0
Java: 1.6.0_23, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: GeForce 8600 GS/PCI/SSE2/3DNOW! version 3.3.0, NVIDIA Corporation
java.lang.RuntimeException: java.lang.Exception: Image not found: LightBlocks/LightDirt.png
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1161)
at net.minecraft.src.ModLoader.OnTick(ModLoader.java:882)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:24)
at net.minecraft.client.Minecraft.run(Minecraft.java:514)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.Exception: Image not found: LightBlocks/LightDirt.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.java:846)
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1153)
... 4 more
--- END ERROR REPORT 593867b0 ----------
I can understand that it doesn't find LightDirt.png, but the question is why?
I have putted the LightBlocks folder to the src folder.
Because of this error I believe theyre supposed to put on another place, but where?
Please help me
tanzkua- Posts : 5
Join date : 2011-08-21
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
You have to put the LightBlocks folder in the "minecraft.jar" in mcp -> jars -> bin.tanzkua wrote:Hello I have a problem when trying the mod ;(
I don't get any Errors when I recompile it, but when I run startclient.bat to try the mod out it gives this error:
- Spoiler:
Mods loaded: 2
ModLoader Beta 1.7.3
net.minecraft.src.mod_LightBlocks 1.0
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 support@mojang.com.
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT ae8cb290 --------
Generated 21.8.2011 23:04
Minecraft: Minecraft Beta 1.7.3
OS: Windows Vista (x86) version 6.0
Java: 1.6.0_23, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: GeForce 8600 GS/PCI/SSE2/3DNOW! version 3.3.0, NVIDIA Corporation
java.lang.RuntimeException: java.lang.Exception: Image not found: LightBlocks/LightDirt.png
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1161)
at net.minecraft.src.ModLoader.OnTick(ModLoader.java:882)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:24)
at net.minecraft.client.Minecraft.run(Minecraft.java:514)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.Exception: Image not found: LightBlocks/LightDirt.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.java:846)
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.java:1153)
... 4 more
--- END ERROR REPORT 593867b0 ----------
I can understand that it doesn't find LightDirt.png, but the question is why?
I have putted the LightBlocks folder to the src folder.
Because of this error I believe theyre supposed to put on another place, but where?
Please help me
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Yesh It works now Thank you
Also Thanks for these awesome tutorials they are very clear and easy to understand even though my native language isn't english.
Also Thanks for these awesome tutorials they are very clear and easy to understand even though my native language isn't english.
tanzkua- Posts : 5
Join date : 2011-08-21
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Thank you. I appreciate that you used them.tanzkua wrote:Yesh It works now Thank you
Also Thanks for these awesome tutorials they are very clear and easy to understand even though my native language isn't english.
If you are going to publish your mod, could you also put a link to go to these tutorials.
Also, I will add your mod to the "mods created by people using these tutorials".
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
Yes I'm definetely going to put link to these tutorials if I'm going to publish this mod
And I have a noobish question too
Now I can test the mod with mcp startclient.bat, but what if I want try it out
with actual minecraft.
How do I install the mod?
I changed the .java files to class files, and putted them on my minecraft.jar in appdata/roaming/.minecraft/bin, but it crashed my minecraft when I tried to start it.
Please answer this dumb question.
Thank you
And I have a noobish question too
Now I can test the mod with mcp startclient.bat, but what if I want try it out
with actual minecraft.
How do I install the mod?
I changed the .java files to class files, and putted them on my minecraft.jar in appdata/roaming/.minecraft/bin, but it crashed my minecraft when I tried to start it.
Please answer this dumb question.
Thank you
tanzkua- Posts : 5
Join date : 2011-08-21
Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials
You have to run the "reobfuscate.bat".
Then it will detect new files, and edited files.
And convert them to .class files.
Then go to mcp -> reobf -> minecraft to find your files.
Then it will detect new files, and edited files.
And convert them to .class files.
Then go to mcp -> reobf -> minecraft to find your files.
Page 2 of 5 • 1, 2, 3, 4, 5
Page 2 of 5
Permissions in this forum:
You cannot reply to topics in this forum
|
|