Skip to content

Instantly share code, notes, and snippets.

@lahwran
Forked from anonymous/gist:956635
Created May 5, 2011 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lahwran/956642 to your computer and use it in GitHub Desktop.
Save lahwran/956642 to your computer and use it in GitHub Desktop.
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