Skip to content

Instantly share code, notes, and snippets.

View KingBowser's full-sized avatar

Bowser KingBowser

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kingbowser on github.
  • I am bowser (https://keybase.io/bowser) on keybase.
  • I have a public key whose fingerprint is D1C2 2575 2D19 4EFF B81C 0C3A E86A E00A D4F7 91D8

To claim this, I am signing this object:

package pw.bowser.util
import scala.collection.mutable.{Map => MutableMap}
import scala.collection.JavaConversions._
import java.io.{Serializable => JSerializable}
import org.mvel2.MVEL
/**
* MVEL Transformer with compiled expression caching
* Date: 2/23/14
import de.matthiasmann.twl.GUI;
import de.matthiasmann.twl.Widget;
import de.matthiasmann.twl.input.Input;
import de.matthiasmann.twl.renderer.lwjgl.LWJGLRenderer;
import de.matthiasmann.twl.theme.ThemeManager;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.Display;
@KingBowser
KingBowser / WTF.java
Created June 22, 2013 16:28
Java skill from the SpoutCraft team
// What the fuck, ok
public void setVisualCheats(boolean tsky, boolean fsky, boolean ssky, boolean tclearwater, boolean fclearwater, boolean sclearwater, boolean tstars, boolean fstars, boolean sstars, boolean tweather, boolean fweather, boolean sweather, boolean ttime, boolean tcoords, boolean tentitylabel, boolean tvoidfog, boolean fvoidfog, boolean svoidfog, boolean tflyspeed) {
this.cheatsky = tsky;
this.forcesky = fsky;
this.showsky = ssky;
this.cheatclearwater = tclearwater;
this.forceclearwater = fclearwater;
this.showclearwater = sclearwater;
this.cheatstars = tstars;
this.forcestars = fstars;
@KingBowser
KingBowser / Item.java
Created May 14, 2013 05:37
What the fuck again. You're kidding, right?
/**
* Gets the localized name of the given item stack.
*/
public String getLocalizedName(ItemStack par1ItemStack) {
String var2 = this.getUnlocalizedName(par1ItemStack);
return var2 == null ? "" : StatCollector.translateToLocal(var2);
}
/**
* Returns the unlocalized name of this item.
@KingBowser
KingBowser / Item.java
Created May 14, 2013 05:35
Great job Mojang (OR MCP)
/**
* Returns the unlocalized name of this item.
*/
public String getUnlocalizedName() {
return "item." + this.unlocalizedName;
}
/**
* Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have
* different names based on their damage or NBT.