yog-registry 0.4.0

Yog content registry — register items, blocks, recipes, etc.
Documentation

Content registration — declare custom items and blocks from Rust.

Definitions are collected at registration time and handed to the host, which registers real Item/Block objects before the game's registries freeze, puts them in a "Yog" creative tab, and applies their properties. (Textures, models and recipes are assets/data shipped in the .yog and served to the game.)

# use yog_registry::{ItemDef, BlockDef, FoodDef};
ItemDef::new("mymod:ruby").name("Ruby").tooltip("A shiny gem.").max_stack(16);
ItemDef::new("mymod:pie").food(FoodDef::new(4, 0.3));
BlockDef::new("mymod:lamp").light_level(15).sound("stone");