mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-25 23:31:30 +11:00
4cf6e1a207
## Description Closes #269 Closes #199 - Removes `McEntity` and replaces it with bundles of components, one for each entity type. - Tracked data types are now separate components rather than stuffing everything into a `TrackedData` enum. - Tracked data is now cached in binary form within each entity, eliminating some work when entities enter the view of clients. - Complete redesign of entity code generator. - More docs for some components. - Field bits are moved out of the entity extractor and into the valence entity module. - Moved hitbox code to separate module. - Refactor instance update systems to improve parallelism. ### TODOs - [x] Update examples. - [x] Update `default_event_handler`. - [x] Fix bugs. ## Test Plan Steps: 1. Check out the entity module docs with `cargo d --open`. 2. Run examples.
45 lines
1.2 KiB
TOML
45 lines
1.2 KiB
TOML
[package]
|
|
name = "valence_anvil"
|
|
description = "A library for Minecraft's Anvil world format."
|
|
documentation = "https://docs.rs/valence_anvil/"
|
|
repository = "https://github.com/valence-rs/valence/tree/main/crates/valence_anvil"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
keywords = ["anvil", "minecraft", "deserialization"]
|
|
version = "0.1.0"
|
|
authors = ["Ryan Johnson <ryanj00a@gmail.com>", "TerminatorNL <TerminatorNL@users.noreply.github.com>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
byteorder = "1.4.3"
|
|
flate2 = "1.0.25"
|
|
thiserror = "1.0.37"
|
|
num-integer = "0.1.45" # TODO: remove when div_ceil is stabilized.
|
|
valence = { version = "0.2.0", path = "../valence", optional = true }
|
|
valence_nbt = { version = "0.5.0", path = "../valence_nbt" }
|
|
|
|
[dev-dependencies]
|
|
anyhow = "1.0.68"
|
|
bevy_ecs = "0.10"
|
|
clap = { version = "4.1.4", features = ["derive"] }
|
|
criterion = "0.4.0"
|
|
flume = "0.10.14"
|
|
fs_extra = "1.2.0"
|
|
tempfile = "3.3.0"
|
|
tracing = "0.1.37"
|
|
tracing-subscriber = "0.3.16"
|
|
zip = "0.6.3"
|
|
|
|
[dev-dependencies.reqwest]
|
|
version = "0.11.12"
|
|
default-features = false
|
|
# Avoid OpenSSL dependency on Linux.
|
|
features = ["rustls-tls", "blocking", "stream"]
|
|
|
|
[[bench]]
|
|
name = "world_parsing"
|
|
harness = false
|
|
|
|
[features]
|
|
default = ["valence"]
|