mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 22:41:30 +11:00
b83b9f76ed
* Expose extracted enchantments to Rust. * Give enchantments a `level: i16` field. * Update enchantment derive impls * Restructure how enchants are exposed to Rust through C-like enums * Update build/enchant.rs Co-authored-by: Ryan Johnson <ryanj00a@gmail.com> * Update build/enchant.rs Co-authored-by: Ryan Johnson <ryanj00a@gmail.com> * Move enchantment sources to their own struct. * make id() function return it's discriminant instead of matching Co-authored-by: Ryan Johnson <ryanj00a@gmail.com> |
||
---|---|---|
.. | ||
block.rs | ||
enchant.rs | ||
entity.rs | ||
entity_event.rs | ||
main.rs |