Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

bedrock-rs

> 编程语言
Open source

Universal library for Minecraft Bedrock in Rust

178 stars0 likes0 views
WebsiteGitHub

About

Universal library for Minecraft Bedrock in Rust

bedrock-rs

Universal Toolkit for Minecraft Bedrock Edition in Rust

bedrock-rs is a comprehensive and user-friendly library written in Rust, designed to provide a universal solution for working with Minecraft Bedrock Edition. This project offers:

  • Standards: Adhering to best practices and conventions.
  • Common Implementations: Reusable components for various Minecraft Bedrock needs.
  • Easy-to-Use API: Streamlined interfaces to make development efficient and enjoyable.

Join our growing community on Discord to learn more about the project’s future, seek support, or collaborate with others: Join our Discord


Crates

To maintain modularity and scalability, bedrock-rs is divided into multiple crates. Each crate focuses on a specific functionality, making it easier to use and manage. All crates are accessible through the primary bedrock crate. Additionally, the library offers a variety of optional features you can enable to suit your needs.

Crate Breakdown:

  • bedrock::shared

    • Shared data types (vectors, actor runtime/unique IDs, world enums) used across other crates.
    • Common codec traits that other crates build their (de)serialization on.
  • bedrock::protocol

    • Complete implementation of the Minecraft Bedrock protocol.
    • Support for both server-side and client-side operations.
    • Multi-protocol compatibility for handling multiple versions seamlessly.
  • bedrock::network

    • RakNet-based transport layer for accepting, tracking, and communicating with client connections.
    • Packet batching/codec support, including Zlib/Snappy compression and AES encryption.
    • Server MOTD (server list ping) construction and connection listener utilities.
  • bedrock::auth

    • Validation of Xbox Live login identity chains (JWTs) against Microsoft’s OIDC discovery service.
    • Support for online, offline, and guest authentication types.
    • Optional async API, enabled via the auth-async feature.
  • bedrock::addon

    • Datatypes for defining Minecraft Addon structures.
    • Serialization and deserialization support for Addons.
    • A programmatic approach to creating Addons easily.
  • bedrock::form

    • Implementation of the JSON form format used by Minecraft Bedrock Edition.
  • bedrock::level

    • Data structures for managing Minecraft Bedrock levels.
    • Implementation of Bedrock’s level format using Rust’s LevelDB.

Features

  • Modular Architecture: Enable only the features you need for your project.
  • Multi-Protocol Support: Work with different protocol versions effortlessly.
  • Cross-Platform Compatibility: Designed to work seamlessly across platforms.
  • Lightweight and Efficient: Built with Rust’s performance and safety features.

Getting Started

To use bedrock-rs in your Rust project, add the following to your Cargo.toml:

toml
[dependencies]
bedrock = { git = "https://github.com/bedrock-crustaceans/bedrock-rs.git", features = ["full"] }

Refer to the individual crate documentation for details on specific modules and features.

We also plan to release bedrock-rs on crates.io in the future.


Contributors

A huge thank you to all the amazing individuals who have contributed to bedrock-rs! Your time, effort, and expertise are what make this project possible.
Whether it’s fixing bugs, implementing features, or providing feedback, every contribution helps shape the future of this library. We appreciate each and every one of you!

Want to join this incredible group? Check out our Contributing Guide and make your mark on the project.


Contributing

We welcome contributions of all kinds, including bug fixes, new features, docs updates, and improvements across crates.
Please read the full contribution guide here: CONTRIBUTING.md

For guidance or collaboration, connect with the community on Discord.

If you find bedrock-rs helpful, don’t forget to give the repository a ⭐ on GitHub.


License

bedrock-rs is open-source software licensed under the Apache-2.0 License.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustbedrockminecraftrust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言