Crate cubiomes

Source
Expand description

A safe wrapper for the cubiomes library, which mimics minecraft worldgen for seed finding and other purposes.

This crate provides safe bindings for cubiomes by cubitect. Cubiomes is intended for use in seed finding and biome map generation.

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.

§Features

This create provides the following features, which are all enabled by default:

  • image: Provides the option to generate images from biome areas using the image crate. Also see generator::Cache::to_image() for generating the images.

  • cc_build: Build cubiomes using the cc crate instead of make. It’s benchamrked to be faster and might support more platforms than using make.

Modules§

colors
This module is used for biome color mappings.
enums
This module contains generated rust enums representing different cubiomes enums
generator
Minecraft biome data generator
noise
Module for functions dealing with raw noise
structures
Module containing structure generation and spawn generation