3 unstable releases

new 0.2.0 Feb 22, 2025
0.1.3 Feb 16, 2025
0.1.2 Feb 16, 2025

#56 in #minecraft

Download history 140/week @ 2025-02-11

140 downloads per month

MIT license

560KB
12K SLoC

C 12K SLoC // 0.0% comments Rust 478 SLoC // 0.1% comments Python 227 SLoC // 0.1% comments

Cubiomes

A (hopefully) safe rust wrapper for the cubiomes library developped by cubitect

The original cubiomes library is available here: https://github.com/cubitect/cubiomes/

Installation

use cargo to install cubiomes cargo add cubiomes

Contributing

The currently the library only supports biome generation, but support for at least structure generation is planned. Feel free to submit issues or pull requests for the project.

Cargo features

cc_build, use the cc create for building cubiomes, enabled by default. If not enabled cubiomes is built with make


lib.rs:

A safe wrapper for the cubiomes library

This crate provides safe bindings for cubiomes by cubitect.

The crate is organized into different modules which loosely correspond to features available in cubiomes. The crate is still incomplete, as it doesn't provide all features available in cubiomes.

Usage

See each module for usage of a specific feature of the library.

For biome generation see crate::generator

Dependencies

~0.4–2.8MB
~57K SLoC