This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pinv = player.getInventory() | |
redck = 4 | |
var ppos = player.getPosition(); | |
var px = Math.round(ppos.x); | |
var py = Math.round(ppos.y); | |
var pz = Math.round(ppos.z); | |
for each (var entity in player.getEntitiesWithinRange(50)) | |
{ | |
if(entity.classType == "Arrow") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updateMana = function() | |
{ | |
pPos = player.getPosition(); | |
if (world.getLightValue(pPos.x, pPos.y, pPos.z) > 3) | |
{ | |
generateMana(); | |
} | |
else | |
{ | |
loseMana(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enable:true | |
enablemp:true | |
give-command:/give {1}:{3} {2} {0} | |
save-name1:1 | |
save-name2:2 | |
save-name3:3 | |
save-name4:4 | |
save-name5:5 | |
save-name6:6 | |
save-name7:7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0100100101000011010000010110011101001001010010000100001000110001010110010110110101111000011100000101100101111001010000100011001001100010001100100110110001101011010010010100100001001110011010000110010001101101010101100100010001100001010010000101011001110101011000010111100101101000010110000110001000110011010010100111001101011010010000110100001000110011011000100011001101001010011100110101101001000011011101110110011101010001001100100110100000110001011000100110110101110011011001110101100100110010011010000011000101100010011011010111001101110000010001000101000101101111011001110100100101000011010000010110011101001001010000110100000101100111010010010100100001010010011011110110001101101101001110010011001101100011011110010100001001001010010101000011000001010110001101000101100100110010010101100111011101100100010001110110110001110110011000100110011100110000010010110100100101000011010000010110011101001001010010000111001101001110010000110110100101000001011001110100100101000011010000010100101001100011011011010101011000110000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------- | |
COMMA_PARENTHESIS_WHITESPACE | |
----------- | |
Use of whitespace before comma and before/after parentheses | |
----------------------------------------------------- | |
----------------------------------------------------- | |
DOUBLE_PUNCTUATION | |
----------- | |
Use of two consecutive dots or commas | |
----------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BLACK - 0 | |
DARK_BLUE - 1 | |
DARK_GREEN - 2 | |
DARK_AQUA - 3 | |
DARK_RED - 4 | |
DARK_PURPLE - 5 | |
GOLD - 6 | |
GRAY - 7 | |
DARK_GRAY - 8 | |
BLUE - 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
glClearColor(0.0f, 0.0f, 0.0f, 1.0f); | |
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); | |
GL11.glMatrixMode(GL11.GL_PROJECTION); | |
GL11.glLoadIdentity(); | |
Vector3 pos = game.getPlayer().getPos(); | |
Vector3 look = game.getPlayer().getLookVec(); | |
Vector3 eye = pos.add(look); | |
gluLookAt(eye.getX(), eye.getY(), eye.getZ(), pos.getX(), pos.getY(), pos.getZ(), 0, 0, 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DList<E extends Comparable<E>> { | |
private class Node { | |
public E data; | |
public Node next; | |
public Node prev; | |
public Node(E data) { | |
this.data = data; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set APPDATA=%CD% | |
minecraft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.JFrame; | |
import org.lwjgl.LWJGLException; | |
import org.lwjgl.opengl.Display; | |
import org.lwjgl.opengl.DisplayMode; | |
import org.lwjgl.opengl.GL11; | |
import org.lwjgl.opengl.SharedDrawable; | |
public class CrashExample extends JFrame { |