1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
azalea/azalea-language
EightFactorial c57c68ddf8
Add RegistryHolder struct and serde features (#81)
* Make RegistryHolder struct

* Update deps

* Move RegistryHolder to azalea-protocol

* Convert bytes to bools and back

* Rename and shuffle logic

* Move logic into trait, rename methods

* Final touchups

* Ah, merge mistakes

* Add serde support for ResourceLocation

* Reuse structs

* Error when serde skips values in debug mode
Add missing attributes

* Strict_registry feature, require packet feature

* Add test

* Move into packets

* Docs and touchups

* Reword docs

* Move into module inside ClientboundLoginPacket

* Add azalea-nbt serde feature

* remove duplicate comment and type_ -> kind

---------

Co-authored-by: mat <github@matdoes.dev>
2023-03-11 16:00:10 -06:00
..
src have docs for all crates 2023-01-30 22:05:18 +00:00
Cargo.toml Add RegistryHolder struct and serde features (#81) 2023-03-11 16:00:10 -06:00
README.md have docs for all crates 2023-01-30 22:05:18 +00:00

Azalea Language

Translate Minecraft strings from their id.

Examples

assert_eq!(azalea_language::get("translation.test.none"), Some("Hello, world!"));