yog-ids 0.5.1

Yog's shared names — namespaces, content kinds, schemes, separators, its own ids — defined once, exported to TypeScript and Java.
Documentation
1
2
3
4
5
6
7
8
//! The game's units: what every part of Yog measures blocks and stacks in.

/// A block's pixels along an edge: models are drawn in them (0–16 a block).
pub const BLOCK_PIXELS: u32 = 16;
/// An item's icon's side, in GUI pixels.
pub const ITEM_PIXELS: u32 = 16;
/// The most of an item a stack holds.
pub const MAX_STACK: u32 = 64;