MojangAccountData: {
    accessToken: string;
    availableProfiles: ProfileProperty[];
    clientToken: string;
    selectedProfile: ProfileProperty;
    user: {
        email?: string;
        id: string;
        properties: UserProperty[];
        registerIp?: string;
        registeredAt?: string | number;
        username: string;
    };
}

Type declaration

  • accessToken: string
  • availableProfiles: ProfileProperty[]
  • clientToken: string
  • selectedProfile: ProfileProperty
  • user: {
        email?: string;
        id: string;
        properties: UserProperty[];
        registerIp?: string;
        registeredAt?: string | number;
        username: string;
    }
    • Optional email?: string
    • id: string
    • properties: UserProperty[]
    • Optional registerIp?: string
    • Optional registeredAt?: string | number
    • username: string