mcraft-fun-mineflayer
Version:
Mineflayer viewer (connector) for mcraft.fun project and vanilla Minecraft client! Both TCP and WebSockets servers are supported.
25 lines (24 loc) • 882 B
TypeScript
import { Client } from 'minecraft-protocol';
import { AuxClientsState } from '../generalPacketsProxy';
export declare const handleAuxClientsProxyVanilla: (serverConnection: Client, state: AuxClientsState) => {
onNewAuxConnection: (client: Client) => void;
lastPackets: {
login: any;
position: any;
player_info: any;
playerlist_header: any;
server_data: any;
initialize_world_border: any;
world_border_size: any;
world_border_center: any;
world_border_lerp_size: any;
world_border_warning_delay: any;
world_border_warning_reach: any;
};
firstPackets: {
player_info: any;
};
writeMainClientPackets: (name: string, data: any) => void;
writeToAuxClients: (name: string, data: any, clients?: Client[]) => void;
Item: typeof import("prismarine-item").Item;
};