-
-
Save lahwran/794396 to your computer and use it in GitHub Desktop.
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 domain. | |
*/ | |
package net.minecraft.src; | |
import org.lwjgl.input.Keyboard; | |
/** | |
* @author Rob | |
* | |
*/ | |
public class mod_SnowMod extends BaseMod { | |
public mod_SnowMod() { | |
} | |
boolean wasdown = false; | |
@Override | |
public void OSDHook(Minecraft minecraft) { | |
if (Keyboard.isKeyDown(Keyboard.KEY_F6) && !wasdown) | |
{ | |
wasdown = true; | |
minecraft.displayGuiScreen(new GuiTempOffsetMenu()); | |
else if (wasdown) | |
{ | |
wasdown = false; | |
} | |
} | |
@Override | |
public String Version() { | |
return "1.2_02"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment