diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.BungeeCord.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.BungeeCord.d.ts
index f1d64f39..ac978cd3 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.BungeeCord.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.BungeeCord.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.BungeeServerInfo.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.BungeeServerInfo.d.ts
index aa801329..9eed0912 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.BungeeServerInfo.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.BungeeServerInfo.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.EncryptionUtil.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.EncryptionUtil.d.ts
index bf78c70e..4d475ec0 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.EncryptionUtil.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.EncryptionUtil.d.ts
@@ -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*/;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.PlayerSkinConfiguration.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.PlayerSkinConfiguration.d.ts
index 56fd84ef..b9e17a1a 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.PlayerSkinConfiguration.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.PlayerSkinConfiguration.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.ServerConnection.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.ServerConnection.d.ts
index 10a7ef29..b2ff048b 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.ServerConnection.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.ServerConnection.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.ServerConnector.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.ServerConnector.d.ts
index 15a1351b..c64deff7 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.ServerConnector.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.ServerConnector.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.UserConnection.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.UserConnection.d.ts
index 6d14aeaf..1f049316 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.UserConnection.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.UserConnection.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ChatColor.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ChatColor.d.ts
index 0b208efc..989e702c 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ChatColor.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ChatColor.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.Favicon.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.Favicon.d.ts
index aee12580..63691f57 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.Favicon.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.Favicon.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ProxyServer.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ProxyServer.d.ts
index 477b8fd4..6d97cf52 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ProxyServer.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ProxyServer.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerConnectRequest.Builder.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerConnectRequest.Builder.d.ts
index fa8b9fcb..94a72c6b 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerConnectRequest.Builder.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerConnectRequest.Builder.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerConnectRequest.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerConnectRequest.d.ts
index f0261306..2f012cc1 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerConnectRequest.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerConnectRequest.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.ModInfo.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.ModInfo.d.ts
index 6a10b552..7e2bfd08 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.ModInfo.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.ModInfo.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.ModItem.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.ModItem.d.ts
index ef96bcd6..53615a5e 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.ModItem.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.ModItem.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.PlayerInfo.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.PlayerInfo.d.ts
index 97de8ec8..e94ae6d1 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.PlayerInfo.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.PlayerInfo.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.Players.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.Players.d.ts
index d3dfd0c8..b247cadf 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.Players.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.Players.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.Protocol.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.Protocol.d.ts
index 68615c74..34c2b819 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.Protocol.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.Protocol.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.d.ts
index 441b897c..32e69aa6 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.ServerPing.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.BaseComponent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.BaseComponent.d.ts
index ae37cb80..e864922f 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.BaseComponent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.BaseComponent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ClickEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ClickEvent.d.ts
index 95f7cf15..7bf0e51f 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ClickEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ClickEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ComponentBuilder.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ComponentBuilder.d.ts
index 3d683a96..0632e568 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ComponentBuilder.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ComponentBuilder.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.HoverEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.HoverEvent.d.ts
index 3cfff709..9549c1d7 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.HoverEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.HoverEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.KeybindComponent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.KeybindComponent.d.ts
index d7be2250..466c1a42 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.KeybindComponent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.KeybindComponent.d.ts
@@ -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.
+ *
+ * Will be replaced with the actual key the client is using.
+ */
+ // @ts-ignore
+ public getKeybind(): string;
+ /**
+ * The keybind identifier to use.
+ *
+ * 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ScoreComponent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ScoreComponent.d.ts
index 4aa94e67..1de8ccd1 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ScoreComponent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.ScoreComponent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.SelectorComponent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.SelectorComponent.d.ts
index bf9bbfac..8663527c 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.SelectorComponent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.SelectorComponent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.TextComponent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.TextComponent.d.ts
index 0cc7f950..a06a1316 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.TextComponent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.TextComponent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.TranslatableComponent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.TranslatableComponent.d.ts
index 554bf750..c44e3859 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.TranslatableComponent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.chat.TranslatableComponent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.config.ListenerInfo.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.config.ListenerInfo.d.ts
index 6d3aa2bb..8384b1f0 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.config.ListenerInfo.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.config.ListenerInfo.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.AsyncEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.AsyncEvent.d.ts
index 1ae65a9a..59808368 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.AsyncEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.AsyncEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ChatEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ChatEvent.d.ts
index 07864d77..63e6c1fa 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ChatEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ChatEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.LoginEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.LoginEvent.d.ts
index 176f6c9c..3b8dfc99 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.LoginEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.LoginEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PermissionCheckEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PermissionCheckEvent.d.ts
index db814a62..12603e17 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PermissionCheckEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PermissionCheckEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PlayerDisconnectEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PlayerDisconnectEvent.d.ts
index 2a6028fa..aacdaf17 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PlayerDisconnectEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PlayerDisconnectEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PlayerHandshakeEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PlayerHandshakeEvent.d.ts
index c41e35f2..4fdebb28 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PlayerHandshakeEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PlayerHandshakeEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PluginMessageEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PluginMessageEvent.d.ts
index d841a039..0edb05d7 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PluginMessageEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PluginMessageEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PostLoginEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PostLoginEvent.d.ts
index e0cc5c2b..1fae8bf0 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PostLoginEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PostLoginEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PreLoginEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PreLoginEvent.d.ts
index ef0ec3de..0f5d1d77 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PreLoginEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.PreLoginEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ProxyPingEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ProxyPingEvent.d.ts
index 0ebeff8a..923b22d5 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ProxyPingEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ProxyPingEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ProxyReloadEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ProxyReloadEvent.d.ts
index afad3e97..79f5f332 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ProxyReloadEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ProxyReloadEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerConnectEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerConnectEvent.d.ts
index c6463e3a..dd553092 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerConnectEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerConnectEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerConnectedEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerConnectedEvent.d.ts
index 8e45152e..96a374c1 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerConnectedEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerConnectedEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerDisconnectEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerDisconnectEvent.d.ts
index 0f64623f..df8a63b6 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerDisconnectEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerDisconnectEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerKickEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerKickEvent.d.ts
index c4ff3270..c6d7bae7 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerKickEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerKickEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerSwitchEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerSwitchEvent.d.ts
index cdd419ba..342dda91 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerSwitchEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.ServerSwitchEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.SettingsChangedEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.SettingsChangedEvent.d.ts
index fd80a2bf..f9c75a88 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.SettingsChangedEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.SettingsChangedEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TabCompleteEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TabCompleteEvent.d.ts
index db9989b9..38c9b814 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TabCompleteEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TabCompleteEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TabCompleteResponseEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TabCompleteResponseEvent.d.ts
index 7729425c..4a9017ee 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TabCompleteResponseEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TabCompleteResponseEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TargetedEvent.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TargetedEvent.d.ts
index e94cef2a..6149e413 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TargetedEvent.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.event.TargetedEvent.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.Command.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.Command.d.ts
index a5d90796..ff9ec6d2 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.Command.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.Command.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.Plugin.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.Plugin.d.ts
index 5bdeec7a..691d95dd 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.Plugin.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.Plugin.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.PluginDescription.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.PluginDescription.d.ts
index 06d8353f..c5a46795 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.PluginDescription.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.PluginDescription.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.PluginManager.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.PluginManager.d.ts
index 8d696193..e8e939ff 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.PluginManager.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.plugin.PluginManager.d.ts
@@ -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.
*/
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.scheduler.GroupedThreadFactory.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.scheduler.GroupedThreadFactory.d.ts
index dc4f0279..feec0939 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.scheduler.GroupedThreadFactory.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.scheduler.GroupedThreadFactory.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Objective.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Objective.d.ts
index 14e85b5a..c7ba0927 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Objective.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Objective.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Score.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Score.d.ts
index 17fa397c..3d0eb08e 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Score.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Score.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Scoreboard.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Scoreboard.d.ts
index 452b90e4..73d7db6d 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Scoreboard.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Scoreboard.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Team.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Team.d.ts
index bbc7c9f8..a2cfb680 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Team.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.api.score.Team.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.chat.TranslationRegistry.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.chat.TranslationRegistry.d.ts
index d748b98e..122d6299 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.chat.TranslationRegistry.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.chat.TranslationRegistry.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.command.ConsoleCommandCompleter.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.command.ConsoleCommandCompleter.d.ts
index 9e4e37be..6da9613f 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.command.ConsoleCommandCompleter.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.command.ConsoleCommandCompleter.d.ts
@@ -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;
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.command.ConsoleCommandSender.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.command.ConsoleCommandSender.d.ts
index b2917801..1c289907 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.command.ConsoleCommandSender.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.command.ConsoleCommandSender.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.compress.PacketCompressor.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.compress.PacketCompressor.d.ts
index beb936d2..8eda3a79 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.compress.PacketCompressor.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.compress.PacketCompressor.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.conf.Configuration.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.conf.Configuration.d.ts
index 2bf046b1..cc9bcaf9 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.conf.Configuration.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.conf.Configuration.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.config.YamlConfiguration.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.config.YamlConfiguration.d.ts
index 032e928c..ee079542 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.config.YamlConfiguration.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.config.YamlConfiguration.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.CancelSendSignal.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.CancelSendSignal.d.ts
index 2c477f1e..78909e26 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.CancelSendSignal.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.CancelSendSignal.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.DownstreamBridge.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.DownstreamBridge.d.ts
index 3f208589..7a9770e0 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.DownstreamBridge.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.DownstreamBridge.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.InitialHandler.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.InitialHandler.d.ts
index a3538677..267b3595 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.InitialHandler.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.InitialHandler.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.LoginResult.Property.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.LoginResult.Property.d.ts
index 749f2fd7..1bf7bcd2 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.LoginResult.Property.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.LoginResult.Property.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.LoginResult.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.LoginResult.d.ts
index 3217406e..25eb1442 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.LoginResult.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.LoginResult.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.PingHandler.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.PingHandler.d.ts
index a32bde52..58d24f35 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.connection.PingHandler.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.connection.PingHandler.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.entitymap.EntityMap.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.entitymap.EntityMap.d.ts
index a6fa0394..3f134040 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.entitymap.EntityMap.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.entitymap.EntityMap.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.event.EventHandlerMethod.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.event.EventHandlerMethod.d.ts
index 86836e8e..07b2ff9a 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.event.EventHandlerMethod.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.event.EventHandlerMethod.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.event.EventPriority.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.event.EventPriority.d.ts
index d70a6306..4c9320d4 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.event.EventPriority.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.event.EventPriority.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.forge.ForgeClientHandler.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.forge.ForgeClientHandler.d.ts
index 8b9df36a..aa2726dc 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.forge.ForgeClientHandler.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.forge.ForgeClientHandler.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.forge.ForgeServerHandler.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.forge.ForgeServerHandler.d.ts
index 28e7b3b6..f6e6a33b 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.forge.ForgeServerHandler.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.forge.ForgeServerHandler.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpClient.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpClient.d.ts
index 08b163e4..680cc523 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpClient.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpClient.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpHandler.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpHandler.d.ts
index 182f9f41..2cf8f1ff 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpHandler.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpHandler.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpInitializer.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpInitializer.d.ts
index cd4877e6..5cb46729 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpInitializer.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.http.HttpInitializer.d.ts
@@ -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;
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.jni.cipher.NativeCipher.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.jni.cipher.NativeCipher.d.ts
index fbda3e7f..450245e7 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.jni.cipher.NativeCipher.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.jni.cipher.NativeCipher.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.jni.zlib.NativeZlib.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.jni.zlib.NativeZlib.d.ts
index 8d393324..cf836e1c 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.jni.zlib.NativeZlib.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.jni.zlib.NativeZlib.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.log.LoggingOutputStream.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.log.LoggingOutputStream.d.ts
index 49c608f3..43d948a5 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.log.LoggingOutputStream.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.log.LoggingOutputStream.d.ts
@@ -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;
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.module.JenkinsModuleSource.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.module.JenkinsModuleSource.d.ts
index 578b497d..dbc935be 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.module.JenkinsModuleSource.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.module.JenkinsModuleSource.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.module.ModuleSpec.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.module.ModuleSpec.d.ts
index 3cee92a7..eb5f8b4a 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.module.ModuleSpec.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.module.ModuleSpec.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.module.ModuleVersion.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.module.ModuleVersion.d.ts
index 8761c4d1..a5efcd0a 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.module.ModuleVersion.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.module.ModuleVersion.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.netty.ChannelWrapper.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.netty.ChannelWrapper.d.ts
index 21e1f270..375215b1 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.netty.ChannelWrapper.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.netty.ChannelWrapper.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherDecoder.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherDecoder.d.ts
index 87c74117..3e9b631b 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherDecoder.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherDecoder.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherEncoder.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherEncoder.d.ts
index 18981137..5ed40b96 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherEncoder.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.netty.cipher.CipherEncoder.d.ts
@@ -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
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftDecoder.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftDecoder.d.ts
index 1075f816..2d36deb5 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftDecoder.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftDecoder.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftEncoder.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftEncoder.d.ts
index e0cc3b03..7ef3c852 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftEncoder.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.MinecraftEncoder.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.PacketWrapper.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.PacketWrapper.d.ts
index 645a4be5..ce6cc6ad 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.PacketWrapper.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.PacketWrapper.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.BossBar.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.BossBar.d.ts
index 7a1f3e26..b85e8b03 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.BossBar.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.BossBar.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Chat.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Chat.d.ts
index e90ad621..ee3d8292 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Chat.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Chat.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ClientSettings.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ClientSettings.d.ts
index 8f476f31..a69f42de 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ClientSettings.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ClientSettings.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ClientStatus.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ClientStatus.d.ts
index a7078f4a..1945920f 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ClientStatus.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ClientStatus.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Commands.SuggestionRegistry.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Commands.SuggestionRegistry.d.ts
index f670802f..815f8a21 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Commands.SuggestionRegistry.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Commands.SuggestionRegistry.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Commands.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Commands.d.ts
index b5a8a123..b405011e 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Commands.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Commands.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EncryptionRequest.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EncryptionRequest.d.ts
index eb00f2ab..4c9aad95 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EncryptionRequest.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EncryptionRequest.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EncryptionResponse.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EncryptionResponse.d.ts
index aa51f5a4..f111fe4b 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EncryptionResponse.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EncryptionResponse.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EntityStatus.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EntityStatus.d.ts
index 05f72159..f0d9e0ca 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EntityStatus.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.EntityStatus.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Handshake.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Handshake.d.ts
index 2cb8f1f1..351767d8 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Handshake.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Handshake.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.KeepAlive.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.KeepAlive.d.ts
index 2a42eb41..a1e45200 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.KeepAlive.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.KeepAlive.d.ts
@@ -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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Kick.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Kick.d.ts
index e08d9e67..13c42b3e 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Kick.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Kick.d.ts
@@ -8,11 +8,25 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(message: string)
+ // @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 getMessage(): string;
+ // @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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LegacyHandshake.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LegacyHandshake.d.ts
index d65cd642..3010f0d2 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LegacyHandshake.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LegacyHandshake.d.ts
@@ -13,6 +13,14 @@ declare namespace net {
public write(buf: ByteBuf): void;
// @ts-ignore
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LegacyPing.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LegacyPing.d.ts
index 67918cd3..c7e0e581 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LegacyPing.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LegacyPing.d.ts
@@ -6,13 +6,23 @@ declare namespace net {
// @ts-ignore
class LegacyPing extends net.md_5.bungee.protocol.DefinedPacket {
// @ts-ignore
- constructor()
+ constructor(v1_5: boolean)
// @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 isV1_5(): boolean;
+ // @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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Login.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Login.d.ts
index 7112a641..f6ae2f0e 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Login.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Login.d.ts
@@ -8,11 +8,61 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(entityId: number, gameMode: number, dimension: number, seed: number, difficulty: number, maxPlayers: number, levelType: string, viewDistance: number, reducedDebugInfo: boolean, normalRespawn: boolean)
+ // @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 getEntityId(): number;
+ // @ts-ignore
+ public getGameMode(): number;
+ // @ts-ignore
+ public getDimension(): number;
+ // @ts-ignore
+ public getSeed(): number;
+ // @ts-ignore
+ public getDifficulty(): number;
+ // @ts-ignore
+ public getMaxPlayers(): number;
+ // @ts-ignore
+ public getLevelType(): string;
+ // @ts-ignore
+ public getViewDistance(): number;
+ // @ts-ignore
+ public isReducedDebugInfo(): boolean;
+ // @ts-ignore
+ public isNormalRespawn(): boolean;
+ // @ts-ignore
+ public setEntityId(entityId: number): void;
+ // @ts-ignore
+ public setGameMode(gameMode: number): void;
+ // @ts-ignore
+ public setDimension(dimension: number): void;
+ // @ts-ignore
+ public setSeed(seed: number): void;
+ // @ts-ignore
+ public setDifficulty(difficulty: number): void;
+ // @ts-ignore
+ public setMaxPlayers(maxPlayers: number): void;
+ // @ts-ignore
+ public setLevelType(levelType: string): void;
+ // @ts-ignore
+ public setViewDistance(viewDistance: number): void;
+ // @ts-ignore
+ public setReducedDebugInfo(reducedDebugInfo: boolean): void;
+ // @ts-ignore
+ public setNormalRespawn(normalRespawn: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginPayloadRequest.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginPayloadRequest.d.ts
index a6d77f0e..63e1beed 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginPayloadRequest.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginPayloadRequest.d.ts
@@ -8,11 +8,33 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(id: number, channel: string, data: 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 getId(): number;
+ // @ts-ignore
+ public getChannel(): string;
+ // @ts-ignore
+ public getData(): number[];
+ // @ts-ignore
+ public setId(id: number): void;
+ // @ts-ignore
+ public setChannel(channel: string): void;
+ // @ts-ignore
+ public setData(data: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginPayloadResponse.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginPayloadResponse.d.ts
index e1782804..a37d9366 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginPayloadResponse.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginPayloadResponse.d.ts
@@ -8,11 +8,29 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(id: number, data: 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 getId(): number;
+ // @ts-ignore
+ public getData(): number[];
+ // @ts-ignore
+ public setId(id: number): void;
+ // @ts-ignore
+ public setData(data: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginRequest.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginRequest.d.ts
index 9e87f661..a378e277 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginRequest.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginRequest.d.ts
@@ -8,11 +8,25 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(data: string)
+ // @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 getData(): string;
+ // @ts-ignore
+ public setData(data: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginSuccess.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginSuccess.d.ts
index 84eb4e03..0b386bb2 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginSuccess.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.LoginSuccess.d.ts
@@ -8,11 +8,29 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(uuid: string, username: string)
+ // @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 getUuid(): string;
+ // @ts-ignore
+ public getUsername(): string;
+ // @ts-ignore
+ public setUuid(uuid: string): void;
+ // @ts-ignore
+ public setUsername(username: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PingPacket.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PingPacket.d.ts
index afc9ba50..d61e42a0 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PingPacket.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PingPacket.d.ts
@@ -8,11 +8,25 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(time: 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 getTime(): number;
+ // @ts-ignore
+ public setTime(time: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListHeaderFooter.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListHeaderFooter.d.ts
index 2d9f6179..7d3096de 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListHeaderFooter.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListHeaderFooter.d.ts
@@ -8,11 +8,29 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(header: string, footer: string)
+ // @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 getHeader(): string;
+ // @ts-ignore
+ public getFooter(): string;
+ // @ts-ignore
+ public setHeader(header: string): void;
+ // @ts-ignore
+ public setFooter(footer: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListItem.Item.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListItem.Item.d.ts
index f4947f5f..fd7acf85 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListItem.Item.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListItem.Item.d.ts
@@ -8,6 +8,38 @@ declare namespace net {
class Item extends java.lang.Object {
// @ts-ignore
constructor()
+ // @ts-ignore
+ public getUuid(): java.util.UUID;
+ // @ts-ignore
+ public getUsername(): string;
+ // @ts-ignore
+ public getProperties(): java.lang.String[][];
+ // @ts-ignore
+ public getGamemode(): number;
+ // @ts-ignore
+ public getPing(): number;
+ // @ts-ignore
+ public getDisplayName(): string;
+ // @ts-ignore
+ public setUuid(uuid: java.util.UUID): void;
+ // @ts-ignore
+ public setUsername(username: string): void;
+ // @ts-ignore
+ public setProperties(properties: string): void;
+ // @ts-ignore
+ public setGamemode(gamemode: number): void;
+ // @ts-ignore
+ public setPing(ping: number): void;
+ // @ts-ignore
+ public setDisplayName(displayName: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListItem.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListItem.d.ts
index 084e889b..4aa6a68c 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListItem.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PlayerListItem.d.ts
@@ -13,6 +13,22 @@ declare namespace net {
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 getAction(): net.md_5.bungee.protocol.packet.PlayerListItem.Action;
+ // @ts-ignore
+ public getItems(): net.md_5.bungee.protocol.packet.PlayerListItem.Item[];
+ // @ts-ignore
+ public setAction(action: net.md_5.bungee.protocol.packet.PlayerListItem.Action): void;
+ // @ts-ignore
+ public setItems(items: net.md_5.bungee.protocol.packet.PlayerListItem.Item): 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PluginMessage.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PluginMessage.d.ts
index e0dc6acd..7c71e20e 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PluginMessage.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.PluginMessage.d.ts
@@ -8,6 +8,8 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(tag: string, data: number, allowExtendedPacket: boolean)
+ // @ts-ignore
public static MODERNISE: any;
// @ts-ignore
public static SHOULD_RELAY: any;
@@ -19,6 +21,32 @@ declare namespace net {
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): void;
// @ts-ignore
public getStream(): java.io.DataInput;
+ // @ts-ignore
+ public getTag(): string;
+ // @ts-ignore
+ public getData(): number[];
+ /**
+ * Allow this packet to be sent as an "extended" packet.
+ */
+ // @ts-ignore
+ public isAllowExtendedPacket(): boolean;
+ // @ts-ignore
+ public setTag(tag: string): void;
+ // @ts-ignore
+ public setData(data: number): void;
+ /**
+ * Allow this packet to be sent as an "extended" packet.
+ */
+ // @ts-ignore
+ public setAllowExtendedPacket(allowExtendedPacket: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Respawn.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Respawn.d.ts
index e1444855..7ba6a2cb 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Respawn.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Respawn.d.ts
@@ -8,11 +8,41 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(dimension: number, seed: number, difficulty: number, gameMode: number, levelType: string)
+ // @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 getDimension(): number;
+ // @ts-ignore
+ public getSeed(): number;
+ // @ts-ignore
+ public getDifficulty(): number;
+ // @ts-ignore
+ public getGameMode(): number;
+ // @ts-ignore
+ public getLevelType(): string;
+ // @ts-ignore
+ public setDimension(dimension: number): void;
+ // @ts-ignore
+ public setSeed(seed: number): void;
+ // @ts-ignore
+ public setDifficulty(difficulty: number): void;
+ // @ts-ignore
+ public setGameMode(gameMode: number): void;
+ // @ts-ignore
+ public setLevelType(levelType: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardDisplay.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardDisplay.d.ts
index 3795968b..f69dcdf7 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardDisplay.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardDisplay.d.ts
@@ -8,11 +8,35 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(position: number, name: string)
+ // @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;
+ /**
+ * 0 = list, 1 = side, 2 = below.
+ */
+ // @ts-ignore
+ public getPosition(): number;
+ // @ts-ignore
+ public getName(): string;
+ /**
+ * 0 = list, 1 = side, 2 = below.
+ */
+ // @ts-ignore
+ public setPosition(position: number): void;
+ // @ts-ignore
+ public setName(name: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardObjective.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardObjective.d.ts
index 5e018be3..c111bbc7 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardObjective.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardObjective.d.ts
@@ -8,11 +8,43 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(name: string, value: string, type: net.md_5.bungee.protocol.packet.ScoreboardObjective.HealthDisplay, action: 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 getName(): string;
+ // @ts-ignore
+ public getValue(): string;
+ // @ts-ignore
+ public getType(): net.md_5.bungee.protocol.packet.ScoreboardObjective.HealthDisplay;
+ /**
+ * 0 to create, 1 to remove, 2 to update display text.
+ */
+ // @ts-ignore
+ public getAction(): number;
+ // @ts-ignore
+ public setName(name: string): void;
+ // @ts-ignore
+ public setValue(value: string): void;
+ // @ts-ignore
+ public setType(type: net.md_5.bungee.protocol.packet.ScoreboardObjective.HealthDisplay): void;
+ /**
+ * 0 to create, 1 to remove, 2 to update display text.
+ */
+ // @ts-ignore
+ public setAction(action: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardScore.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardScore.d.ts
index 13081896..1e864ff5 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardScore.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ScoreboardScore.d.ts
@@ -8,11 +8,43 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(itemName: string, action: number, scoreName: string, value: 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 getItemName(): string;
+ /**
+ * 0 = create / update, 1 = remove.
+ */
+ // @ts-ignore
+ public getAction(): number;
+ // @ts-ignore
+ public getScoreName(): string;
+ // @ts-ignore
+ public getValue(): number;
+ // @ts-ignore
+ public setItemName(itemName: string): void;
+ /**
+ * 0 = create / update, 1 = remove.
+ */
+ // @ts-ignore
+ public setAction(action: number): void;
+ // @ts-ignore
+ public setScoreName(scoreName: string): void;
+ // @ts-ignore
+ public setValue(value: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.SetCompression.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.SetCompression.d.ts
index 5d7e054d..a0d3fe83 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.SetCompression.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.SetCompression.d.ts
@@ -8,11 +8,25 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(threshold: 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 getThreshold(): number;
+ // @ts-ignore
+ public setThreshold(threshold: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.StatusRequest.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.StatusRequest.d.ts
index 598b2eac..32adc84c 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.StatusRequest.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.StatusRequest.d.ts
@@ -13,6 +13,14 @@ declare namespace net {
public write(buf: ByteBuf): void;
// @ts-ignore
public handle(handler: net.md_5.bungee.protocol.AbstractPacketHandler): 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.StatusResponse.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.StatusResponse.d.ts
index a899f1c1..f1b0b4e5 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.StatusResponse.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.StatusResponse.d.ts
@@ -8,11 +8,25 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(response: string)
+ // @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 getResponse(): string;
+ // @ts-ignore
+ public setResponse(response: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.TabCompleteRequest.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.TabCompleteRequest.d.ts
index f8603105..09583124 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.TabCompleteRequest.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.TabCompleteRequest.d.ts
@@ -10,11 +10,41 @@ declare namespace net {
// @ts-ignore
constructor(cursor: string, assumeCommand: boolean, hasPosition: boolean, position: 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 getTransactionId(): number;
+ // @ts-ignore
+ public getCursor(): string;
+ // @ts-ignore
+ public isAssumeCommand(): boolean;
+ // @ts-ignore
+ public isHasPositon(): boolean;
+ // @ts-ignore
+ public getPosition(): number;
+ // @ts-ignore
+ public setTransactionId(transactionId: number): void;
+ // @ts-ignore
+ public setCursor(cursor: string): void;
+ // @ts-ignore
+ public setAssumeCommand(assumeCommand: boolean): void;
+ // @ts-ignore
+ public setHasPositon(hasPositon: boolean): 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.TabCompleteResponse.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.TabCompleteResponse.d.ts
index 5479a05c..74f014e2 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.TabCompleteResponse.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.TabCompleteResponse.d.ts
@@ -10,11 +10,33 @@ declare namespace net {
// @ts-ignore
constructor(commands: java.util.List)
// @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 getTransactionId(): number;
+ // @ts-ignore
+ public getSuggestions(): Suggestions;
+ // @ts-ignore
+ public getCommands(): java.util.List;
+ // @ts-ignore
+ public setTransactionId(transactionId: number): void;
+ // @ts-ignore
+ public setSuggestions(suggestions: Suggestions): void;
+ // @ts-ignore
+ public setCommands(commands: java.util.List): 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Team.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Team.d.ts
index dd7c8059..3d6d3e87 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Team.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Team.d.ts
@@ -11,11 +11,69 @@ declare namespace net {
// @ts-ignore
constructor(name: string)
// @ts-ignore
+ constructor()
+ // @ts-ignore
+ constructor(name: string, mode: number, displayName: string, prefix: string, suffix: string, nameTagVisibility: string, collisionRule: string, color: number, friendlyFire: number, players: string)
+ // @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 getName(): string;
+ /**
+ * 0 - create, 1 remove, 2 info update, 3 player add, 4 player remove.
+ */
+ // @ts-ignore
+ public getMode(): number;
+ // @ts-ignore
+ public getDisplayName(): string;
+ // @ts-ignore
+ public getPrefix(): string;
+ // @ts-ignore
+ public getSuffix(): string;
+ // @ts-ignore
+ public getNameTagVisibility(): string;
+ // @ts-ignore
+ public getCollisionRule(): string;
+ // @ts-ignore
+ public getColor(): number;
+ // @ts-ignore
+ public getFriendlyFire(): number;
+ // @ts-ignore
+ public getPlayers(): java.lang.String[];
+ // @ts-ignore
+ public setName(name: string): void;
+ /**
+ * 0 - create, 1 remove, 2 info update, 3 player add, 4 player remove.
+ */
+ // @ts-ignore
+ public setMode(mode: number): void;
+ // @ts-ignore
+ public setDisplayName(displayName: string): void;
+ // @ts-ignore
+ public setPrefix(prefix: string): void;
+ // @ts-ignore
+ public setSuffix(suffix: string): 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 setFriendlyFire(friendlyFire: number): void;
+ // @ts-ignore
+ public setPlayers(players: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Title.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Title.d.ts
index d0c883de..33f2d3ae 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Title.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.Title.d.ts
@@ -13,6 +13,34 @@ declare namespace net {
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 getAction(): net.md_5.bungee.protocol.packet.Title.Action;
+ // @ts-ignore
+ public getText(): string;
+ // @ts-ignore
+ public getFadeIn(): number;
+ // @ts-ignore
+ public getStay(): number;
+ // @ts-ignore
+ public getFadeOut(): number;
+ // @ts-ignore
+ public setAction(action: net.md_5.bungee.protocol.packet.Title.Action): void;
+ // @ts-ignore
+ public setText(text: string): void;
+ // @ts-ignore
+ public setFadeIn(fadeIn: number): void;
+ // @ts-ignore
+ public setStay(stay: number): void;
+ // @ts-ignore
+ public setFadeOut(fadeOut: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ViewDistance.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ViewDistance.d.ts
index 7aa9d945..5d3252f7 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ViewDistance.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.protocol.packet.ViewDistance.d.ts
@@ -8,11 +8,25 @@ declare namespace net {
// @ts-ignore
constructor()
// @ts-ignore
+ constructor(distance: 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 getDistance(): number;
+ // @ts-ignore
+ public setDistance(distance: 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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.query.QueryHandler.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.query.QueryHandler.d.ts
index 164c1a93..ad7a3fcc 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.query.QueryHandler.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.query.QueryHandler.d.ts
@@ -5,7 +5,7 @@ declare namespace net {
// @ts-ignore
class QueryHandler extends object {
// @ts-ignore
- constructor()
+ constructor(bungee: ProxyServer, listener: ListenerInfo)
// @ts-ignore
protected channelRead0(ctx: ChannelHandlerContext, msg: DatagramPacket): void;
// @ts-ignore
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.query.RemoteQuery.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.query.RemoteQuery.d.ts
index 804540d5..6ca79167 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.query.RemoteQuery.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.query.RemoteQuery.d.ts
@@ -5,7 +5,7 @@ declare namespace net {
// @ts-ignore
class RemoteQuery extends java.lang.Object {
// @ts-ignore
- constructor()
+ constructor(bungee: ProxyServer, listener: ListenerInfo)
// @ts-ignore
public start(channel: java.lang.Class, address: java.net.InetSocketAddress, eventLoop: EventLoopGroup, future: ChannelFutureListener): void;
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.scheduler.BungeeTask.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.scheduler.BungeeTask.d.ts
index 38c16dbc..8cc2ed4d 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.scheduler.BungeeTask.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.scheduler.BungeeTask.d.ts
@@ -10,6 +10,28 @@ declare namespace net {
public cancel(): void;
// @ts-ignore
public run(): void;
+ // @ts-ignore
+ public getSched(): net.md_5.bungee.scheduler.BungeeScheduler;
+ // @ts-ignore
+ public getId(): number;
+ // @ts-ignore
+ public getOwner(): Plugin;
+ // @ts-ignore
+ public getTask(): java.lang.Runnable;
+ // @ts-ignore
+ public getDelay(): number;
+ // @ts-ignore
+ public getPeriod(): number;
+ // @ts-ignore
+ public getRunning(): java.util.concurrent.atomic.AtomicBoolean;
+ // @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;
}
}
}
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.tab.TabList.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.tab.TabList.d.ts
index df18420e..f64fd728 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.tab.TabList.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.tab.TabList.d.ts
@@ -5,7 +5,7 @@ declare namespace net {
// @ts-ignore
abstract class TabList extends java.lang.Object {
// @ts-ignore
- constructor()
+ constructor(player: ProxiedPlayer)
// @ts-ignore
protected player: ProxiedPlayer;
// @ts-ignore
diff --git a/packages/types/dist/typings/bungee/net.md_5.bungee.util.ChatComponentTransformer.d.ts b/packages/types/dist/typings/bungee/net.md_5.bungee.util.ChatComponentTransformer.d.ts
index 482e191c..e9a2caa2 100644
--- a/packages/types/dist/typings/bungee/net.md_5.bungee.util.ChatComponentTransformer.d.ts
+++ b/packages/types/dist/typings/bungee/net.md_5.bungee.util.ChatComponentTransformer.d.ts
@@ -4,8 +4,6 @@ declare namespace net {
namespace util {
// @ts-ignore
class ChatComponentTransformer extends java.lang.Object {
- // @ts-ignore
- constructor()
// @ts-ignore
public static getInstance(): net.md_5.bungee.util.ChatComponentTransformer;
/**