Common code used among many Minecraft Forge mods.