This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
System.out.println("Hello world!");
ModLoader.getMinecraftInstance.thePlayer.addChatMessage("Hello world!");
http://www.minecraftforum.net/topic/1142517-125more-tools-and-weapons/
Or if you want to output to the chat window (this does use ModLoader) do: