feat: delombok and regenerate d.ts
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
53e4f6c658
commit
1425c473fd
@ -88,6 +88,34 @@ declare namespace net {
|
||||
public matchPlayer(partialName: string): java.util.Collection;
|
||||
// @ts-ignore
|
||||
public createTitle(): Title;
|
||||
/**
|
||||
* Configuration.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getConfig(): net.md_5.bungee.conf.Configuration;
|
||||
/**
|
||||
* Plugin manager.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPluginManager(): PluginManager;
|
||||
// @ts-ignore
|
||||
public getReconnectHandler(): ReconnectHandler;
|
||||
// @ts-ignore
|
||||
public setReconnectHandler(reconnectHandler: ReconnectHandler): void;
|
||||
// @ts-ignore
|
||||
public getConfigurationAdapter(): ConfigurationAdapter;
|
||||
// @ts-ignore
|
||||
public setConfigurationAdapter(configurationAdapter: ConfigurationAdapter): void;
|
||||
// @ts-ignore
|
||||
public getPluginsFolder(): java.io.File;
|
||||
// @ts-ignore
|
||||
public getScheduler(): net.md_5.bungee.scheduler.BungeeScheduler;
|
||||
// @ts-ignore
|
||||
public getConsoleReader(): ConsoleReader;
|
||||
// @ts-ignore
|
||||
public getLogger(): java.util.logging.Logger;
|
||||
// @ts-ignore
|
||||
public getConnectionThrottle(): net.md_5.bungee.ConnectionThrottle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class BungeeServerInfo extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(name: string, address: java.net.InetSocketAddress, motd: string, restricted: boolean)
|
||||
// @ts-ignore
|
||||
public addPlayer(player: ProxiedPlayer): void;
|
||||
// @ts-ignore
|
||||
@ -27,6 +27,18 @@ declare namespace net {
|
||||
public ping(callback: any): void;
|
||||
// @ts-ignore
|
||||
public ping(callback: any, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
// @ts-ignore
|
||||
public getAddress(): java.net.InetSocketAddress;
|
||||
// @ts-ignore
|
||||
public getMotd(): string;
|
||||
// @ts-ignore
|
||||
public isRestricted(): boolean;
|
||||
// @ts-ignore
|
||||
public getPacketQueue(): java.util.Queue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -17,6 +17,8 @@ declare namespace net {
|
||||
public static getPubkey(request: EncryptionRequest): java.security.PublicKey;
|
||||
// @ts-ignore
|
||||
public static encrypt(key: java.security.Key, b: number): number[];
|
||||
// @ts-ignore
|
||||
public static getSecret(): any /*javax.crypto.SecretKey*/;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PlayerSkinConfiguration extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(bitmask: number)
|
||||
// @ts-ignore
|
||||
public hasCape(): boolean;
|
||||
// @ts-ignore
|
||||
|
@ -4,7 +4,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ServerConnection extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(ch: net.md_5.bungee.netty.ChannelWrapper, info: net.md_5.bungee.BungeeServerInfo)
|
||||
// @ts-ignore
|
||||
public sendData(channel: string, data: number): void;
|
||||
// @ts-ignore
|
||||
@ -19,6 +19,20 @@ declare namespace net {
|
||||
public isConnected(): boolean;
|
||||
// @ts-ignore
|
||||
public unsafe(): Unsafe;
|
||||
// @ts-ignore
|
||||
public getCh(): net.md_5.bungee.netty.ChannelWrapper;
|
||||
// @ts-ignore
|
||||
public getInfo(): net.md_5.bungee.BungeeServerInfo;
|
||||
// @ts-ignore
|
||||
public isObsolete(): boolean;
|
||||
// @ts-ignore
|
||||
public setObsolete(isObsolete: boolean): void;
|
||||
// @ts-ignore
|
||||
public isForgeServer(): boolean;
|
||||
// @ts-ignore
|
||||
public getSentPingId(): number;
|
||||
// @ts-ignore
|
||||
public setSentPingId(sentPingId: number): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ServerConnector extends net.md_5.bungee.netty.PacketHandler {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(bungee: ProxyServer, user: net.md_5.bungee.UserConnection, target: net.md_5.bungee.BungeeServerInfo)
|
||||
// @ts-ignore
|
||||
public exception(t: java.lang.Throwable): void;
|
||||
// @ts-ignore
|
||||
@ -27,6 +27,8 @@ declare namespace net {
|
||||
public handle(pluginMessage: PluginMessage): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public getHandshakeHandler(): net.md_5.bungee.forge.ForgeServerHandler;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class UserConnection extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(bungee: ProxyServer, ch: net.md_5.bungee.netty.ChannelWrapper, name: string, pendingConnection: net.md_5.bungee.connection.InitialHandler)
|
||||
// @ts-ignore
|
||||
public init(): void;
|
||||
// @ts-ignore
|
||||
@ -113,6 +113,72 @@ declare namespace net {
|
||||
public isConnected(): boolean;
|
||||
// @ts-ignore
|
||||
public getScoreboard(): Scoreboard;
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
// @ts-ignore
|
||||
public getPendingConnection(): net.md_5.bungee.connection.InitialHandler;
|
||||
// @ts-ignore
|
||||
public getServer(): net.md_5.bungee.ServerConnection;
|
||||
// @ts-ignore
|
||||
public setServer(server: net.md_5.bungee.ServerConnection): void;
|
||||
// @ts-ignore
|
||||
public getDimension(): number;
|
||||
// @ts-ignore
|
||||
public setDimension(dimension: number): void;
|
||||
// @ts-ignore
|
||||
public isDimensionChange(): boolean;
|
||||
// @ts-ignore
|
||||
public setDimensionChange(dimensionChange: boolean): void;
|
||||
// @ts-ignore
|
||||
public getPendingConnects(): java.util.Collection;
|
||||
// @ts-ignore
|
||||
public getSentPingTime(): number;
|
||||
// @ts-ignore
|
||||
public setSentPingTime(sentPingTime: number): void;
|
||||
// @ts-ignore
|
||||
public getPing(): number;
|
||||
// @ts-ignore
|
||||
public setPing(ping: number): void;
|
||||
// @ts-ignore
|
||||
public getReconnectServer(): ServerInfo;
|
||||
// @ts-ignore
|
||||
public setReconnectServer(reconnectServer: ServerInfo): void;
|
||||
// @ts-ignore
|
||||
public getTabListHandler(): net.md_5.bungee.tab.TabList;
|
||||
// @ts-ignore
|
||||
public getGamemode(): number;
|
||||
// @ts-ignore
|
||||
public setGamemode(gamemode: number): void;
|
||||
// @ts-ignore
|
||||
public getCompressionThreshold(): number;
|
||||
// @ts-ignore
|
||||
public setServerJoinQueue(serverJoinQueue: java.util.Queue): void;
|
||||
// @ts-ignore
|
||||
public getClientEntityId(): number;
|
||||
// @ts-ignore
|
||||
public setClientEntityId(clientEntityId: number): void;
|
||||
// @ts-ignore
|
||||
public getServerEntityId(): number;
|
||||
// @ts-ignore
|
||||
public setServerEntityId(serverEntityId: number): void;
|
||||
// @ts-ignore
|
||||
public getSettings(): ClientSettings;
|
||||
// @ts-ignore
|
||||
public getServerSentScoreboard(): Scoreboard;
|
||||
// @ts-ignore
|
||||
public getSentBossBars(): java.util.Collection;
|
||||
// @ts-ignore
|
||||
public getDisplayName(): string;
|
||||
// @ts-ignore
|
||||
public getEntityRewrite(): net.md_5.bungee.entitymap.EntityMap;
|
||||
// @ts-ignore
|
||||
public getForgeClientHandler(): net.md_5.bungee.forge.ForgeClientHandler;
|
||||
// @ts-ignore
|
||||
public setForgeClientHandler(forgeClientHandler: net.md_5.bungee.forge.ForgeClientHandler): void;
|
||||
// @ts-ignore
|
||||
public getForgeServerHandler(): net.md_5.bungee.forge.ForgeServerHandler;
|
||||
// @ts-ignore
|
||||
public setForgeServerHandler(forgeServerHandler: net.md_5.bungee.forge.ForgeServerHandler): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -72,6 +72,8 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static getByChar(code: string): net.md_5.bungee.api.ChatColor;
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,8 +4,6 @@ declare namespace net {
|
||||
namespace api {
|
||||
// @ts-ignore
|
||||
class Favicon extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static getFaviconTypeAdapter(): any;
|
||||
/**
|
||||
@ -18,6 +16,11 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public static create(encodedString: string): net.md_5.bungee.api.Favicon;
|
||||
/**
|
||||
* The base64 encoded favicon, including MIME header.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getEncoded(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -175,6 +175,8 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public abstract createTitle(): net.md_5.bungee.api.Title;
|
||||
// @ts-ignore
|
||||
public static getInstance(): net.md_5.bungee.api.ProxyServer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,8 +5,36 @@ declare namespace net {
|
||||
namespace ServerConnectRequest {
|
||||
// @ts-ignore
|
||||
class Builder extends java.lang.Object {
|
||||
/**
|
||||
* Target server to connect to.
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
public target(target: net.md_5.bungee.api.config.ServerInfo): net.md_5.bungee.api.ServerConnectRequest.Builder;
|
||||
/**
|
||||
* Reason for connecting to server.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public reason(reason: net.md_5.bungee.api.event.ServerConnectEvent.Reason): net.md_5.bungee.api.ServerConnectRequest.Builder;
|
||||
/**
|
||||
* Callback to execute post request.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public callback(callback: net.md_5.bungee.api.Callback): net.md_5.bungee.api.ServerConnectRequest.Builder;
|
||||
/**
|
||||
* Timeout in milliseconds for request.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public connectTimeout(connectTimeout: number): net.md_5.bungee.api.ServerConnectRequest.Builder;
|
||||
/**
|
||||
* Should the player be attempted to connect to the next server in their
|
||||
* queue if the initial request fails.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public retry(retry: boolean): net.md_5.bungee.api.ServerConnectRequest.Builder;
|
||||
// @ts-ignore
|
||||
public build(): net.md_5.bungee.api.ServerConnectRequest;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,33 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ServerConnectRequest extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
public static builder(): net.md_5.bungee.api.ServerConnectRequest.Builder;
|
||||
/**
|
||||
* Target server to connect to.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getTarget(): net.md_5.bungee.api.config.ServerInfo;
|
||||
/**
|
||||
* Reason for connecting to server.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getReason(): net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
/**
|
||||
* Callback to execute post request.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getCallback(): net.md_5.bungee.api.Callback;
|
||||
/**
|
||||
* Timeout in milliseconds for request.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getConnectTimeout(): number;
|
||||
/**
|
||||
* Should the player be attempted to connect to the next server in their
|
||||
* queue if the initial request fails.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isRetry(): boolean;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,22 @@ declare namespace net {
|
||||
class ModInfo extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public getType(): string;
|
||||
// @ts-ignore
|
||||
public getModList(): java.util.List;
|
||||
// @ts-ignore
|
||||
public setType(type: string): void;
|
||||
// @ts-ignore
|
||||
public setModList(modList: java.util.List): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,23 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ModItem extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(modid: string, version: string)
|
||||
// @ts-ignore
|
||||
public getModid(): string;
|
||||
// @ts-ignore
|
||||
public getVersion(): string;
|
||||
// @ts-ignore
|
||||
public setModid(modid: string): void;
|
||||
// @ts-ignore
|
||||
public setVersion(version: string): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,9 +8,27 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(name: string, id: string)
|
||||
// @ts-ignore
|
||||
constructor(name: string, uniqueId: java.util.UUID)
|
||||
// @ts-ignore
|
||||
public setId(id: string): void;
|
||||
// @ts-ignore
|
||||
public getId(): string;
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
// @ts-ignore
|
||||
public getUniqueId(): java.util.UUID;
|
||||
// @ts-ignore
|
||||
public setName(name: string): void;
|
||||
// @ts-ignore
|
||||
public setUniqueId(uniqueId: java.util.UUID): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,27 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Players extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(max: number, online: number, sample: net.md_5.bungee.api.ServerPing.PlayerInfo)
|
||||
// @ts-ignore
|
||||
public getMax(): number;
|
||||
// @ts-ignore
|
||||
public getOnline(): number;
|
||||
// @ts-ignore
|
||||
public getSample(): net.md_5.bungee.api.ServerPing.PlayerInfo[];
|
||||
// @ts-ignore
|
||||
public setMax(max: number): void;
|
||||
// @ts-ignore
|
||||
public setOnline(online: number): void;
|
||||
// @ts-ignore
|
||||
public setSample(sample: net.md_5.bungee.api.ServerPing.PlayerInfo): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,23 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Protocol extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(name: string, protocol: number)
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
// @ts-ignore
|
||||
public getProtocol(): number;
|
||||
// @ts-ignore
|
||||
public setName(name: string): void;
|
||||
// @ts-ignore
|
||||
public setProtocol(protocol: number): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,10 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(version: net.md_5.bungee.api.ServerPing.Protocol, players: net.md_5.bungee.api.ServerPing.Players, description: string, favicon: net.md_5.bungee.api.Favicon)
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(version: net.md_5.bungee.api.ServerPing.Protocol, players: net.md_5.bungee.api.ServerPing.Players, description: BaseComponent, favicon: net.md_5.bungee.api.Favicon)
|
||||
// @ts-ignore
|
||||
public getFavicon(): string;
|
||||
// @ts-ignore
|
||||
public getFaviconObject(): net.md_5.bungee.api.Favicon;
|
||||
@ -24,6 +28,24 @@ declare namespace net {
|
||||
public setDescriptionComponent(description: BaseComponent): void;
|
||||
// @ts-ignore
|
||||
public getDescriptionComponent(): BaseComponent;
|
||||
// @ts-ignore
|
||||
public getVersion(): net.md_5.bungee.api.ServerPing.Protocol;
|
||||
// @ts-ignore
|
||||
public getPlayers(): net.md_5.bungee.api.ServerPing.Players;
|
||||
// @ts-ignore
|
||||
public getModinfo(): net.md_5.bungee.api.ServerPing.ModInfo;
|
||||
// @ts-ignore
|
||||
public setVersion(version: net.md_5.bungee.api.ServerPing.Protocol): void;
|
||||
// @ts-ignore
|
||||
public setPlayers(players: net.md_5.bungee.api.ServerPing.Players): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,8 @@ declare namespace net {
|
||||
namespace chat {
|
||||
// @ts-ignore
|
||||
abstract class BaseComponent extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
/**
|
||||
* Copies the events and formatting of a BaseComponent. Already set
|
||||
* formatting will be replaced.
|
||||
@ -155,6 +157,90 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public toLegacyText(): string;
|
||||
/**
|
||||
* The color of this component and any child components (unless overridden)
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setColor(color: net.md_5.bungee.api.ChatColor): void;
|
||||
/**
|
||||
* Whether this component and any child components (unless overridden) is
|
||||
* bold
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setBold(bold: java.lang.Boolean): void;
|
||||
/**
|
||||
* Whether this component and any child components (unless overridden) is
|
||||
* italic
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setItalic(italic: java.lang.Boolean): void;
|
||||
/**
|
||||
* Whether this component and any child components (unless overridden) is
|
||||
* underlined
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setUnderlined(underlined: java.lang.Boolean): void;
|
||||
/**
|
||||
* Whether this component and any child components (unless overridden) is
|
||||
* strikethrough
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setStrikethrough(strikethrough: java.lang.Boolean): void;
|
||||
/**
|
||||
* Whether this component and any child components (unless overridden) is
|
||||
* obfuscated
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setObfuscated(obfuscated: java.lang.Boolean): void;
|
||||
/**
|
||||
* The text to insert into the chat when this component (and child
|
||||
* components) are clicked while pressing the shift key
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setInsertion(insertion: string): void;
|
||||
/**
|
||||
* The action to perform when this component (and child components) are
|
||||
* clicked
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setClickEvent(clickEvent: net.md_5.bungee.api.chat.ClickEvent): void;
|
||||
/**
|
||||
* The action to perform when this component (and child components) are
|
||||
* hovered over
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setHoverEvent(hoverEvent: net.md_5.bungee.api.chat.HoverEvent): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
/**
|
||||
* The text to insert into the chat when this component (and child
|
||||
* components) are clicked while pressing the shift key
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getInsertion(): string;
|
||||
/**
|
||||
* Appended components that inherit this component's formatting and events
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getExtra(): java.util.List;
|
||||
/**
|
||||
* The action to perform when this component (and child components) are
|
||||
* clicked
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getClickEvent(): net.md_5.bungee.api.chat.ClickEvent;
|
||||
/**
|
||||
* The action to perform when this component (and child components) are
|
||||
* hovered over
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getHoverEvent(): net.md_5.bungee.api.chat.HoverEvent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,23 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ClickEvent extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(action: net.md_5.bungee.api.chat.ClickEvent.Action, value: string)
|
||||
/**
|
||||
* The type of action to perform on click
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getAction(): net.md_5.bungee.api.chat.ClickEvent.Action;
|
||||
/**
|
||||
* Depends on action
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getValue(): string;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,6 +21,8 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(component: net.md_5.bungee.api.chat.BaseComponent)
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
/**
|
||||
* Resets the cursor to index of the last element.
|
||||
*/
|
||||
@ -171,6 +173,15 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public create(): net.md_5.bungee.api.chat.BaseComponent[];
|
||||
/**
|
||||
* The position for the current part to modify. Modified cursors will
|
||||
* automatically reset to the last part after appending new components.
|
||||
* Default value at -1 to assert that the builder has no parts.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getCursor(): number;
|
||||
// @ts-ignore
|
||||
public getParts(): java.util.List;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,17 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class HoverEvent extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(action: net.md_5.bungee.api.chat.HoverEvent.Action, value: net.md_5.bungee.api.chat.BaseComponent)
|
||||
// @ts-ignore
|
||||
public getAction(): net.md_5.bungee.api.chat.HoverEvent.Action;
|
||||
// @ts-ignore
|
||||
public getValue(): net.md_5.bungee.api.chat.BaseComponent[];
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -16,11 +16,35 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(keybind: string)
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public duplicate(): net.md_5.bungee.api.chat.BaseComponent;
|
||||
// @ts-ignore
|
||||
protected toPlainText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
protected toLegacyText(builder: java.lang.StringBuilder): void;
|
||||
/**
|
||||
* The keybind identifier to use.
|
||||
* <br>
|
||||
* Will be replaced with the actual key the client is using.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getKeybind(): string;
|
||||
/**
|
||||
* The keybind identifier to use.
|
||||
* <br>
|
||||
* Will be replaced with the actual key the client is using.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setKeybind(keybind: string): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,11 +21,51 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(original: net.md_5.bungee.api.chat.ScoreComponent)
|
||||
// @ts-ignore
|
||||
constructor(name: string, objective: string, value: string)
|
||||
// @ts-ignore
|
||||
public duplicate(): net.md_5.bungee.api.chat.ScoreComponent;
|
||||
// @ts-ignore
|
||||
protected toPlainText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
protected toLegacyText(builder: java.lang.StringBuilder): void;
|
||||
/**
|
||||
* The name of the entity whose score should be displayed.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
/**
|
||||
* The internal name of the objective the score is attached to.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getObjective(): string;
|
||||
/**
|
||||
* The optional value to use instead of the one present in the Scoreboard.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getValue(): string;
|
||||
/**
|
||||
* The name of the entity whose score should be displayed.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setName(name: string): void;
|
||||
/**
|
||||
* The internal name of the objective the score is attached to.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setObjective(objective: string): void;
|
||||
/**
|
||||
* The optional value to use instead of the one present in the Scoreboard.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setValue(value: string): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,11 +11,33 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(original: net.md_5.bungee.api.chat.SelectorComponent)
|
||||
// @ts-ignore
|
||||
constructor(selector: string)
|
||||
// @ts-ignore
|
||||
public duplicate(): net.md_5.bungee.api.chat.SelectorComponent;
|
||||
// @ts-ignore
|
||||
protected toPlainText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
protected toLegacyText(builder: java.lang.StringBuilder): void;
|
||||
/**
|
||||
* An entity target selector (@p, @a, @r, @e, or @s) and, optionally,
|
||||
* selector arguments (e.g. @e[r=10,type=Creeper]).
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getSelector(): string;
|
||||
/**
|
||||
* An entity target selector (@p, @a, @r, @e, or @s) and, optionally,
|
||||
* selector arguments (e.g. @e[r=10,type=Creeper]).
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setSelector(selector: string): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -22,6 +22,8 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(extras: net.md_5.bungee.api.chat.BaseComponent)
|
||||
// @ts-ignore
|
||||
constructor(text: string)
|
||||
/**
|
||||
* Converts the old formatting system that used
|
||||
* {@link net.md_5.bungee.api.ChatColor#COLOR_CHAR} into the new json based
|
||||
@ -47,6 +49,22 @@ declare namespace net {
|
||||
protected toLegacyText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
/**
|
||||
* The text of the component that will be displayed to the client
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getText(): string;
|
||||
/**
|
||||
* The text of the component that will be displayed to the client
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setText(text: string): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,9 @@ declare namespace net {
|
||||
* Creates a translatable component with the passed substitutions
|
||||
*/
|
||||
// @ts-ignore
|
||||
constructor(translate: string, object: java.lang.Object)
|
||||
constructor(translate: string, with: java.lang.Object)
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
/**
|
||||
* Creates a duplicate of this TranslatableComponent.
|
||||
*/
|
||||
@ -42,6 +44,33 @@ declare namespace net {
|
||||
protected toPlainText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
protected toLegacyText(builder: java.lang.StringBuilder): void;
|
||||
// @ts-ignore
|
||||
public getFormat(): java.util.regex.Pattern;
|
||||
/**
|
||||
* The key into the Minecraft locale files to use for the translation. The
|
||||
* text depends on the client's locale setting. The console is always en_US
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getTranslate(): string;
|
||||
/**
|
||||
* The components to substitute into the translation
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getWith(): java.util.List;
|
||||
/**
|
||||
* The key into the Minecraft locale files to use for the translation. The
|
||||
* text depends on the client's locale setting. The console is always en_US
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setTranslate(translate: string): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,8 @@ declare namespace net {
|
||||
class ListenerInfo extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor(host: java.net.InetSocketAddress, motd: string, maxPlayers: number, tabListSize: number, serverPriority: java.util.List, forceDefault: boolean, forcedHosts: java.util.Map, tabListType: string, setLocalAddress: boolean, pingPassthrough: boolean, queryPort: number, queryEnabled: boolean)
|
||||
// @ts-ignore
|
||||
constructor(host: java.net.InetSocketAddress, motd: string, maxPlayers: number, tabListSize: number, serverPriority: java.util.List, forceDefault: boolean, forcedHosts: java.util.Map, tabListType: string, setLocalAddress: boolean, pingPassthrough: boolean, queryPort: number, queryEnabled: boolean, proxyProtocol: boolean)
|
||||
/**
|
||||
* Gets the highest priority server to join.
|
||||
*/
|
||||
@ -18,6 +20,83 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getFallbackServer(): string;
|
||||
/**
|
||||
* Host to bind to.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getHost(): java.net.InetSocketAddress;
|
||||
/**
|
||||
* Displayed MOTD.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getMotd(): string;
|
||||
/**
|
||||
* Max amount of slots displayed on the ping page.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getMaxPlayers(): number;
|
||||
/**
|
||||
* Number of players to be shown on the tab list.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getTabListSize(): number;
|
||||
/**
|
||||
* List of servers in order of join attempt. First attempt is the first
|
||||
* element, second attempt is the next element, etc etc.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getServerPriority(): java.util.List;
|
||||
/**
|
||||
* Whether reconnect locations will be used, or else the user is simply
|
||||
* transferred to the default server on connect.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isForceDefault(): boolean;
|
||||
/**
|
||||
* A list of host to server name mappings which will force a user to be
|
||||
* transferred depending on the host they connect to.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getForcedHosts(): java.util.Map;
|
||||
/**
|
||||
* The type of tab list to use
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getTabListType(): string;
|
||||
/**
|
||||
* Whether to set the local address when connecting to servers.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isSetLocalAddress(): boolean;
|
||||
/**
|
||||
* Whether to pass the ping through when we can reliably get the target
|
||||
* server (force default server).
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isPingPassthrough(): boolean;
|
||||
/**
|
||||
* What port to run udp query on.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getQueryPort(): number;
|
||||
/**
|
||||
* Whether to enable udp query.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isQueryEnabled(): boolean;
|
||||
/**
|
||||
* Whether to support HAProxy PROXY protocol.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isProxyProtocol(): boolean;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class AsyncEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(done: net.md_5.bungee.api.Callback)
|
||||
// @ts-ignore
|
||||
public postCall(): void;
|
||||
/**
|
||||
@ -24,6 +24,14 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public completeIntent(plugin: net.md_5.bungee.api.plugin.Plugin): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -17,6 +17,34 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isProxyCommand(): boolean;
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isCancelled(): boolean;
|
||||
/**
|
||||
* Text contained in this chat.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getMessage(): string;
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCancelled(cancelled: boolean): void;
|
||||
/**
|
||||
* Text contained in this chat.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setMessage(message: string): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,6 +13,34 @@ declare namespace net {
|
||||
public setCancelReason(cancelReason: string): void;
|
||||
// @ts-ignore
|
||||
public setCancelReason(cancelReason: BaseComponent): void;
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isCancelled(): boolean;
|
||||
/**
|
||||
* Message to use when kicking if this event is canceled.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getCancelReasonComponents(): BaseComponent[];
|
||||
/**
|
||||
* Connection attempting to login.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getConnection(): net.md_5.bungee.api.connection.PendingConnection;
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCancelled(cancelled: boolean): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,32 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PermissionCheckEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(sender: net.md_5.bungee.api.CommandSender, permission: string, hasPermission: boolean)
|
||||
// @ts-ignore
|
||||
public hasPermission(): boolean;
|
||||
/**
|
||||
* The command sender being checked for a permission.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getSender(): net.md_5.bungee.api.CommandSender;
|
||||
/**
|
||||
* The permission to check.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPermission(): string;
|
||||
/**
|
||||
* The outcome of this permission check.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setHasPermission(hasPermission: boolean): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,20 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PlayerDisconnectEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer)
|
||||
/**
|
||||
* Player disconnecting.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPlayer(): net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,24 @@ declare namespace net {
|
||||
class PlayerHandshakeEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor(connection: net.md_5.bungee.api.connection.PendingConnection, handshake: Handshake)
|
||||
/**
|
||||
* Connection attempting to login.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getConnection(): net.md_5.bungee.api.connection.PendingConnection;
|
||||
/**
|
||||
* The handshake.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getHandshake(): Handshake;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,34 @@ declare namespace net {
|
||||
class PluginMessageEvent extends net.md_5.bungee.api.event.TargetedEvent implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(sender: net.md_5.bungee.api.connection.Connection, receiver: net.md_5.bungee.api.connection.Connection, tag: string, data: number)
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isCancelled(): boolean;
|
||||
/**
|
||||
* Tag specified for this plugin message.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getTag(): string;
|
||||
/**
|
||||
* Data contained in this plugin message.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getData(): number[];
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCancelled(cancelled: boolean): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,20 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PostLoginEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer)
|
||||
/**
|
||||
* The player involved with this event.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPlayer(): net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,6 +13,34 @@ declare namespace net {
|
||||
public setCancelReason(cancelReason: string): void;
|
||||
// @ts-ignore
|
||||
public setCancelReason(cancelReason: BaseComponent): void;
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isCancelled(): boolean;
|
||||
/**
|
||||
* Message to use when kicking if this event is canceled.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getCancelReasonComponents(): BaseComponent[];
|
||||
/**
|
||||
* Connection attempting to login.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getConnection(): net.md_5.bungee.api.connection.PendingConnection;
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCancelled(cancelled: boolean): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,29 @@ declare namespace net {
|
||||
class ProxyPingEvent extends net.md_5.bungee.api.event.AsyncEvent {
|
||||
// @ts-ignore
|
||||
constructor(connection: net.md_5.bungee.api.connection.PendingConnection, response: net.md_5.bungee.api.ServerPing, done: net.md_5.bungee.api.Callback)
|
||||
/**
|
||||
* The connection asking for a ping response.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getConnection(): net.md_5.bungee.api.connection.PendingConnection;
|
||||
/**
|
||||
* The data to respond with.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getResponse(): net.md_5.bungee.api.ServerPing;
|
||||
/**
|
||||
* The data to respond with.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setResponse(response: net.md_5.bungee.api.ServerPing): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,18 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ProxyReloadEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(sender: net.md_5.bungee.api.CommandSender)
|
||||
/**
|
||||
* Creator of the action.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getSender(): net.md_5.bungee.api.CommandSender;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,41 @@ declare namespace net {
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer, target: net.md_5.bungee.api.config.ServerInfo)
|
||||
// @ts-ignore
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer, target: net.md_5.bungee.api.config.ServerInfo, reason: net.md_5.bungee.api.event.ServerConnectEvent.Reason)
|
||||
/**
|
||||
* Player connecting to a new server.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPlayer(): net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
/**
|
||||
* Server the player will be connected to.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getTarget(): net.md_5.bungee.api.config.ServerInfo;
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isCancelled(): boolean;
|
||||
// @ts-ignore
|
||||
public getReason(): net.md_5.bungee.api.event.ServerConnectEvent.Reason;
|
||||
/**
|
||||
* Server the player will be connected to.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setTarget(target: net.md_5.bungee.api.config.ServerInfo): void;
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCancelled(cancelled: boolean): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,25 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ServerConnectedEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer, server: net.md_5.bungee.api.connection.Server)
|
||||
/**
|
||||
* Player whom the server is for.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPlayer(): net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
/**
|
||||
* The server itself.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getServer(): net.md_5.bungee.api.connection.Server;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,25 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ServerDisconnectEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer, target: net.md_5.bungee.api.config.ServerInfo)
|
||||
/**
|
||||
* Player disconnecting from a server.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPlayer(): net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
/**
|
||||
* Server the player is disconnecting from.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getTarget(): net.md_5.bungee.api.config.ServerInfo;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,65 @@ declare namespace net {
|
||||
public getKickReason(): string;
|
||||
// @ts-ignore
|
||||
public setKickReason(reason: string): void;
|
||||
/**
|
||||
* Cancelled status.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isCancelled(): boolean;
|
||||
/**
|
||||
* Player being kicked.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPlayer(): net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
/**
|
||||
* The server the player was kicked from, should be used in preference to
|
||||
* {@link ProxiedPlayer#getServer()}.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getKickedFrom(): net.md_5.bungee.api.config.ServerInfo;
|
||||
/**
|
||||
* Kick reason.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getKickReasonComponent(): BaseComponent[];
|
||||
/**
|
||||
* Server to send player to if this event is cancelled.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getCancelServer(): net.md_5.bungee.api.config.ServerInfo;
|
||||
/**
|
||||
* State in which the kick occured.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getState(): net.md_5.bungee.api.event.ServerKickEvent.State;
|
||||
/**
|
||||
* Cancelled status.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCancelled(cancelled: boolean): void;
|
||||
/**
|
||||
* Kick reason.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setKickReasonComponent(kickReasonComponent: BaseComponent): void;
|
||||
/**
|
||||
* Server to send player to if this event is cancelled.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCancelServer(cancelServer: net.md_5.bungee.api.config.ServerInfo): void;
|
||||
/**
|
||||
* State in which the kick occured.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setState(state: net.md_5.bungee.api.event.ServerKickEvent.State): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,20 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ServerSwitchEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer)
|
||||
/**
|
||||
* Player whom the server is for.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPlayer(): net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,20 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class SettingsChangedEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(player: net.md_5.bungee.api.connection.ProxiedPlayer)
|
||||
/**
|
||||
* Player who changed the settings.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPlayer(): net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,35 @@ declare namespace net {
|
||||
class TabCompleteEvent extends net.md_5.bungee.api.event.TargetedEvent implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(sender: net.md_5.bungee.api.connection.Connection, receiver: net.md_5.bungee.api.connection.Connection, cursor: string, suggestions: java.util.List)
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isCancelled(): boolean;
|
||||
/**
|
||||
* The message the player has already entered.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getCursor(): string;
|
||||
/**
|
||||
* The suggestions that will be sent to the client. This list is mutable. If
|
||||
* this list is empty, the request will be forwarded to the server.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getSuggestions(): java.util.List;
|
||||
/**
|
||||
* Cancelled state.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCancelled(cancelled: boolean): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,30 @@ declare namespace net {
|
||||
class TabCompleteResponseEvent extends net.md_5.bungee.api.event.TargetedEvent implements net.md_5.bungee.api.plugin.Cancellable {
|
||||
// @ts-ignore
|
||||
constructor(sender: net.md_5.bungee.api.connection.Connection, receiver: net.md_5.bungee.api.connection.Connection, suggestions: java.util.List)
|
||||
/**
|
||||
* Whether the event is cancelled.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isCancelled(): boolean;
|
||||
/**
|
||||
* Mutable list of suggestions sent back to the player. If this list is
|
||||
* empty, an empty list is sent back to the client.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getSuggestions(): java.util.List;
|
||||
/**
|
||||
* Whether the event is cancelled.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setCancelled(cancelled: boolean): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,25 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
abstract class TargetedEvent extends net.md_5.bungee.api.plugin.Event {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(sender: net.md_5.bungee.api.connection.Connection, receiver: net.md_5.bungee.api.connection.Connection)
|
||||
/**
|
||||
* Creator of the action.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getSender(): net.md_5.bungee.api.connection.Connection;
|
||||
/**
|
||||
* Receiver of the action.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getReceiver(): net.md_5.bungee.api.connection.Connection;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -25,6 +25,20 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public hasPermission(sender: net.md_5.bungee.api.CommandSender): boolean;
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
// @ts-ignore
|
||||
public getPermission(): string;
|
||||
// @ts-ignore
|
||||
public getAliases(): java.lang.String[];
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -38,6 +38,14 @@ declare namespace net {
|
||||
public getResourceAsStream(name: string): java.io.InputStream;
|
||||
// @ts-ignore
|
||||
public getExecutorService(): java.util.concurrent.ExecutorService;
|
||||
// @ts-ignore
|
||||
public getDescription(): net.md_5.bungee.api.plugin.PluginDescription;
|
||||
// @ts-ignore
|
||||
public getProxy(): net.md_5.bungee.api.ProxyServer;
|
||||
// @ts-ignore
|
||||
public getFile(): java.io.File;
|
||||
// @ts-ignore
|
||||
public getLogger(): java.util.logging.Logger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,96 @@ declare namespace net {
|
||||
class PluginDescription extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(name: string, main: string, version: string, author: string, depends: java.util.Set, softDepends: java.util.Set, file: java.io.File, description: string)
|
||||
/**
|
||||
* Friendly name of the plugin.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
/**
|
||||
* Plugin main class. Needs to extend {@link Plugin}.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getMain(): string;
|
||||
/**
|
||||
* Plugin version.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getVersion(): string;
|
||||
/**
|
||||
* Plugin author.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getAuthor(): string;
|
||||
/**
|
||||
* Plugin hard dependencies.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getDepends(): java.util.Set;
|
||||
/**
|
||||
* Plugin soft dependencies.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getSoftDepends(): java.util.Set;
|
||||
/**
|
||||
* File we were loaded from.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getFile(): java.io.File;
|
||||
/**
|
||||
* Optional description.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getDescription(): string;
|
||||
/**
|
||||
* Friendly name of the plugin.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setName(name: string): void;
|
||||
/**
|
||||
* Plugin main class. Needs to extend {@link Plugin}.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setMain(main: string): void;
|
||||
/**
|
||||
* Plugin version.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setVersion(version: string): void;
|
||||
/**
|
||||
* Plugin author.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setAuthor(author: string): void;
|
||||
/**
|
||||
* Plugin hard dependencies.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setDepends(depends: java.util.Set): void;
|
||||
/**
|
||||
* Plugin soft dependencies.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setSoftDepends(softDepends: java.util.Set): void;
|
||||
/**
|
||||
* File we were loaded from.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setFile(file: java.io.File): void;
|
||||
/**
|
||||
* Optional description.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setDescription(description: string): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,8 @@ declare namespace net {
|
||||
class PluginManager extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor(proxy: net.md_5.bungee.api.ProxyServer)
|
||||
// @ts-ignore
|
||||
constructor(proxy: net.md_5.bungee.api.ProxyServer, yaml: Yaml, eventBus: EventBus)
|
||||
/**
|
||||
* Register a command so that it may be executed.
|
||||
*/
|
||||
|
@ -9,6 +9,16 @@ declare namespace net {
|
||||
constructor(plugin: net.md_5.bungee.api.plugin.Plugin, name: string)
|
||||
// @ts-ignore
|
||||
public newThread(r: java.lang.Runnable): java.lang.Thread;
|
||||
// @ts-ignore
|
||||
public getGroup(): java.lang.ThreadGroup;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,40 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Objective extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(name: string, value: string, type: string)
|
||||
/**
|
||||
* Name of the objective.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
/**
|
||||
* Value of the objective.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getValue(): string;
|
||||
/**
|
||||
* Type; integer or hearts
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getType(): string;
|
||||
/**
|
||||
* Value of the objective.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setValue(value: string): void;
|
||||
/**
|
||||
* Type; integer or hearts
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setType(type: string): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,30 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Score extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(itemName: string, scoreName: string, value: number)
|
||||
/**
|
||||
* Name to be displayed in the list.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getItemName(): string;
|
||||
/**
|
||||
* Unique name of the score.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getScoreName(): string;
|
||||
/**
|
||||
* Value of the score.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getValue(): number;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,6 +33,34 @@ declare namespace net {
|
||||
public removeTeam(teamName: string): void;
|
||||
// @ts-ignore
|
||||
public clear(): void;
|
||||
/**
|
||||
* Unique name for this scoreboard.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
/**
|
||||
* Position of this scoreboard.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getPosition(): net.md_5.bungee.api.score.Position;
|
||||
/**
|
||||
* Unique name for this scoreboard.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setName(name: string): void;
|
||||
/**
|
||||
* Position of this scoreboard.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setPosition(position: net.md_5.bungee.api.score.Position): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,13 +6,53 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Team extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(name: string)
|
||||
// @ts-ignore
|
||||
public getPlayers(): java.util.Collection;
|
||||
// @ts-ignore
|
||||
public addPlayer(name: string): void;
|
||||
// @ts-ignore
|
||||
public removePlayer(name: string): void;
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
// @ts-ignore
|
||||
public getDisplayName(): string;
|
||||
// @ts-ignore
|
||||
public getPrefix(): string;
|
||||
// @ts-ignore
|
||||
public getSuffix(): string;
|
||||
// @ts-ignore
|
||||
public getFriendlyFire(): number;
|
||||
// @ts-ignore
|
||||
public getNameTagVisibility(): string;
|
||||
// @ts-ignore
|
||||
public getCollisionRule(): string;
|
||||
// @ts-ignore
|
||||
public getColor(): number;
|
||||
// @ts-ignore
|
||||
public setDisplayName(displayName: string): void;
|
||||
// @ts-ignore
|
||||
public setPrefix(prefix: string): void;
|
||||
// @ts-ignore
|
||||
public setSuffix(suffix: string): void;
|
||||
// @ts-ignore
|
||||
public setFriendlyFire(friendlyFire: number): void;
|
||||
// @ts-ignore
|
||||
public setNameTagVisibility(nameTagVisibility: string): void;
|
||||
// @ts-ignore
|
||||
public setCollisionRule(collisionRule: string): void;
|
||||
// @ts-ignore
|
||||
public setColor(color: number): void;
|
||||
// @ts-ignore
|
||||
public setPlayers(players: java.util.Set): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,12 +4,18 @@ declare namespace net {
|
||||
namespace chat {
|
||||
// @ts-ignore
|
||||
class TranslationRegistry extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static INSTANCE: net.md_5.bungee.chat.TranslationRegistry;
|
||||
// @ts-ignore
|
||||
public translate(s: string): string;
|
||||
// @ts-ignore
|
||||
public getProviders(): java.util.List;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ConsoleCommandCompleter extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(proxy: ProxyServer)
|
||||
// @ts-ignore
|
||||
public complete(buffer: string, cursor: number, candidates: java.util.List): number;
|
||||
}
|
||||
|
@ -4,8 +4,6 @@ declare namespace net {
|
||||
namespace command {
|
||||
// @ts-ignore
|
||||
class ConsoleCommandSender extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public sendMessage(message: string): void;
|
||||
// @ts-ignore
|
||||
@ -28,6 +26,8 @@ declare namespace net {
|
||||
public setPermission(permission: string, value: boolean): void;
|
||||
// @ts-ignore
|
||||
public getPermissions(): java.util.Collection;
|
||||
// @ts-ignore
|
||||
public static getInstance(): net.md_5.bungee.command.ConsoleCommandSender;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,8 @@ declare namespace net {
|
||||
public handlerRemoved(ctx: ChannelHandlerContext): void;
|
||||
// @ts-ignore
|
||||
protected encode(ctx: ChannelHandlerContext, msg: ByteBuf, out: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public setThreshold(threshold: number): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,54 @@ declare namespace net {
|
||||
public getFavicon(): string;
|
||||
// @ts-ignore
|
||||
public getFaviconObject(): Favicon;
|
||||
/**
|
||||
* Time before users are disconnected due to no network activity.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getTimeout(): number;
|
||||
/**
|
||||
* UUID used for metrics.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getUuid(): string;
|
||||
/**
|
||||
* Set of all listeners.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getListeners(): java.util.Collection;
|
||||
/**
|
||||
* Set of all servers.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getServers(): any;
|
||||
/**
|
||||
* Should we check minecraft.net auth.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isOnlineMode(): boolean;
|
||||
/**
|
||||
* Whether we log proxy commands to the proxy log
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isLogCommands(): boolean;
|
||||
// @ts-ignore
|
||||
public isLogPings(): boolean;
|
||||
// @ts-ignore
|
||||
public getPlayerLimit(): number;
|
||||
// @ts-ignore
|
||||
public getDisabledCommands(): java.util.Collection;
|
||||
// @ts-ignore
|
||||
public getThrottle(): number;
|
||||
// @ts-ignore
|
||||
public getThrottleLimit(): number;
|
||||
// @ts-ignore
|
||||
public isIpForward(): boolean;
|
||||
// @ts-ignore
|
||||
public getCompressionThreshold(): number;
|
||||
// @ts-ignore
|
||||
public isPreventProxyConnections(): boolean;
|
||||
// @ts-ignore
|
||||
public isForgeSupport(): boolean;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,8 +4,6 @@ declare namespace net {
|
||||
namespace config {
|
||||
// @ts-ignore
|
||||
class YamlConfiguration extends net.md_5.bungee.config.ConfigurationProvider {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public save(config: net.md_5.bungee.config.Configuration, file: java.io.File): void;
|
||||
// @ts-ignore
|
||||
|
@ -4,8 +4,6 @@ declare namespace net {
|
||||
namespace connection {
|
||||
// @ts-ignore
|
||||
class CancelSendSignal extends java.lang.Error {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static INSTANCE: net.md_5.bungee.connection.CancelSendSignal;
|
||||
// @ts-ignore
|
||||
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class DownstreamBridge extends net.md_5.bungee.netty.PacketHandler {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(bungee: ProxyServer, con: net.md_5.bungee.UserConnection, server: net.md_5.bungee.ServerConnection)
|
||||
// @ts-ignore
|
||||
public exception(t: java.lang.Throwable): void;
|
||||
// @ts-ignore
|
||||
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class InitialHandler extends net.md_5.bungee.netty.PacketHandler {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(bungee: net.md_5.bungee.BungeeCord, listener: ListenerInfo)
|
||||
// @ts-ignore
|
||||
public shouldHandle(packet: PacketWrapper): boolean;
|
||||
// @ts-ignore
|
||||
@ -56,6 +56,28 @@ declare namespace net {
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public isConnected(): boolean;
|
||||
// @ts-ignore
|
||||
public getListener(): ListenerInfo;
|
||||
// @ts-ignore
|
||||
public getHandshake(): Handshake;
|
||||
// @ts-ignore
|
||||
public getLoginRequest(): LoginRequest;
|
||||
// @ts-ignore
|
||||
public getRelayMessages(): java.util.List;
|
||||
// @ts-ignore
|
||||
public isOnlineMode(): boolean;
|
||||
// @ts-ignore
|
||||
public getVirtualHost(): java.net.InetSocketAddress;
|
||||
// @ts-ignore
|
||||
public getUniqueId(): java.util.UUID;
|
||||
// @ts-ignore
|
||||
public getOfflineId(): java.util.UUID;
|
||||
// @ts-ignore
|
||||
public getLoginProfile(): net.md_5.bungee.connection.LoginResult;
|
||||
// @ts-ignore
|
||||
public isLegacy(): boolean;
|
||||
// @ts-ignore
|
||||
public getExtraDataInHandshake(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,27 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class Property extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(name: string, value: string, signature: string)
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
// @ts-ignore
|
||||
public getValue(): string;
|
||||
// @ts-ignore
|
||||
public getSignature(): string;
|
||||
// @ts-ignore
|
||||
public setName(name: string): void;
|
||||
// @ts-ignore
|
||||
public setValue(value: string): void;
|
||||
// @ts-ignore
|
||||
public setSignature(signature: string): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,27 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class LoginResult extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(id: string, name: string, properties: net.md_5.bungee.connection.LoginResult.Property)
|
||||
// @ts-ignore
|
||||
public getId(): string;
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
// @ts-ignore
|
||||
public getProperties(): net.md_5.bungee.connection.LoginResult.Property[];
|
||||
// @ts-ignore
|
||||
public setId(id: string): void;
|
||||
// @ts-ignore
|
||||
public setName(name: string): void;
|
||||
// @ts-ignore
|
||||
public setProperties(properties: net.md_5.bungee.connection.LoginResult.Property): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PingHandler extends net.md_5.bungee.netty.PacketHandler {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(target: ServerInfo, callback: any, protocol: number)
|
||||
// @ts-ignore
|
||||
public connected(channel: net.md_5.bungee.netty.ChannelWrapper): void;
|
||||
// @ts-ignore
|
||||
|
@ -4,8 +4,6 @@ declare namespace net {
|
||||
namespace entitymap {
|
||||
// @ts-ignore
|
||||
abstract class EntityMap extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static getEntityMap(version: number): net.md_5.bungee.entitymap.EntityMap;
|
||||
// @ts-ignore
|
||||
|
@ -5,9 +5,13 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class EventHandlerMethod extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(listener: java.lang.Object, method: java.lang.reflect.Method)
|
||||
// @ts-ignore
|
||||
public invoke(event: java.lang.Object): void;
|
||||
// @ts-ignore
|
||||
public getListener(): java.lang.Object;
|
||||
// @ts-ignore
|
||||
public getMethod(): java.lang.reflect.Method;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,8 +4,6 @@ declare namespace net {
|
||||
namespace event {
|
||||
// @ts-ignore
|
||||
class EventPriority extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static LOWEST: number;
|
||||
// @ts-ignore
|
||||
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ForgeClientHandler extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(con: net.md_5.bungee.UserConnection)
|
||||
/**
|
||||
* Handles the Forge packet.
|
||||
*/
|
||||
@ -46,6 +46,23 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isForgeUser(): boolean;
|
||||
/**
|
||||
* The users' mod list.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public getClientModList(): java.util.Map;
|
||||
/**
|
||||
* Gets or sets a value indicating whether the '\00FML\00' token was found
|
||||
* in the handshake.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public isFmlTokenInHandshake(): boolean;
|
||||
/**
|
||||
* Gets or sets a value indicating whether the '\00FML\00' token was found
|
||||
* in the handshake.
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setFmlTokenInHandshake(fmlTokenInHandshake: boolean): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ForgeServerHandler extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(con: net.md_5.bungee.UserConnection, ch: net.md_5.bungee.netty.ChannelWrapper, serverInfo: ServerInfo)
|
||||
/**
|
||||
* Handles any {@link PluginMessage} that contains a FML Handshake or Forge
|
||||
* Register.
|
||||
@ -23,6 +23,12 @@ declare namespace net {
|
||||
*/
|
||||
// @ts-ignore
|
||||
public setServerAsForgeServer(): void;
|
||||
// @ts-ignore
|
||||
public getCh(): net.md_5.bungee.netty.ChannelWrapper;
|
||||
// @ts-ignore
|
||||
public getState(): net.md_5.bungee.forge.ForgeServerHandshakeState;
|
||||
// @ts-ignore
|
||||
public isServerForge(): boolean;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,8 +4,6 @@ declare namespace net {
|
||||
namespace http {
|
||||
// @ts-ignore
|
||||
class HttpClient extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static TIMEOUT: number;
|
||||
// @ts-ignore
|
||||
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class HttpHandler extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(callback: any)
|
||||
// @ts-ignore
|
||||
public exceptionCaught(ctx: ChannelHandlerContext, cause: java.lang.Throwable): void;
|
||||
// @ts-ignore
|
||||
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class HttpInitializer extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(callback: any, ssl: boolean, host: string, port: number)
|
||||
// @ts-ignore
|
||||
protected initChannel(ch: Channel): void;
|
||||
}
|
||||
|
@ -15,6 +15,8 @@ declare namespace net {
|
||||
public cipher(input: ByteBuf, out: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public cipher(ctx: ChannelHandlerContext, input: ByteBuf): ByteBuf;
|
||||
// @ts-ignore
|
||||
public getNativeCipher(): net.md_5.bungee.jni.cipher.NativeCipherImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,6 +13,8 @@ declare namespace net {
|
||||
public free(): void;
|
||||
// @ts-ignore
|
||||
public process(input: ByteBuf, out: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public getNativeCompress(): net.md_5.bungee.jni.zlib.NativeCompressImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class LoggingOutputStream extends java.io.ByteArrayOutputStream {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(logger: java.util.logging.Logger, level: java.util.logging.Level)
|
||||
// @ts-ignore
|
||||
public flush(): void;
|
||||
}
|
||||
|
@ -8,6 +8,14 @@ declare namespace net {
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public retrieve(module: net.md_5.bungee.module.ModuleSpec, version: net.md_5.bungee.module.ModuleVersion): void;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,21 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class ModuleSpec extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(name: string, file: java.io.File, provider: net.md_5.bungee.module.ModuleSource)
|
||||
// @ts-ignore
|
||||
public getName(): string;
|
||||
// @ts-ignore
|
||||
public getFile(): java.io.File;
|
||||
// @ts-ignore
|
||||
public getProvider(): net.md_5.bungee.module.ModuleSource;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,10 +4,20 @@ declare namespace net {
|
||||
namespace module {
|
||||
// @ts-ignore
|
||||
class ModuleVersion extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static parse(version: string): net.md_5.bungee.module.ModuleVersion;
|
||||
// @ts-ignore
|
||||
public getBuild(): string;
|
||||
// @ts-ignore
|
||||
public getGit(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -26,6 +26,14 @@ declare namespace net {
|
||||
public getHandle(): Channel;
|
||||
// @ts-ignore
|
||||
public setCompressionThreshold(compressionThreshold: number): void;
|
||||
// @ts-ignore
|
||||
public getRemoteAddress(): java.net.InetSocketAddress;
|
||||
// @ts-ignore
|
||||
public setRemoteAddress(remoteAddress: java.net.InetSocketAddress): void;
|
||||
// @ts-ignore
|
||||
public isClosed(): boolean;
|
||||
// @ts-ignore
|
||||
public isClosing(): boolean;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class CipherDecoder extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(cipher: BungeeCipher)
|
||||
// @ts-ignore
|
||||
protected decode(ctx: ChannelHandlerContext, msg: ByteBuf, out: java.util.List): void;
|
||||
// @ts-ignore
|
||||
|
@ -6,7 +6,7 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class CipherEncoder extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(cipher: BungeeCipher)
|
||||
// @ts-ignore
|
||||
protected encode(ctx: ChannelHandlerContext, input: ByteBuf, out: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
|
@ -5,9 +5,13 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class MinecraftDecoder extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(protocol: net.md_5.bungee.protocol.Protocol, server: boolean, protocolVersion: number)
|
||||
// @ts-ignore
|
||||
protected decode(ctx: ChannelHandlerContext, input: ByteBuf, out: java.util.List): void;
|
||||
// @ts-ignore
|
||||
public setProtocol(protocol: net.md_5.bungee.protocol.Protocol): void;
|
||||
// @ts-ignore
|
||||
public setProtocolVersion(protocolVersion: number): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,9 +5,13 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class MinecraftEncoder extends object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(protocol: net.md_5.bungee.protocol.Protocol, server: boolean, protocolVersion: number)
|
||||
// @ts-ignore
|
||||
protected encode(ctx: ChannelHandlerContext, msg: net.md_5.bungee.protocol.DefinedPacket, out: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public setProtocol(protocol: net.md_5.bungee.protocol.Protocol): void;
|
||||
// @ts-ignore
|
||||
public setProtocolVersion(protocolVersion: number): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,13 +5,15 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
class PacketWrapper extends java.lang.Object {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
constructor(packet: net.md_5.bungee.protocol.DefinedPacket, buf: ByteBuf)
|
||||
// @ts-ignore
|
||||
public packet: net.md_5.bungee.protocol.DefinedPacket;
|
||||
// @ts-ignore
|
||||
public buf: ByteBuf;
|
||||
// @ts-ignore
|
||||
public trySingleRelease(): void;
|
||||
// @ts-ignore
|
||||
public setReleased(released: boolean): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,49 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(uuid: java.util.UUID, action: number)
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getUuid(): java.util.UUID;
|
||||
// @ts-ignore
|
||||
public getAction(): number;
|
||||
// @ts-ignore
|
||||
public getTitle(): string;
|
||||
// @ts-ignore
|
||||
public getHealth(): number;
|
||||
// @ts-ignore
|
||||
public getColor(): number;
|
||||
// @ts-ignore
|
||||
public getDivision(): number;
|
||||
// @ts-ignore
|
||||
public getFlags(): number;
|
||||
// @ts-ignore
|
||||
public setUuid(uuid: java.util.UUID): void;
|
||||
// @ts-ignore
|
||||
public setAction(action: number): void;
|
||||
// @ts-ignore
|
||||
public setTitle(title: string): void;
|
||||
// @ts-ignore
|
||||
public setHealth(health: number): void;
|
||||
// @ts-ignore
|
||||
public setColor(color: number): void;
|
||||
// @ts-ignore
|
||||
public setDivision(division: number): void;
|
||||
// @ts-ignore
|
||||
public setFlags(flags: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,31 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor(message: string)
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(message: string, position: number)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getMessage(): string;
|
||||
// @ts-ignore
|
||||
public getPosition(): number;
|
||||
// @ts-ignore
|
||||
public setMessage(message: string): void;
|
||||
// @ts-ignore
|
||||
public setPosition(position: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,49 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(locale: string, viewDistance: number, chatFlags: number, chatColours: boolean, difficulty: number, skinParts: number, mainHand: number)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getLocale(): string;
|
||||
// @ts-ignore
|
||||
public getViewDistance(): number;
|
||||
// @ts-ignore
|
||||
public getChatFlags(): number;
|
||||
// @ts-ignore
|
||||
public isChatColours(): boolean;
|
||||
// @ts-ignore
|
||||
public getDifficulty(): number;
|
||||
// @ts-ignore
|
||||
public getSkinParts(): number;
|
||||
// @ts-ignore
|
||||
public getMainHand(): number;
|
||||
// @ts-ignore
|
||||
public setLocale(locale: string): void;
|
||||
// @ts-ignore
|
||||
public setViewDistance(viewDistance: number): void;
|
||||
// @ts-ignore
|
||||
public setChatFlags(chatFlags: number): void;
|
||||
// @ts-ignore
|
||||
public setChatColours(chatColours: boolean): void;
|
||||
// @ts-ignore
|
||||
public setDifficulty(difficulty: number): void;
|
||||
// @ts-ignore
|
||||
public setSkinParts(skinParts: number): void;
|
||||
// @ts-ignore
|
||||
public setMainHand(mainHand: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,25 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(payload: number)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getPayload(): number;
|
||||
// @ts-ignore
|
||||
public setPayload(payload: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,14 @@ declare namespace net {
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
public static ASK_SERVER: SuggestionProvider;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,25 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(root: RootCommandNode)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getRoot(): RootCommandNode;
|
||||
// @ts-ignore
|
||||
public setRoot(root: RootCommandNode): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,33 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(serverId: string, publicKey: number, verifyToken: number)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getServerId(): string;
|
||||
// @ts-ignore
|
||||
public getPublicKey(): number[];
|
||||
// @ts-ignore
|
||||
public getVerifyToken(): number[];
|
||||
// @ts-ignore
|
||||
public setServerId(serverId: string): void;
|
||||
// @ts-ignore
|
||||
public setPublicKey(publicKey: number): void;
|
||||
// @ts-ignore
|
||||
public setVerifyToken(verifyToken: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,29 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(sharedSecret: number, verifyToken: number)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getSharedSecret(): number[];
|
||||
// @ts-ignore
|
||||
public getVerifyToken(): number[];
|
||||
// @ts-ignore
|
||||
public setSharedSecret(sharedSecret: number): void;
|
||||
// @ts-ignore
|
||||
public setVerifyToken(verifyToken: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,8 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(entityId: number, status: number)
|
||||
// @ts-ignore
|
||||
public static DEBUG_INFO_REDUCED: number;
|
||||
// @ts-ignore
|
||||
public static DEBUG_INFO_NORMAL: number;
|
||||
@ -17,6 +19,22 @@ declare namespace net {
|
||||
public write(buf: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getEntityId(): number;
|
||||
// @ts-ignore
|
||||
public getStatus(): number;
|
||||
// @ts-ignore
|
||||
public setEntityId(entityId: number): void;
|
||||
// @ts-ignore
|
||||
public setStatus(status: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,37 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(protocolVersion: number, host: string, port: number, requestedProtocol: number)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getProtocolVersion(): number;
|
||||
// @ts-ignore
|
||||
public getHost(): string;
|
||||
// @ts-ignore
|
||||
public getPort(): number;
|
||||
// @ts-ignore
|
||||
public getRequestedProtocol(): number;
|
||||
// @ts-ignore
|
||||
public setProtocolVersion(protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public setHost(host: string): void;
|
||||
// @ts-ignore
|
||||
public setPort(port: number): void;
|
||||
// @ts-ignore
|
||||
public setRequestedProtocol(requestedProtocol: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,25 @@ declare namespace net {
|
||||
// @ts-ignore
|
||||
constructor()
|
||||
// @ts-ignore
|
||||
constructor(randomId: number)
|
||||
// @ts-ignore
|
||||
public read(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public write(buf: ByteBuf, direction: net.md_5.bungee.protocol.ProtocolConstants.Direction, protocolVersion: number): void;
|
||||
// @ts-ignore
|
||||
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
|
||||
// @ts-ignore
|
||||
public getRandomId(): number;
|
||||
// @ts-ignore
|
||||
public setRandomId(randomId: number): void;
|
||||
// @ts-ignore
|
||||
public toString(): string;
|
||||
// @ts-ignore
|
||||
public equals(o: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
protected canEqual(other: java.lang.Object): boolean;
|
||||
// @ts-ignore
|
||||
public hashCode(): number;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user