valence
valence copied to clipboard
A Rust framework for building Minecraft servers.
https://minecraft.fandom.com/wiki/Raw_JSON_text_format In the `text` module, plain text is implemented but the other content types are missing/need work. - translated text - scoreboard values - entity names - keybind - NBT...
I set up github workflows to run `cargo build` and `cargo test` on push to `main`. It would be nice if it also detected when code needs to `cargo fmt`...
`entity.rs` has a function called `hitbox` which, as you can guess, returns the Axis-aligned bounding box of an entity. Extracting correct hitbox data automatically appears to be infeasible because it...
Support for [block entities](https://minecraft.fandom.com/wiki/Block_entity) should be added to the chunk API. It looks like there are only a few things that need explicit support from Valence. * The text on...
This PR adds a Nix development environment that will allow Nix users to easily build and work on valence without having to write their own. If using flakes you can...
Currently there is no rate limit for serverbound packets. I'm not sure what the best way to do this is. We should investigate how vanilla MC does it.
Java 1.19.2 client (official Minecraft launcher); commit `2ee9605` (`main`); encrypted. Example used is `terrain`. # Summary Joining the server repeatedly can cause "Conflicting UUID" being logged to the server and...
Using commit `2ee9605` (latest `main` as of 11:50 PM Sat, Sep 3, 2022, PST), on an M1 mac, running example `terrain`, abridged log follows: ``` [2022-09-04T06:42:16Z DEBUG valence::protocol::codec] complete packet...
MC versions 1.19.1 and 1.19.2 added cryptographically verified chat messages which complicates things. I'm not sure what the API for this should look like.  (The above image might...
This example generates terrain similar to the SkyGrid map by SethBling: https://www.planetminecraft.com/project/skygrid-survival-map/ . `BLOCK_TYPES: [BlockState, 547]` is intended to be an array of all `BlockState`s listed as opaque in `out/blocks.rs`....