Commit graph

15 commits

Author SHA1 Message Date
mat
95925b64fa nbt lookup optimization 2023-03-23 19:38:18 +00:00
mat
5e5682ab52 polish nbt a bit 2023-03-23 18:04:53 +00:00
mat
ecb3f2ffd7 rename Tag to Nbt 2023-03-23 13:55:33 +00:00
mat
d08bf9b943 make encode not a Result and small optimizations 2023-03-23 00:19:00 -05:00
mat
c3b63ad129 binary search map 2023-03-22 23:18:55 -05:00
mat
03a672ee9b make nbt code more readable and add comparison benchmark 2023-03-22 19:31:28 -05:00
mat
6738be8090 use compact_str in nbt 2023-03-22 13:52:38 +00:00
mat
40a0c8acfb slightly optimize azalea_nbt::Tag::id 2023-03-11 16:38:13 -06:00
Ubuntu
2539f948c7 have docs for all crates 2023-01-30 22:05:18 +00:00
EightFactorial
9f5e5c092b
Complete ClientboundCommand{Suggestion}sPacket, Serde support for NBT Tags (#49)
* Serializing ClientboundStatusResponsePacket

Enable serialization of ClientboundStatusResponsePacket

* Update clientbound_status_response_packet.rs

Add options previewsChat and enforcesSecureChat

* Serialize Style and TextColor

* Serialize BaseComponent

* Serialize TextComponent

* Fix Style

* Serialize Component

* Fix multiple formats per message, fix reset tag

* Fix Style, again

* Use FlatMapSerializer

* Forgot italics

* Count struct fields, reorganize logic

* Serialize TranslatableComponent

* Rewrite TextComponent Serializer

* Fix using TextColor::Parse

* Code Cleanup

* Add default attribute, just in case

* Clippy

* use serde derive feature + preferred formatting choices

* McBufWritable for BrigadierNodeStub

* Thanks Clippy...

* Implement suggestions in azalea-brigadier

* Serde support for NBT Tags

* Serde options

* Forgot Options

* Oops, that's McBufWritable for BrigadierParser

* Fix McBufWritable for SlotData

* Complete ClientboundUpdateRecipesPacket

* fix some issues

* better impl McBufReadable for Suggestions

Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
Co-authored-by: mat <github@matdoes.dev>
2022-12-06 20:48:48 -06:00
mat
0530c57579 Fixes 2022-05-26 17:55:07 -05:00
mat
99652200aa simplify nbt list optimization 2022-04-22 18:03:57 +00:00
mat
248f752748 simplify error handling 2022-04-22 04:33:58 +00:00
mat
cf88c7b795 add some things to readmes 2021-12-20 13:36:20 -06:00
mat
76e1985fc4 reading nbt 2021-12-18 17:02:23 -06:00