TehGimpsters
To view all the forum contents. Please login or register.

Join the forum, it's quick and easy

TehGimpsters
To view all the forum contents. Please login or register.
TehGimpsters
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[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 3 of 5 Previous  1, 2, 3, 4, 5  Next

Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by tanzkua Mon Aug 22, 2011 3:04 pm

Thank you so much for the help <3
I will be putting link to this tutorial if I publish this mod Smile
tanzkua
tanzkua

Posts : 5
Join date : 2011-08-21

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Slymask3 Mon Aug 22, 2011 3:09 pm

Alright, Post a link to your mod here, so I could add it to the "Mods Created by People that used my tutorials" Very Happy
Slymask3
Slymask3
Administrator
Administrator

Minecraft : Slymask3
YouTube : TehGimpsters
Posts : 441
Join date : 2011-07-26
Age : 27
Location : Canada

https://www.youtube.com/tehgimpsters

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by tanzkua Mon Aug 22, 2011 4:35 pm

Okay here's the link to the minecraftforum topic:
http://www.minecraftforum.net/topic/570054-173-lightblockmod-wip/
tanzkua
tanzkua

Posts : 5
Join date : 2011-08-21

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Slymask3 Mon Aug 22, 2011 6:00 pm

tanzkua wrote:Okay here's the link to the minecraftforum topic:
http://www.minecraftforum.net/topic/570054-173-lightblockmod-wip/
Awesome, I will add it ! Very Happy
Slymask3
Slymask3
Administrator
Administrator

Minecraft : Slymask3
YouTube : TehGimpsters
Posts : 441
Join date : 2011-07-26
Age : 27
Location : Canada

https://www.youtube.com/tehgimpsters

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by JoeySalsa Wed Aug 24, 2011 2:27 am

I need help, It works all great until I add the code for the texture for it. It renders out fine, but when I add the texture to the game shit happens. Can someone help me?

Edit:
Even if i take the Texture Code out, minecraft still crashes. The Client Version works fine when I test it out. But when I obfuscate it, it crashes the whole game. Can someone help?
JoeySalsa
JoeySalsa

Minecraft : JoeySalsa
YouTube : GenericalyAwesome
Posts : 2
Join date : 2011-08-24
Age : 27

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Slymask3 Wed Aug 24, 2011 8:47 am

@JoeySalsa

Please post your .java files here, so I could try to find the problem.
Post them in code format inside a spoiler:
Code:
[spoiler][code]BLAH BLAH BLAH[/code][/spoiler]

It will look like this:
Spoiler:
Slymask3
Slymask3
Administrator
Administrator

Minecraft : Slymask3
YouTube : TehGimpsters
Posts : 441
Join date : 2011-07-26
Age : 27
Location : Canada

https://www.youtube.com/tehgimpsters

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by JoeySalsa Wed Aug 24, 2011 7:06 pm

Spoiler:

All the codes

EDIT:
I got it to work now, I didnt have a "clean" enough copy of minecraft for this to work. What happened was some other folders in .minecraft where effecting it.
JoeySalsa
JoeySalsa

Minecraft : JoeySalsa
YouTube : GenericalyAwesome
Posts : 2
Join date : 2011-08-24
Age : 27

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Zblade93 Thu Aug 25, 2011 3:58 am

Hi, I'm having an issue with the tutorial. I do everything as you have(the block and item) and it continues to give me an error saying that the "symbol ModLoader" cannot be found, and I'm wondering why. If you need me to provide you with the code I can. Also, I installed modloader as you said, and deleted META-INF so I'm not sure what's going on. Thanks in advance though.
Zblade93
Zblade93

Posts : 5
Join date : 2011-08-25

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Slymask3 Thu Aug 25, 2011 9:49 am

@Zblade93

Do not delete META-INF when you put ModLoader in the minecraft.jar.
Try to get a clean minecraft.jar, and just add the ModLoader files.
Slymask3
Slymask3
Administrator
Administrator

Minecraft : Slymask3
YouTube : TehGimpsters
Posts : 441
Join date : 2011-07-26
Age : 27
Location : Canada

https://www.youtube.com/tehgimpsters

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Zblade93 Thu Aug 25, 2011 1:49 pm

AH I was wondering if that was the issue! Thanks a lot. I'll try that later and let you know if I'm still getting errors.

edit:

I'm still getting 9 errors saying that it can't find the "symbol ModLoader" I'll post my code to show.

Spoiler:

Also, here's my actual item class

Spoiler:
Zblade93
Zblade93

Posts : 5
Join date : 2011-08-25

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Slymask3 Thu Aug 25, 2011 2:52 pm

Hmm.

Backup those .java files you made.
Run cleanup.bat, then decompile.bat.
Cause thats the only thing I could think of, it should find ModLoader. :O
Slymask3
Slymask3
Administrator
Administrator

Minecraft : Slymask3
YouTube : TehGimpsters
Posts : 441
Join date : 2011-07-26
Age : 27
Location : Canada

https://www.youtube.com/tehgimpsters

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Zblade93 Thu Aug 25, 2011 3:05 pm

Well when I run cleanup, it says that permission is denied, any idea about that?

EDIT: It ran cleanup.bat fine, which is odd since I've been trying to do that for a week, now it says that there's an issue with my "purplestone", not sure why. Says it can't find symbol "purplestone". :\

EDIT(again): I fixed it! Apparently I had some things capitalized that didn't need to be, so that was the issue.
Zblade93
Zblade93

Posts : 5
Join date : 2011-08-25

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by urkkle Thu Aug 25, 2011 7:53 pm

How do you make tools? Is it roughly the same as Armor/Items? Or is it a totally different ball game?
urkkle
urkkle

Posts : 1
Join date : 2011-08-25

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Zblade93 Thu Aug 25, 2011 7:57 pm

EDIT: figured out my problem, thanks for everything, the tutorial, the help, everything!


Last edited by Zblade93 on Thu Aug 25, 2011 8:02 pm; edited 1 time in total
Zblade93
Zblade93

Posts : 5
Join date : 2011-08-25

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Slymask3 Thu Aug 25, 2011 8:01 pm

@urkkle It's kinda different. I will be making the tutorial soon. Very Happy

@Zblade93 You have to put your .class files and the textures in your minecraft.jar. Or if you put "/blahblah/texture1.png" as where your textures are, you have to put them inside the folder "blahblah" in the minecraft.jar. If you want me to explain it more, I will. I just don't have enough time atm. Very Happy
Slymask3
Slymask3
Administrator
Administrator

Minecraft : Slymask3
YouTube : TehGimpsters
Posts : 441
Join date : 2011-07-26
Age : 27
Location : Canada

https://www.youtube.com/tehgimpsters

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Zblade93 Thu Aug 25, 2011 8:04 pm

Slymask3 wrote:@urkkle It's kinda different. I will be making the tutorial soon. Very Happy

@Zblade93 You have to put your .class files and the textures in your minecraft.jar. Or if you put "/blahblah/texture1.png" as where your textures are, you have to put them inside the folder "blahblah" in the minecraft.jar. If you want me to explain it more, I will. I just don't have enough time atm. Very Happy

Thanks, I feel so silly. Right after I asked you a lightbulb went off in my head, I was like put the folder in the jar... duh lol. Thanks though, a lot! And I'm not sure if this will be covered in later tutorials but how do I get my new block to spawn randomly throughout the world? If you can help that'd be great, but if not because of time I definitely understand.
Zblade93
Zblade93

Posts : 5
Join date : 2011-08-25

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by bardock10 Thu Aug 25, 2011 9:25 pm

Code:
== MCP v4.3 ==
> Recompiling client...
javac.exe -g -verbose -classpath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jin
put.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\minec
raft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/patches/*.java fai
led.
Return code : 2

== ERRORS FOUND ==

javac: invalid flag: src/minecraft\net\minecraft\src\BlockRubyOre.Java
Usage: javac <options> <source files>
use -help for a list of possible options
==================

> Done in 2.22 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .

This is my code

Code:
package net.minecraft.src;

public class mod_Ruby extends BaseMod
{
        public static final block rubyore = new BlockRubyOre(ID 97) .setBlockName("rubyore") .setHardness(3F) .setResistance(1F);
       
       
        public String Version()
        {
                return "0.1";
        }
       
        public mod_Ruby ()
          {
          rubyore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Jake/RubyOre.png");
          ModLoader.RegisterBlock(rubyore);
          ModLoader.AddName(rubyore, "RubyOre");
         
          ModLoader.AddShapelessRecipe(new ItemStack(Block.oreiron, 1), new Object[] {
          new ItemStack(Item.redstone,1, 340,)};
         
          }
}

and
Code:
package net.minecraft.src;

public class BlockRubyOre extends Block
{
   
   
   protected BlockRubyOre(int i, int j)
   {
      super(i, j, Material.rock);
   }
}
bardock10
bardock10

Posts : 9
Join date : 2011-08-25

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by cloudstrife29461 Fri Aug 26, 2011 8:16 am

i try ed to make a mod and it did not work
cloudstrife29461
cloudstrife29461

Minecraft : cloud29461
YouTube : ccloudstrife29461
Posts : 213
Join date : 2011-08-19
Age : 26
Location : USA

https://www.youtube.com/user/Ccloudstrife29461

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Slymask3 Fri Aug 26, 2011 8:56 am

cloudstrife29461 wrote:i try ed to make a mod and it did not work
I cannot help you if you just say "it did not work".
Please post your files here, and your error, so I could help. Very Happy
Slymask3
Slymask3
Administrator
Administrator

Minecraft : Slymask3
YouTube : TehGimpsters
Posts : 441
Join date : 2011-07-26
Age : 27
Location : Canada

https://www.youtube.com/tehgimpsters

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by cloudstrife29461 Fri Aug 26, 2011 2:24 pm

no it is ok
cloudstrife29461
cloudstrife29461

Minecraft : cloud29461
YouTube : ccloudstrife29461
Posts : 213
Join date : 2011-08-19
Age : 26
Location : USA

https://www.youtube.com/user/Ccloudstrife29461

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Slymask3 Fri Aug 26, 2011 2:31 pm

cloudstrife29461 wrote:no it is ok
I have a feeling that you didn't try. Suspect
Slymask3
Slymask3
Administrator
Administrator

Minecraft : Slymask3
YouTube : TehGimpsters
Posts : 441
Join date : 2011-07-26
Age : 27
Location : Canada

https://www.youtube.com/tehgimpsters

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by cloudstrife29461 Fri Aug 26, 2011 2:35 pm

i tryed but it was like
cloudstrife29461
cloudstrife29461

Minecraft : cloud29461
YouTube : ccloudstrife29461
Posts : 213
Join date : 2011-08-19
Age : 26
Location : USA

https://www.youtube.com/user/Ccloudstrife29461

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by N1xx1 Fri Aug 26, 2011 3:44 pm

bardock10 wrote:
Code:
== MCP v4.3 ==
> Recompiling client...
javac.exe -g -verbose -classpath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jin
put.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\minec
raft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/patches/*.java fai
led.
Return code : 2

== ERRORS FOUND ==

javac: invalid flag: src/minecraft\net\minecraft\src\BlockRubyOre.Java
Usage: javac <options> <source files>
use -help for a list of possible options
==================

> Done in 2.22 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .

This is my code

Code:
package net.minecraft.src;

public class mod_Ruby extends BaseMod
{
        public static final block rubyore = new BlockRubyOre(ID 97) .setBlockName("rubyore") .setHardness(3F) .setResistance(1F);
       
       
        public String Version()
        {
                return "0.1";
        }
       
        public mod_Ruby ()
          {
          rubyore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Jake/RubyOre.png");
          ModLoader.RegisterBlock(rubyore);
          ModLoader.AddName(rubyore, "RubyOre");
         
          ModLoader.AddShapelessRecipe(new ItemStack(Block.oreiron, 1), new Object[] {
          new ItemStack(Item.redstone,1, 340,)};
         
          }
}

and
Code:
package net.minecraft.src;

public class BlockRubyOre extends Block
{
   
   
   protected BlockRubyOre(int i, int j)
   {
      super(i, j, Material.rock);
   }
}

Uhm, did you make a mod running and working before this?
N1xx1
N1xx1

Posts : 11
Join date : 2011-08-26

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by bardock10 Fri Aug 26, 2011 4:06 pm

N1xx1 wrote:
bardock10 wrote:
Code:
== MCP v4.3 ==
> Recompiling client...
javac.exe -g -verbose -classpath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jin
put.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\minec
raft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/patches/*.java fai
led.
Return code : 2

== ERRORS FOUND ==

javac: invalid flag: src/minecraft\net\minecraft\src\BlockRubyOre.Java
Usage: javac <options> <source files>
use -help for a list of possible options
==================

> Done in 2.22 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .

This is my code

Code:
package net.minecraft.src;

public class mod_Ruby extends BaseMod
{
        public static final block rubyore = new BlockRubyOre(ID 97) .setBlockName("rubyore") .setHardness(3F) .setResistance(1F);
       
       
        public String Version()
        {
                return "0.1";
        }
       
        public mod_Ruby ()
          {
          rubyore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Jake/RubyOre.png");
          ModLoader.RegisterBlock(rubyore);
          ModLoader.AddName(rubyore, "RubyOre");
         
          ModLoader.AddShapelessRecipe(new ItemStack(Block.oreiron, 1), new Object[] {
          new ItemStack(Item.redstone,1, 340,)};
         
          }
}

and
Code:
package net.minecraft.src;

public class BlockRubyOre extends Block
{
   
   
   protected BlockRubyOre(int i, int j)
   {
      super(i, j, Material.rock);
   }
}

Uhm, did you make a mod running and working before this?

Yea but I only edited the hardness of obsidian
bardock10
bardock10

Posts : 9
Join date : 2011-08-25

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by N1xx1 Sat Aug 27, 2011 2:53 am

bardock10 wrote:
N1xx1 wrote:
bardock10 wrote:
Code:
== MCP v4.3 ==
> Recompiling client...
javac.exe -g -verbose -classpath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jin
put.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\minec
raft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/patches/*.java fai
led.
Return code : 2

== ERRORS FOUND ==

javac: invalid flag: src/minecraft\net\minecraft\src\BlockRubyOre.Java
Usage: javac <options> <source files>
use -help for a list of possible options
==================

> Done in 2.22 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .

This is my code

Code:
package net.minecraft.src;

public class mod_Ruby extends BaseMod
{
        public static final block rubyore = new BlockRubyOre(ID 97) .setBlockName("rubyore") .setHardness(3F) .setResistance(1F);
       
       
        public String Version()
        {
                return "0.1";
        }
       
        public mod_Ruby ()
          {
          rubyore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/Jake/RubyOre.png");
          ModLoader.RegisterBlock(rubyore);
          ModLoader.AddName(rubyore, "RubyOre");
         
          ModLoader.AddShapelessRecipe(new ItemStack(Block.oreiron, 1), new Object[] {
          new ItemStack(Item.redstone,1, 340,)};
         
          }
}

and
Code:
package net.minecraft.src;

public class BlockRubyOre extends Block
{
   
   
   protected BlockRubyOre(int i, int j)
   {
      super(i, j, Material.rock);
   }
}

Uhm, did you make a mod running and working before this?

Yea but I only edited the hardness of obsidian

Ok ok. Try to rename the file from BlockRubyOre.Java to BlockRubyOre.java
Actually the problem is in the java compiler.
N1xx1
N1xx1

Posts : 11
Join date : 2011-08-26

Back to top Go down

[Tutorial Set] [ModLoader] Slymask3's Modding Tutorials - Page 3 Empty Re: [Tutorial Set] [ModLoader] Slymask3's Modding Tutorials

Post by Sponsored content


Sponsored content


Back to top Go down

Page 3 of 5 Previous  1, 2, 3, 4, 5  Next

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum