Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NOз | xGcoinx: Btw.
- NOз | xGcoinx: Could you code me a plugin where you would type something like
- NOз | xGcoinx: /head ITEM ID
- NOз | xGcoinx: and that item ID would go there?
- NOз | xGcoinx: and do that for the armor slots?
- NOз | xGcoinx: I could do like.
- NOз | xGcoinx: /legs TNT
- NOз | xGcoinx: and TNT would be on my legs.
- NOз | xGcoinx: and shit.
- NOз | xGcoinx: /feet egg
- NOз | xGcoinx: /head TNT
- NOз | Bacon: no.
- NOз | xGcoinx: /chest Sword.
- NOз | xGcoinx: Oh..
- NOз | xGcoinx: I'll learn how myself then.
- NOз | xGcoinx: *Hymph*
- NOз | xGcoinx: Could you send me the code that puts wool on your head.
- NOз | Bacon: no.
- NOз | xGcoinx: So I can study it.
- NOз | xGcoinx: -.-
- NOз | xGcoinx: You are bad teacher.
- NOз | Bacon: im not a teacher
- NOз | xGcoinx: You are bad.
- NOз | Bacon: no im good your the one asking dumb questions
- NOз | xGcoinx: -.-
- NOз | xGcoinx: I'm only a youngster asking for answers
- NOз | Bacon: dont ask questions
- NOз | xGcoinx: I wan't to learn all of this myself.
- NOз | xGcoinx: TheNewBoston?
- NOз | xGcoinx: Right?
- NOз | Bacon: i help those who help themselves
- NOз | Bacon: and by that i mean
- NOз | Bacon: im not going to help you, go do it yourself.
- NOз | xGcoinx: THE NEW BOSTON
- NOз | xGcoinx: CORRECTO?
- NOз | Bacon: NOз | Bacon: im not going to help you, go do it yourself.
- NOз | xGcoinx: -.-.
- NOз | xGcoinx: FML
- NOз | xGcoinx: Netbeans VS Eclipse?
- NOз | xGcoinx: Which is better?
- NOз | Bacon: netbeams
- NOз | Bacon: beans
- NOз | xGcoinx: Alright.
- NOз | xGcoinx: May I ask which you use?
- NOз | xGcoinx: Or not.
- NOз | xGcoinx: Doesn't matter.
- NOз | Bacon: netbeans
- NOз | xGcoinx: Any tips about learning.
- NOз | Bacon: or else i wouldent recommend it
- NOз | xGcoinx: Anything I should know.
- NOз | Bacon: dont be gay
- NOз | xGcoinx: I'm trying to stay motivated.
- NOз | xGcoinx: Lol.
- NOз | xGcoinx: How could you be gay with java?
- NOз | Bacon: dont be gay
- NOз | Bacon: gay people cant code well
- NOз | Bacon: because they are always thinking about cock instead
- NOз | xGcoinx: Really?
- NOз | xGcoinx: Hmm.
- NOз | Bacon: its true
- NOз | xGcoinx: I see the logic.
- NOз | xGcoinx: Should I be good with math?
- NOз | Bacon: yes
- NOз | xGcoinx: I hear you bitching about math.
- NOз | xGcoinx: x - z = niggers x light = metric tons of cum in the gay coders ass.
- NOз | Bacon: String dir = null;
- float y = player.getLocation().getYaw();
- if( y < 0 ){y += 360;}
- y %= 360;
- int i = (int)((y+8) / 22.5);
- if(i == 0){dir = "west";}
- else if(i == 1){dir = "west";}
- else if(i == 2){dir = "west";}
- else if(i == 3){dir = "north";}
- else if(i == 4){dir = "north";}
- else if(i == 5){dir = "north";}
- else if(i == 6){dir = "north";}
- else if(i == 7){dir = "east";}
- else if(i == 8){dir = "east";}
- else if(i == 9){dir = "east";}
- else if(i == 10){dir = "east";}
- else if(i == 11){dir = "south";}
- else if(i == 12){dir = "south";}
- else if(i == 13){dir = "south";}
- else if(i == 14){dir = "south";}
- else if(i == 15){dir = "west";}
- else {dir = "west";}
- NOз | Bacon: the math to find a players compass direction
- NOз | xGcoinx: dir = Directory right?
- NOз | Bacon: lol?
- NOз | Bacon: String dir = null;
- NOз | Bacon: its defined
- NOз | Bacon: its a string
- NOз | xGcoinx: I'm just gonna watch the tuts.
- NOз | xGcoinx: This shits gonna confuse the fuck out of me.
- NOз | xGcoinx: I'll ask our schools IT department manager for any books and read about it too.
- NOз | Bacon: dont
- NOз | xGcoinx: I'm taking this shit 100% seriously.
- NOз | xGcoinx: Why?
- NOз | xGcoinx: Bad idea?
- NOз | Bacon: becase
- NOз | Bacon: 1)
- NOз | Bacon: your school is dumb
- NOз | xGcoinx: NOPE
- NOз | Bacon: 2) your it manager isnt really an it manager, hes a cocksocker
- NOз | Bacon: 3) books dont teach you jack shit
- NOз | Bacon: 4) fuck you
- NOз | xGcoinx: .-.
- NOз | xGcoinx: Books = Referance?
- NOз | Bacon: nope
- NOз | Bacon: javadocs
- NOз | xGcoinx: .-.
- NOз | xGcoinx: Fuck logic.
- NOз | xGcoinx: http://docs.oracle.com/javase/1.5.0/docs/guide/javadoc/index.html
- NOз | xGcoinx: Correct?
- NOз | xGcoinx: Bookmarked.
- NOз | Bacon: good because you wont understand it
- NOз | xGcoinx: Why?
- NOз | Bacon: because
- NOз | Bacon: you have to know the language before you can understand javadocs
- NOз | xGcoinx: I'm getting prepared first.
- NOз | xGcoinx: Whats an incorrect package?
- NOз | xGcoinx: class apples{
- public static void main(String args[]){
- System.out.println("Hello Bacon");
- }
- }\
- NOз | xGcoinx: Errored.
- NOз | xGcoinx: run:
- Error: Could not find or load main class first.java.program.FirstJavaProgram
- Java Result: 1
- BUILD SUCCESSFUL (total time: 0 seconds)
- NOз | xGcoinx: Wait.
- NOз | xGcoinx: Fuck netbeans.
- NOз | xGcoinx: Holy shit.
- NOз | xGcoinx: Netbeans = confusing.
- NOз | xGcoinx: I'll use eclipse until i feel ready for that.
- NOз | xGcoinx: Lmfao.
- NOз | Bacon: lol?
- NOз | Bacon: netbeans isnt any different
- NOз | xGcoinx: I'm dumb right?
- NOз | xGcoinx: I must of set it up wrong then.
- NOз | xGcoinx: Why'd I get that error?
- NOз | Bacon: well first of all
- NOз | Bacon: why are you even using classes
- NOз | Bacon: i mean
- NOз | xGcoinx: Tutorial said so.
- NOз | Bacon: packages
- NOз | Bacon: sorry
- NOз | xGcoinx: Where?
- NOз | Bacon: first.java.program.FirstJavaProgram
- NOз | xGcoinx: I'm fucked up.
- NOз | xGcoinx: One sec.
- NOз | xGcoinx: Lemme look at my shit.
- NOз | Bacon: dont use packages
- NOз | Bacon: just make a new class
- NOз | Bacon: make a main method
- NOз | Bacon: and compile
- NOз | xGcoinx: "New Project"
- NOз | xGcoinx: "New Class"?
- NOз | xGcoinx: I'll just look for new class.
- NOз | Bacon: new file
- NOз | xGcoinx: Okay.
- NOз | xGcoinx: Java Class?
- NOз | xGcoinx: Can the class name be anything?
- NOз | Bacon: yeh
- NOз | xGcoinx: cool.
- NOз | xGcoinx: FUCK YEA
- NOз | xGcoinx: I ran a hello world program.
- NOз | xGcoinx: I can has codez now?
- NOз | xGcoinx: Lol.
- NOз | xGcoinx: Typical Scrip Kiddie.
- NOз | Bacon: k now make a program that asks the user what number 1 is
- NOз | Bacon: then ask for number 2
- NOз | Bacon: then multiply and return the answer
- NOз | xGcoinx: So a multipication calculator?
- NOз | Bacon: yes
- NOз | xGcoinx: Uhh.
- NOз | xGcoinx: Should I watch the variables video?
- NOз | xGcoinx: Firsy.
- NOз | xGcoinx: First..?
- NOз | xGcoinx: Or take a wack at it.
- NOз | Bacon: you will need variables
- NOз | xGcoinx: Watching.
- NOз | xGcoinx: How do i make it ask?
- NOз | Bacon: system.out.println?
- NOз | xGcoinx: Oh yeah.
- NOз | xGcoinx: How do you make it take input?
- NOз | Bacon: Scanner
- NOз | xGcoinx: I'll have it after the next tut for user input.
- NOз | xGcoinx: Oh wow.
- NOз | xGcoinx: This is like.
- NOз | xGcoinx: Radically simple one you start to think about it.
- NOз | xGcoinx: It's seft explaining.
- NOз | xGcoinx: Self*
- NOз | xGcoinx: Can you do this
- NOз | xGcoinx: System.out.println("Your First Number Is"Product1.nextLine());
- NOз | xGcoinx: Or somthing like that
- NOз | Bacon: why would you name a scanner Product1
- NOз | xGcoinx: Cause.
- NOз | xGcoinx: I'm learning...
- NOз | Bacon: use hungarian notation
- NOз | Bacon: it will keep you sane
- NOз | xGcoinx: DAFUQ
- NOз | xGcoinx: is that
- NOз | Bacon: http://en.wikipedia.org/wiki/Hungarian_notation
- NOз | Bacon: basically
- NOз | Bacon: Scanner consoleScanner = new Scanner(System.in);
- NOз | Bacon: you name things like that, lowercase what they are used for and uppercase name of the thing
- NOз | Bacon: but it doesnt always have to be like that
- NOз | Bacon: it should just follow that general pattern
- NOз | Bacon: like int scoreCounter = 0;
- NOз | xGcoinx: System.out.println(numberOne.nextLine());
- NOз | Bacon: why numberOne
- NOз | Bacon: Lol
- NOз | xGcoinx: *Dies*
- NOз | Bacon: See
- NOз | xGcoinx: Cause I fucking said so.
- NOз | Bacon: once code gets longer and longer
- NOз | Bacon: if you have variables called "numberOne" and shit
- NOз | xGcoinx: Wait.
- NOз | xGcoinx: WAIT
- NOз | Bacon: you will have noooooo fuckin clue what that is
- NOз | xGcoinx: System.out.println(nOne.nextLine());
- NOз | xGcoinx: no?
- NOз | Bacon: WHY nONE
- NOз | xGcoinx: Oh.
- NOз | Bacon: WHY ARE YOU DOING NUMBERS AT ALL
- NOз | xGcoinx: I see.
- NOз | Bacon: name the scanner sc for all i care
- NOз | Bacon: but dont use numbers
- NOз | xGcoinx: System.out.println(sC.nextLine());
- NOз | Bacon: thats fine I guess
- NOз | Bacon: Not as descriptive as it could be but
- NOз | Bacon: it works
- NOз | xGcoinx: System.out.println(letterFunction.nextLine());
- NOз | xGcoinx: Better?
- NOз | Bacon: what the fuck is letterFunction like what does that mean
- NOз | xGcoinx: -.-
- NOз | Bacon: no no here
- NOз | xGcoinx: I will end you.
- NOз | Bacon: if your looking through your code
- NOз | Bacon: and you see a variable called "letterFunction"
- NOз | Bacon: is it.... a char? a string? a scanner? a custom object?
- NOз | Bacon: like what the fuck is that
- NOз | xGcoinx: System.out.println(scannerObject.nextLine());
- NOз | Bacon: there
- NOз | xGcoinx: I get it.
- NOз | xGcoinx: so when theres long ass code
- NOз | xGcoinx: and this appears
- NOз | xGcoinx: letterFunction = 4.3434534
- NOз | Bacon: you know EXACTLY what it is
- NOз | xGcoinx: I know what it is.
- NOз | xGcoinx: If I used letterFunction
- NOз | Bacon: ok wait
- NOз | Bacon: where did letterFunction come from
- NOз | xGcoinx: It could be anything/\
- NOз | Bacon: like
- NOз | xGcoinx: I KNOW
- NOз | xGcoinx: WHAT YOUR SAYI
- NOз | Bacon: where did you make that up or something
- NOз | xGcoinx: Make what up
- NOз | xGcoinx: LetterFunction?
- NOз | Bacon: letterFunction
- NOз | xGcoinx: Made up.
- NOз | xGcoinx: Why?
- NOз | xGcoinx: WAIT
- NOз | xGcoinx: System.out.println(ProductScanner.nextLine());
- NOз | xGcoinx: Product = number for multiplying.
- NOз | Bacon: Well
- NOз | xGcoinx: Scanner = Its a fucking scanner
- NOз | Bacon: There's no reason to have multiple scanners
- NOз | Bacon: soooo
- NOз | Bacon: you shouldent name a scanner after just one thing you might be collecting
- NOз | Bacon: because theres not even any others so why do that
- NOз | xGcoinx: Make the code shorter your saying
- NOз | xGcoinx: System.out.println(Scanner.nextLine());
- NOз | Bacon: well you cant name it Scanner
- NOз | Bacon: Because thats the object name
- NOз | Bacon: you can name it scanner
- NOз | xGcoinx: FUCK
- NOз | xGcoinx: Wait.
- NOз | xGcoinx: Idea.
- NOз | Bacon: but you cant override built in classes
- NOз | xGcoinx: System.out.println(SKNR.nextLine());
- NOз | Bacon: scanner doesn't have a k in it..
- NOз | xGcoinx: No.
- NOз | xGcoinx: No shit.
- NOз | xGcoinx: Pronounce it.\
- NOз | xGcoinx: -.-
- NOз | Bacon: you dont speak code
- NOз | xGcoinx: I know...
- NOз | xGcoinx: When you're reading it though.
- NOз | xGcoinx: I will know.
- NOз | xGcoinx: SKNR
- NOз | xGcoinx: is a scanner.
- NOз | xGcoinx: -.-
Add Comment
Please, Sign In to add comment