Compare commits

..

No commits in common. "c3158ac92528f2778336bc03c4c6e6baa0b3e30b" and "7cd3444a4ff6bf48afcf891ceeb2787055c6dd1d" have entirely different histories.

1 changed files with 3 additions and 20 deletions

23
types/lib/java.d.ts vendored
View File

@ -1,20 +1,5 @@
import { PingOptions } from "./bedrock";
/**
* JSON format chat component used for description field.
* @see https://wiki.vg/Chat
*/
export type ChatComponent = {
text: string;
bold?: boolean;
italic?: boolean;
underlined?: boolean;
strikethrough?: boolean;
obfuscated?: boolean;
color?: string;
extra?: ChatComponent[];
};
export type SampleProp = {
name: string,
id: string;
@ -32,12 +17,10 @@ export type JavaPingResponse = {
players: {
max: number;
online: number;
sample?: SampleProp[];
sample: SampleProp[];
};
description: string | ChatComponent;
favicon?: string;
enforcesSecureChat?: boolean;
previewsChat?: boolean;
description: string;
favicon: string;
};
/**