Working sample code for the basic concepts in Minecraft and Forge.