Skip to content

Instantly share code, notes, and snippets.

ShadowChild ShadowChild

Block or report user

Report or block ShadowChild

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ShadowChild
ShadowChild / Game.java
Created Nov 27, 2014
LWJGL fullscreen toggle - kinda
View Game.java
/**
* Sets a DisplayMode after selecting for a better one.
*
* @param width The width of the display.
* @param height The height of the display.
* @param fullscreen The fullscreen mode.
* @return True if switching is successful. Else false.
*/
public static boolean setDisplayMode(int width, int height, boolean fullscreen){
View gist:6457980
private void capes() {
if(mc.theWorld != null) {
List<EntityPlayer> players = mc.theWorld.playerEntities;
for(EntityPlayer player : players) {
System.out.println("Attempting to render cape for " + player.username);
You can’t perform that action at this time.