-
-
Save lahwran/956642 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 class mod_test extends BaseMod { | |
public mod_test() { | |
ModLoader.SetInGameHook(this, true, false); | |
} | |
public void OnTickInGame(Minecraft game) { | |
String name = game.e.s.j(); | |
if (name == null) name="blah"; | |
game.p.a("Hello Minecraft World named "+name,5,15,0xffffff); | |
} | |
@Override | |
public String Version() { | |
return "1.5_01 test"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment