百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bedrock-rs

> 编程语言
开源

Rust 中的 Minecraft Bedrock 通用库

178 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Rust 中的 Minecraft Bedrock 通用库

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustbedrockminecraftrust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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