h31ix

Untitled

Mar 7th, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.27 KB | None | 0 0
  1. NOз | xGcoinx: Btw.
  2. NOз | xGcoinx: Could you code me a plugin where you would type something like
  3. NOз | xGcoinx: /head ITEM ID
  4. NOз | xGcoinx: and that item ID would go there?
  5. NOз | xGcoinx: and do that for the armor slots?
  6. NOз | xGcoinx: I could do like.
  7. NOз | xGcoinx: /legs TNT
  8. NOз | xGcoinx: and TNT would be on my legs.
  9. NOз | xGcoinx: and shit.
  10. NOз | xGcoinx: /feet egg
  11. NOз | xGcoinx: /head TNT
  12. NOз | Bacon: no.
  13. NOз | xGcoinx: /chest Sword.
  14. NOз | xGcoinx: Oh..
  15. NOз | xGcoinx: I'll learn how myself then.
  16. NOз | xGcoinx: *Hymph*
  17. NOз | xGcoinx: Could you send me the code that puts wool on your head.
  18. NOз | Bacon: no.
  19. NOз | xGcoinx: So I can study it.
  20. NOз | xGcoinx: -.-
  21. NOз | xGcoinx: You are bad teacher.
  22. NOз | Bacon: im not a teacher
  23. NOз | xGcoinx: You are bad.
  24. NOз | Bacon: no im good your the one asking dumb questions
  25. NOз | xGcoinx: -.-
  26. NOз | xGcoinx: I'm only a youngster asking for answers
  27. NOз | Bacon: dont ask questions
  28. NOз | xGcoinx: I wan't to learn all of this myself.
  29. NOз | xGcoinx: TheNewBoston?
  30. NOз | xGcoinx: Right?
  31. NOз | Bacon: i help those who help themselves
  32. NOз | Bacon: and by that i mean
  33. NOз | Bacon: im not going to help you, go do it yourself.
  34. NOз | xGcoinx: THE NEW BOSTON
  35. NOз | xGcoinx: CORRECTO?
  36. NOз | Bacon: NOз | Bacon: im not going to help you, go do it yourself.
  37. NOз | xGcoinx: -.-.
  38. NOз | xGcoinx: FML
  39. NOз | xGcoinx: Netbeans VS Eclipse?
  40. NOз | xGcoinx: Which is better?
  41. NOз | Bacon: netbeams
  42. NOз | Bacon: beans
  43. NOз | xGcoinx: Alright.
  44. NOз | xGcoinx: May I ask which you use?
  45. NOз | xGcoinx: Or not.
  46. NOз | xGcoinx: Doesn't matter.
  47. NOз | Bacon: netbeans
  48. NOз | xGcoinx: Any tips about learning.
  49. NOз | Bacon: or else i wouldent recommend it
  50. NOз | xGcoinx: Anything I should know.
  51. NOз | Bacon: dont be gay
  52. NOз | xGcoinx: I'm trying to stay motivated.
  53. NOз | xGcoinx: Lol.
  54. NOз | xGcoinx: How could you be gay with java?
  55. NOз | Bacon: dont be gay
  56. NOз | Bacon: gay people cant code well
  57. NOз | Bacon: because they are always thinking about cock instead
  58. NOз | xGcoinx: Really?
  59. NOз | xGcoinx: Hmm.
  60. NOз | Bacon: its true
  61. NOз | xGcoinx: I see the logic.
  62. NOз | xGcoinx: Should I be good with math?
  63. NOз | Bacon: yes
  64. NOз | xGcoinx: I hear you bitching about math.
  65. NOз | xGcoinx: x - z = niggers x light = metric tons of cum in the gay coders ass.
  66. NOз | Bacon: String dir = null;
  67. float y = player.getLocation().getYaw();
  68. if( y < 0 ){y += 360;}
  69. y %= 360;
  70. int i = (int)((y+8) / 22.5);
  71. if(i == 0){dir = "west";}
  72. else if(i == 1){dir = "west";}
  73. else if(i == 2){dir = "west";}
  74. else if(i == 3){dir = "north";}
  75. else if(i == 4){dir = "north";}
  76. else if(i == 5){dir = "north";}
  77. else if(i == 6){dir = "north";}
  78. else if(i == 7){dir = "east";}
  79. else if(i == 8){dir = "east";}
  80. else if(i == 9){dir = "east";}
  81. else if(i == 10){dir = "east";}
  82. else if(i == 11){dir = "south";}
  83. else if(i == 12){dir = "south";}
  84. else if(i == 13){dir = "south";}
  85. else if(i == 14){dir = "south";}
  86. else if(i == 15){dir = "west";}
  87. else {dir = "west";}
  88. NOз | Bacon: the math to find a players compass direction
  89. NOз | xGcoinx: dir = Directory right?
  90. NOз | Bacon: lol?
  91. NOз | Bacon: String dir = null;
  92. NOз | Bacon: its defined
  93. NOз | Bacon: its a string
  94. NOз | xGcoinx: I'm just gonna watch the tuts.
  95. NOз | xGcoinx: This shits gonna confuse the fuck out of me.
  96. NOз | xGcoinx: I'll ask our schools IT department manager for any books and read about it too.
  97. NOз | Bacon: dont
  98. NOз | xGcoinx: I'm taking this shit 100% seriously.
  99. NOз | xGcoinx: Why?
  100. NOз | xGcoinx: Bad idea?
  101. NOз | Bacon: becase
  102. NOз | Bacon: 1)
  103. NOз | Bacon: your school is dumb
  104. NOз | xGcoinx: NOPE
  105. NOз | Bacon: 2) your it manager isnt really an it manager, hes a cocksocker
  106. NOз | Bacon: 3) books dont teach you jack shit
  107. NOз | Bacon: 4) fuck you
  108. NOз | xGcoinx: .-.
  109. NOз | xGcoinx: Books = Referance?
  110. NOз | Bacon: nope
  111. NOз | Bacon: javadocs
  112. NOз | xGcoinx: .-.
  113. NOз | xGcoinx: Fuck logic.
  114. NOз | xGcoinx: http://docs.oracle.com/javase/1.5.0/docs/guide/javadoc/index.html
  115. NOз | xGcoinx: Correct?
  116. NOз | xGcoinx: Bookmarked.
  117. NOз | Bacon: good because you wont understand it
  118. NOз | xGcoinx: Why?
  119. NOз | Bacon: because
  120. NOз | Bacon: you have to know the language before you can understand javadocs
  121. NOз | xGcoinx: I'm getting prepared first.
  122. NOз | xGcoinx: Whats an incorrect package?
  123. NOз | xGcoinx: class apples{
  124. public static void main(String args[]){
  125. System.out.println("Hello Bacon");
  126. }
  127. }\
  128. NOз | xGcoinx: Errored.
  129. NOз | xGcoinx: run:
  130. Error: Could not find or load main class first.java.program.FirstJavaProgram
  131. Java Result: 1
  132. BUILD SUCCESSFUL (total time: 0 seconds)
  133. NOз | xGcoinx: Wait.
  134. NOз | xGcoinx: Fuck netbeans.
  135. NOз | xGcoinx: Holy shit.
  136. NOз | xGcoinx: Netbeans = confusing.
  137. NOз | xGcoinx: I'll use eclipse until i feel ready for that.
  138. NOз | xGcoinx: Lmfao.
  139. NOз | Bacon: lol?
  140. NOз | Bacon: netbeans isnt any different
  141. NOз | xGcoinx: I'm dumb right?
  142. NOз | xGcoinx: I must of set it up wrong then.
  143. NOз | xGcoinx: Why'd I get that error?
  144. NOз | Bacon: well first of all
  145. NOз | Bacon: why are you even using classes
  146. NOз | Bacon: i mean
  147. NOз | xGcoinx: Tutorial said so.
  148. NOз | Bacon: packages
  149. NOз | Bacon: sorry
  150. NOз | xGcoinx: Where?
  151. NOз | Bacon: first.java.program.FirstJavaProgram
  152. NOз | xGcoinx: I'm fucked up.
  153. NOз | xGcoinx: One sec.
  154. NOз | xGcoinx: Lemme look at my shit.
  155. NOз | Bacon: dont use packages
  156. NOз | Bacon: just make a new class
  157. NOз | Bacon: make a main method
  158. NOз | Bacon: and compile
  159. NOз | xGcoinx: "New Project"
  160. NOз | xGcoinx: "New Class"?
  161. NOз | xGcoinx: I'll just look for new class.
  162. NOз | Bacon: new file
  163. NOз | xGcoinx: Okay.
  164. NOз | xGcoinx: Java Class?
  165. NOз | xGcoinx: Can the class name be anything?
  166. NOз | Bacon: yeh
  167. NOз | xGcoinx: cool.
  168. NOз | xGcoinx: FUCK YEA
  169. NOз | xGcoinx: I ran a hello world program.
  170. NOз | xGcoinx: I can has codez now?
  171. NOз | xGcoinx: Lol.
  172. NOз | xGcoinx: Typical Scrip Kiddie.
  173. NOз | Bacon: k now make a program that asks the user what number 1 is
  174. NOз | Bacon: then ask for number 2
  175. NOз | Bacon: then multiply and return the answer
  176. NOз | xGcoinx: So a multipication calculator?
  177. NOз | Bacon: yes
  178. NOз | xGcoinx: Uhh.
  179. NOз | xGcoinx: Should I watch the variables video?
  180. NOз | xGcoinx: Firsy.
  181. NOз | xGcoinx: First..?
  182. NOз | xGcoinx: Or take a wack at it.
  183. NOз | Bacon: you will need variables
  184. NOз | xGcoinx: Watching.
  185. NOз | xGcoinx: How do i make it ask?
  186. NOз | Bacon: system.out.println?
  187. NOз | xGcoinx: Oh yeah.
  188. NOз | xGcoinx: How do you make it take input?
  189. NOз | Bacon: Scanner
  190. NOз | xGcoinx: I'll have it after the next tut for user input.
  191. NOз | xGcoinx: Oh wow.
  192. NOз | xGcoinx: This is like.
  193. NOз | xGcoinx: Radically simple one you start to think about it.
  194. NOз | xGcoinx: It's seft explaining.
  195. NOз | xGcoinx: Self*
  196. NOз | xGcoinx: Can you do this
  197. NOз | xGcoinx: System.out.println("Your First Number Is"Product1.nextLine());
  198. NOз | xGcoinx: Or somthing like that
  199. NOз | Bacon: why would you name a scanner Product1
  200. NOз | xGcoinx: Cause.
  201. NOз | xGcoinx: I'm learning...
  202. NOз | Bacon: use hungarian notation
  203. NOз | Bacon: it will keep you sane
  204. NOз | xGcoinx: DAFUQ
  205. NOз | xGcoinx: is that
  206. NOз | Bacon: http://en.wikipedia.org/wiki/Hungarian_notation
  207. NOз | Bacon: basically
  208. NOз | Bacon: Scanner consoleScanner = new Scanner(System.in);
  209. NOз | Bacon: you name things like that, lowercase what they are used for and uppercase name of the thing
  210. NOз | Bacon: but it doesnt always have to be like that
  211. NOз | Bacon: it should just follow that general pattern
  212. NOз | Bacon: like int scoreCounter = 0;
  213. NOз | xGcoinx: System.out.println(numberOne.nextLine());
  214. NOз | Bacon: why numberOne
  215. NOз | Bacon: Lol
  216. NOз | xGcoinx: *Dies*
  217. NOз | Bacon: See
  218. NOз | xGcoinx: Cause I fucking said so.
  219. NOз | Bacon: once code gets longer and longer
  220. NOз | Bacon: if you have variables called "numberOne" and shit
  221. NOз | xGcoinx: Wait.
  222. NOз | xGcoinx: WAIT
  223. NOз | Bacon: you will have noooooo fuckin clue what that is
  224. NOз | xGcoinx: System.out.println(nOne.nextLine());
  225. NOз | xGcoinx: no?
  226. NOз | Bacon: WHY nONE
  227. NOз | xGcoinx: Oh.
  228. NOз | Bacon: WHY ARE YOU DOING NUMBERS AT ALL
  229. NOз | xGcoinx: I see.
  230. NOз | Bacon: name the scanner sc for all i care
  231. NOз | Bacon: but dont use numbers
  232. NOз | xGcoinx: System.out.println(sC.nextLine());
  233. NOз | Bacon: thats fine I guess
  234. NOз | Bacon: Not as descriptive as it could be but
  235. NOз | Bacon: it works
  236. NOз | xGcoinx: System.out.println(letterFunction.nextLine());
  237. NOз | xGcoinx: Better?
  238. NOз | Bacon: what the fuck is letterFunction like what does that mean
  239. NOз | xGcoinx: -.-
  240. NOз | Bacon: no no here
  241. NOз | xGcoinx: I will end you.
  242. NOз | Bacon: if your looking through your code
  243. NOз | Bacon: and you see a variable called "letterFunction"
  244. NOз | Bacon: is it.... a char? a string? a scanner? a custom object?
  245. NOз | Bacon: like what the fuck is that
  246. NOз | xGcoinx: System.out.println(scannerObject.nextLine());
  247. NOз | Bacon: there
  248. NOз | xGcoinx: I get it.
  249. NOз | xGcoinx: so when theres long ass code
  250. NOз | xGcoinx: and this appears
  251. NOз | xGcoinx: letterFunction = 4.3434534
  252. NOз | Bacon: you know EXACTLY what it is
  253. NOз | xGcoinx: I know what it is.
  254. NOз | xGcoinx: If I used letterFunction
  255. NOз | Bacon: ok wait
  256. NOз | Bacon: where did letterFunction come from
  257. NOз | xGcoinx: It could be anything/\
  258. NOз | Bacon: like
  259. NOз | xGcoinx: I KNOW
  260. NOз | xGcoinx: WHAT YOUR SAYI
  261. NOз | Bacon: where did you make that up or something
  262. NOз | xGcoinx: Make what up
  263. NOз | xGcoinx: LetterFunction?
  264. NOз | Bacon: letterFunction
  265. NOз | xGcoinx: Made up.
  266. NOз | xGcoinx: Why?
  267. NOз | xGcoinx: WAIT
  268. NOз | xGcoinx: System.out.println(ProductScanner.nextLine());
  269. NOз | xGcoinx: Product = number for multiplying.
  270. NOз | Bacon: Well
  271. NOз | xGcoinx: Scanner = Its a fucking scanner
  272. NOз | Bacon: There's no reason to have multiple scanners
  273. NOз | Bacon: soooo
  274. NOз | Bacon: you shouldent name a scanner after just one thing you might be collecting
  275. NOз | Bacon: because theres not even any others so why do that
  276. NOз | xGcoinx: Make the code shorter your saying
  277. NOз | xGcoinx: System.out.println(Scanner.nextLine());
  278. NOз | Bacon: well you cant name it Scanner
  279. NOз | Bacon: Because thats the object name
  280. NOз | Bacon: you can name it scanner
  281. NOз | xGcoinx: FUCK
  282. NOз | xGcoinx: Wait.
  283. NOз | xGcoinx: Idea.
  284. NOз | Bacon: but you cant override built in classes
  285. NOз | xGcoinx: System.out.println(SKNR.nextLine());
  286. NOз | Bacon: scanner doesn't have a k in it..
  287. NOз | xGcoinx: No.
  288. NOз | xGcoinx: No shit.
  289. NOз | xGcoinx: Pronounce it.\
  290. NOз | xGcoinx: -.-
  291. NOз | Bacon: you dont speak code
  292. NOз | xGcoinx: I know...
  293. NOз | xGcoinx: When you're reading it though.
  294. NOз | xGcoinx: I will know.
  295. NOз | xGcoinx: SKNR
  296. NOз | xGcoinx: is a scanner.
  297. NOз | xGcoinx: -.-
Add Comment
Please, Sign In to add comment