Crate mc_core

Source
Expand description

§Core crate of MinecraftRS.

This crate defines core structures required by all other crates from MinecraftRS. It is directly inspired by Feather, a Minecraft server written in Rust for latest release. However MinecraftRS aims to replace the static generated blocks and biomes that is used by Feather by runtime palettes. This allows the user of this crate to fully customize the content allowed in its world.

The goal of this crate is to provide structure that statically describes the world, in a frozen way. It provides tools to make levels and entities running and living. This crate also provides default level sources such as anvil level loader or super flat level generator.

If you want real world generation for a specific Minecraft version, check out the mc-worldgen crate, and if you want to run a world, check mc-runtime.

§Feather:

Github: https://github.com/feather-rs/feather
License: Apache License 2.0

§MinecraftRS:

Github: https://github.com/mindstorm38/minecraftrs
Author: Théo Rozier

Modules§

biome
block
entity
A tiny specific Entity Component System (ECS) for Minecraft entity ecosystem.
heightmap
math
perf
A really unsafe module made for internal use in MinecraftRS and its examples.
pos
rand
tag
Utility module for game tags, used for blocks, items and biomes.
util
world

Macros§

_blocks_properties_prop
_blocks_spec
biomes
blocks
blocks_properties
blocks_specs
count
A macro used internally to MinecraftRS to count the number of tokens you give to the macro and return the count as usize.
debug
def_enum_serializable
entities
entity_component
heightmaps
impl_enum_serializable