Jump to content

Most advance things to learn?


Mazetar

Recommended Posts

Hi again all :)

 

So I have created some mods for myself to learn modding minecraft as well as to force myself to get more into Java. (Since I'm more familiar with C# I'd prefer to stick to it unless I force myself to do otherwise^^ )

I want to learn more advance things but when I think of it I'm not really sure what I should focus on learning, because there are so many interesting topics to learn about and even so there are not that many resources besides the source code itself for learning it.

 

So I'm just wondering what the readers of this forum believes to be the most advance things to aim at learning?

I realize this will be different from person to person based on their experience and other factors, but it will be interesting to see what people suggest and why.

I'm hoping that some of the answers could give me ideas of topics I haven't thought off or something else which would inspire me(and possibly others) to learn the topic :)

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

Hi again all :)

 

So I have created some mods for myself to learn modding minecraft as well as to force myself to get more into Java. (Since I'm more familiar with C# I'd prefer to stick to it unless I force myself to do otherwise^^ )

I want to learn more advance things but when I think of it I'm not really sure what I should focus on learning, because there are so many interesting topics to learn about and even so there are not that many resources besides the source code itself for learning it.

 

So I'm just wondering what the readers of this forum believes to be the most advance things to aim at learning?

I realize this will be different from person to person based on their experience and other factors, but it will be interesting to see what people suggest and why.

I'm hoping that some of the answers could give me ideas of topics I haven't thought off or something else which would inspire me(and possibly others) to learn the topic :)

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

whats ASM?

 

Also i reckon creating a custom renderer without techne as notch did it would be pretty solid as it is very long confusing and impossible to tell if it has been done correctly until you test it ingame. however this is just like making a chocoalte cake after your friend just bought you one in a box.

Use examples, i have aspergers.

Examples make sense to me.

Link to comment
Share on other sites

whats ASM?

 

Also i reckon creating a custom renderer without techne as notch did it would be pretty solid as it is very long confusing and impossible to tell if it has been done correctly until you test it ingame. however this is just like making a chocoalte cake after your friend just bought you one in a box.

Use examples, i have aspergers.

Examples make sense to me.

Link to comment
Share on other sites

whats ASM?

 

Also i reckon creating a custom renderer without techne as notch did it would be pretty solid as it is very long confusing and impossible to tell if it has been done correctly until you test it ingame. however this is just like making a chocoalte cake after your friend just bought you one in a box.

 

Techne does not create a custom renderer, it only creates the model. Which for simple models is not a problem to create on your own although getting the visual aid from techne is quite nice :)  But yeah creating some kind of new rendering system would be interesting.

 

As for what ASM is, check out this page:

http://www.minecraftforge.net/wiki/Using_Access_Transformers

 

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

whats ASM?

 

Also i reckon creating a custom renderer without techne as notch did it would be pretty solid as it is very long confusing and impossible to tell if it has been done correctly until you test it ingame. however this is just like making a chocoalte cake after your friend just bought you one in a box.

 

Techne does not create a custom renderer, it only creates the model. Which for simple models is not a problem to create on your own although getting the visual aid from techne is quite nice :)  But yeah creating some kind of new rendering system would be interesting.

 

As for what ASM is, check out this page:

http://www.minecraftforge.net/wiki/Using_Access_Transformers

 

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

That's only a small piece of what you can do with it (and you could do it without ASM by just using reflection).

With ASM you can modify the bytecode of any class that gets loaded which allows you to do basically anything (e.g.: implement your own events) that requires base edits, without doing base edits.

 

While I have you here, when you change something with ASM or using reflection do you change it permanently so that all mods loaded after yours will have to work with whatever you did, or is it something you change temporary?

ASM is for sure one of the fields I will have on my list of things to study :)

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

That's only a small piece of what you can do with it (and you could do it without ASM by just using reflection).

With ASM you can modify the bytecode of any class that gets loaded which allows you to do basically anything (e.g.: implement your own events) that requires base edits, without doing base edits.

 

While I have you here, when you change something with ASM or using reflection do you change it permanently so that all mods loaded after yours will have to work with whatever you did, or is it something you change temporary?

ASM is for sure one of the fields I will have on my list of things to study :)

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

As far as forge modding goes, im here to apply the basics of my java understanding to use.

Minecraft is a big game and I'm trying to learn the aspects of it, as far as ticks, rendering, ETC.

so, the most advanced thing im going to try to do with forge is forbidden in minecraft.

im going to make a.....

circle.

Also, I should have you know that you are reading my signature.

Link to comment
Share on other sites

As far as forge modding goes, im here to apply the basics of my java understanding to use.

Minecraft is a big game and I'm trying to learn the aspects of it, as far as ticks, rendering, ETC.

so, the most advanced thing im going to try to do with forge is forbidden in minecraft.

im going to make a.....

circle.

Also, I should have you know that you are reading my signature.

Link to comment
Share on other sites

so, the most advanced thing im going to try to do with forge is forbidden in minecraft.

im going to make a.....

circle.

a drawn circle =

static Tessellator tess = Tessellator.instance;
/**because processing speed > ram*/
static double factor = Math.PI/2;
/**the non math- mindeds' dragon*/
public static void circle(double radius){
tess.startDrawing(GL11.GL_TRIANGLE_STRIP);
tess.addVertex(0,0,0);
//100 is example, the bigger the factor, the rounder the sides, this will draw regular polygons too(hexagon, octagon, etc), when you figure out how to use it 
for(int j = 0; j <= 100; j++)
	tess.addVertex(radius*MathHelper.cos(j*factor), radius*MathHelper.sin(j*factor),0);
tess.draw();
}

or you could use parametrics for a traced circle

double posX,posY;
public void traceCircle(int time){
posX = Math.cos(time/180);
posY = Math.sin(time/180);
}

which is a simplified version of what i used back in the pikmin mod for way points and whistling

 

what you should try to draw is a teapot :)

I think its my java of the variables.

Link to comment
Share on other sites

so, the most advanced thing im going to try to do with forge is forbidden in minecraft.

im going to make a.....

circle.

a drawn circle =

static Tessellator tess = Tessellator.instance;
/**because processing speed > ram*/
static double factor = Math.PI/2;
/**the non math- mindeds' dragon*/
public static void circle(double radius){
tess.startDrawing(GL11.GL_TRIANGLE_STRIP);
tess.addVertex(0,0,0);
//100 is example, the bigger the factor, the rounder the sides, this will draw regular polygons too(hexagon, octagon, etc), when you figure out how to use it 
for(int j = 0; j <= 100; j++)
	tess.addVertex(radius*MathHelper.cos(j*factor), radius*MathHelper.sin(j*factor),0);
tess.draw();
}

or you could use parametrics for a traced circle

double posX,posY;
public void traceCircle(int time){
posX = Math.cos(time/180);
posY = Math.sin(time/180);
}

which is a simplified version of what i used back in the pikmin mod for way points and whistling

 

what you should try to draw is a teapot :)

I think its my java of the variables.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.