def mojang_time_format(dt):
    """
    Formats datetime to Mojang's format.
    :param datetime dt: datetime

    >>> mojang_time_format(datetime(2010, 4, 25, 23, 43, 20))
    '2010-04-25 23:43:20 +0000'
    """
    return dt.strftime('%Y-%m-%d %H:%M:%S +0000')