Вот метод:
@Override
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ)
{
player.openGui(NMT.instance, 0, world, x, y, z);
return true;
}
player.openGui... это 45 строка