Graphite
Graphite copied to clipboard
1.19.1 high-performance Minecraft server
Graphite
1.19.1 Minecraft Server
TODO
- [ ] Complete
protocolwith all 1.19.1 Minecraft packets - [x] Command dispatch system
- [x] Viewable objects (entities)
- [x] Allow multiple players to connect (and see each other)
- [ ] Base lib crate that reexports everything
- [ ] ItemStacks with NBT
- [x] Player Input Handling (Left/Right Click Air/Block)
- [ ] TextComponent things & macro
- [ ] Allow chunk/world modification
- [ ] "Extras" subproject - raycasting, collision, ...
Subprojects
example_server: Example server using various Graphite componentsserver: The minecraft server. Entities, chunks, players, all that good stuffconcierge: Component that accepts new connections, handles status and login. Can be used to create proxies, servers, etc.protocol: The minecraft protocolnet: Networking components and utilitiesbinary: Zero-copy serializationcommand: Command dispatch and low-level creationcommand_derive: Attribute macro to easily create commandssticky: Collection(s) that guarantee the memory-location of its contents
Warning
Project is currently under heavy development, many things are completely non-functional
Building
Make sure to run git submodule update --init --recursive before building/running
How to run the example server
!!! Currently Graphite only supports modern versions of Linux with io_uring !!!
(An alternative network backend will be available eventually, but is not a priority)
$ cargo run --bin example_server