ed7e28101a
A network thread logs into offline-mode servers, runs the configuration phase (registries, tags, known packs, code of conduct) and forwards play packets; keep-alives and pings are answered there. game/remote.rs drives the game from the connection: server chunks feed the streamer (remote mode: no generation, unload on forget), block updates, entities with interpolation (mobs with models, other players, dropped items), health, food, experience, time, weather, respawn, dimension changes, container menus and inventory sync, chat and system messages, plus movement, mining with prediction sequences, use-item, attacks and container clicks sent like LocalPlayer and MultiPlayerGameMode. The title gets a Multiplayer button with a servers.dat list, Add/Edit, Direct Connection and a Disconnected screen. horizon-ctl gains connect, chat, respawn and disconnect; --server/--name join at start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
811 B
TOML
24 lines
811 B
TOML
[package]
|
|
name = "horizon-client"
|
|
default-run = "horizon-client"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version = "1.90"
|
|
description = "Horizon native development client"
|
|
|
|
[dependencies]
|
|
horizon-assets = { path = "../horizon-assets" }
|
|
horizon-core = { path = "../horizon-core" }
|
|
horizon-world = { path = "../horizon-world" }
|
|
horizon-protocol = { path = "../horizon-protocol" }
|
|
wgpu = { version = "30.0.1", default-features = false, features = ["std", "parking_lot", "vulkan", "metal", "wgsl"] }
|
|
winit = "0.30.13"
|
|
pollster = "0.4"
|
|
bytemuck = { version = "1.24", features = ["derive"] }
|
|
glam = "0.30"
|
|
png = "0.18"
|
|
serde_json = { version = "1.0.151", features = ["raw_value"] }
|
|
cpal = "0.16"
|
|
symphonia = { version = "0.5", default-features = false, features = ["ogg", "vorbis"] }
|