HelpJava help please?

Posts 1–8 of 8 · Page 1 of 1
Java help please?
Ok, if you can answer any questions at all, I'd appreciate a lot.

1. What's a 'void'. Eg public static void
2. What's a 'static' eg above
3. How do you guys know where all the places for fly etc mods are. Like how do you know how to find the statements for where to put anti-knock back etc. ? Or do you not know? Is that why its so difficult.
4. How do you make your own shaped/geometry. I Think you make a new statement but I don't know where or how to make the code for it.

All help is appreciated (aside from the ones who say I'm a noob.... I already know that).

Thanks

No0b out
Take 4 months go learn java and opengl then come back to the scene when minecraft if completely dead.
Well the only coder I know on this site is @LordPankake maybe he'll help you.
Quote Originally Posted by hamste View Post
1. What's a 'void'. Eg public static void
Quote Originally Posted by java.about.com
Definition:
The void keyword denotes that a method does not have a return type. However, even though a constructor method can never have a return type, it does not have the void keyword in its declaration.

Examples:

The method displayBookData() does not have a return type as shown by the use of the void keyword. Note that the constructor method Book(String, String, String) does not use the void keyword even though it too does not have a return type.
Code:
 public class Book {
 
   private String title;
   private String author;
   private String publisher;
 
   public Book(String title, String author, String publisher)
   {
     this.title = title;
     this.author = author;
     this.publisher = publisher; 
   }
 
   public void displayBookData()
   {
     System.out.println("Title: " + title);
     System.out.println("Author: " + author);
     System.out.println("Publisher: " + publisher);
   } 
 }

Quote Originally Posted by hamste View Post
2. What's a 'static' eg above
This would be best answered by a Google search. In fact, all of these could be answered by specific Google searches.ⓘ


Quote Originally Posted by hamste View Post
3. How do you guys know where all the places for fly etc mods are. Like how do you know how to find the statements for where to put anti-knock back etc. ? Or do you not know? Is that why its so difficult.
Anything that must be updated constantly needs to be put in an area which is constantly updated. So, most people when they start put these in EntityClientPlayerMP's onUpdate(), however there are better ad more effecient ways to do this. I have a base client you can use in the tutorial section if you want something to start off of.

Anti-knockback deals with velocity right? Look for something that handles velocity ... *cough*inside NetClientHandler*cough*

Quote Originally Posted by hamste View Post
4. How do you make your own shaped/geometry. I Think you make a new statement but I don't know where or how to make the code for it.
Most of the 'pretty' Guis you see are created using GL11, and can be found by a simple google search.ⓘ
Quote Originally Posted by LordPankake View Post
This would be best answered by a Google search. In fact, all of these could be answered by specific Google searches.



Anything that must be updated constantly needs to be put in an area which is constantly updated. So, most people when they start put these in EntityClientPlayerMP's onUpdate(), however there are better ad more effecient ways to do this. I have a base client you can use in the tutorial section if you want something to start off of.

Anti-knockback deals with velocity right? Look for something that handles velocity ... *cough*inside NetClientHandler*cough*


Most of the 'pretty' Guis you see are created using GL11, and can be found by a simple google search.
//tooshort
1)I have no idea what void is
2)static means it doesnt change
3) you have to look into the minecraft files.. prob. in the game setting,etc...
its prob. difficult because you want a GUI and keybinds
4)idk what your talking about (geometry/shaped)
Thanks ^^

Noob out
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us