def tuple_to_m_list(tup: tuple, c: str = '') -> str:
    """Return a string representation of a tuple to be used as an NBT list in Minecraft."""
    if type(tup[0]) is float:
        return '[' + ', '.join(tuple('{:f}'.format(i) + c for i in tup)) + ']'
    else:
        return '[' + ', '.join(tuple(str(i) + c for i in tup)) + ']'