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