Commit graph

697 commits

Author SHA1 Message Date
mat
2a2e82efeb make some code more idiomatic 2022-08-24 20:00:44 -05:00
Ubuntu
d073a1c22b don't explain what stretch goals are 2022-08-24 19:27:46 +00:00
Ubuntu
d818bce866 add suggestions in azalea-brigadier 2022-08-22 19:27:23 +00:00
mat
2fff0e7564 fix block codegen for newer versions 2022-08-20 16:48:08 -05:00
mat
dbb2092ac0
Implement ALL packets (#16)
* add a couple more packets and improve codegen

* enums in packet codegen

* fix enums and MORE PACKETS

* make unsigned numbers the default

* codegen can make hashmaps

* UnsizedByteArray in codegen

* Vec and Option

* enum codgen works in more situations

* ServerboundInteractPacket

* Fix error with new error system

* More packets

* more packets

* more packets

* guess what was added

* yeah it's more packets

* add more packets

* packets

* start adding ClientboundBossEventPacket

* finish boss event packet

* improve codegen for linux

* start on command suggestions packet

* rename declare_commands to commands

* más paquetes

* fix generating custom payload packet

* more packets

* mehr Pakete

* improve codegen for movement packets

* rename move packets to have "packet" at the end

* fix some unused variable warns

* addere plus facis

* pli da pakoj

* plus de paquets

* più pacchetti

* make ChatFormatting a macro in azalea-chat

* change a match to matches! macro

* update SetPlayerTeam to use ChatFormatting

* ClientboundSetScorePacket & fix clippy warnings

* finish game state 🎉

* add remaining packets for other states

* fix error in ping.rs
2022-08-20 15:17:07 -05:00
mat
ac4d675d44
NBT decoder optimizations (#17)
* replace HashMap with AHashMap

* faster read_string by just doing read_exact

* re-enable all the benchmarks
2022-08-19 14:14:08 -05:00
Ubuntu
b9cb596ea7 shut up clippy 2022-08-19 18:06:43 +00:00
mat
a16b9dcd2e add stretch goals to readme and typo fix 2022-08-18 23:28:44 -05:00
mat
a54d74087b improve compilation time
use lld linker
2022-08-18 23:18:35 -05:00
mat
5a9fca0ca9
Better errors (#14)
* make reading use thiserror

* finish implementing all the error things

* clippy warnings related to ok_or

* fix some errors in other places

* thiserror in more places

* don't use closures in a couple places

* errors in writing packet

* rip backtraces

* change some BufReadError::Custom to UnexpectedEnumVariant

* Errors say what packet is bad

* error on leftover data and fix

it wasn't reading the properties for gameprofile
2022-08-06 02:22:19 -05:00
mat
1d48c3fe34
1.19.2 (#15)
* Fix stuff with readme in codegen scripts

Emojis broke it

* 1.19.2-rc1

* 1.19.2
2022-08-05 23:58:50 -05:00
mat
69f97dbf02 clippo the sequel 2022-07-31 18:05:41 -05:00
mat
0cf8f82994 add non-goals to readme 2022-07-30 18:00:54 -05:00
mat
bc71c74bef
Merge pull request #13 from mat-1/split-clientbound-serverbound
Split clientbound and serverbound packets
2022-07-30 22:57:02 +00:00
mat
9ef1e8d653 remove unnecessary empty impls 2022-07-30 17:56:36 -05:00
mat
1eef0a537e simplify switching packet states 2022-07-29 17:17:14 -05:00
mat
637e0e0984 remove unused structs 2022-07-29 16:29:57 -05:00
mat
0c2ce00bae make Connection a single struct with generics
This isn't that good of a solution but I couldn't come up with a better one and this was pretty simple to implement
2022-07-29 16:29:06 -05:00
mat
060d2f1592 grammar issue 2022-07-29 15:50:20 -05:00
mat
0f380f1a12 grammar issue 2022-07-29 15:50:11 -05:00
mat
f22a386c78 fix errors in az-client 2022-07-29 15:38:33 -05:00
mat
1b602d0be7 fix errors and warnings 2022-07-29 15:32:04 -05:00
mat
4ee4687053 Split clientbound and serverbound packets 2022-07-29 02:59:40 -05:00
mat
aadf2de3cb
Merge pull request #8 from mat-1/1.19.1
Support 1.19.1. Signing stuff isn't implemented but auth isn't even in Azalea yet so that's fine.
2022-07-29 04:56:21 +00:00
mat
2211021105 1.19.1 2022-07-28 23:50:58 -05:00
mat
3aa856b413 fix wrong imports 2022-07-21 21:10:20 -05:00
mat
c0ca03204f 1.19.1-rc2 2022-07-21 20:04:33 -05:00
mat
3e43fc6c50 add note to readme 2022-07-18 16:55:55 -05:00
mat
88f75c0b78 Remove unused feature arbitrary_enum_discriminant 2022-07-11 16:25:26 -05:00
mat
ec0b6ec06c 1.19.1-pre4 2022-07-10 23:43:09 -05:00
mat
06e229a73e
typo fix 2022-07-07 14:25:34 -05:00
mat
5e3a6066f8 Fix error 2022-07-07 01:17:20 -05:00
mat
31e5629ce1
Merge branch 'main' into 1.19.1 2022-07-07 05:58:44 +00:00
mat
27edd4f578 Update ServerboundHelloPacket
PR made in burger
2022-07-07 00:57:50 -05:00
mat
017651358d It compiles 2022-07-06 19:15:33 -05:00
mat
2d7056b3d4 Update mod.rs 2022-07-06 19:08:19 -05:00
mat
cb8005be65 Fix the mod.rs 2022-07-06 19:04:38 -05:00
mat
ae3ad007b6 Update packets 2022-07-06 18:55:18 -05:00
mat
048792f83c Fix bugs with migration 2022-07-06 18:52:24 -05:00
mat
37d854c799 Update check.yml 2022-06-29 22:10:20 -05:00
mat
ff06092f80 Add key to cache workflow 2022-06-29 22:09:07 -05:00
mat
14a5d1460e Merge branch 'main' of https://github.com/mat-1/azalea 2022-06-29 22:06:54 -05:00
mat
6dfd8c01ea Nightly clippy 2022-06-29 22:06:47 -05:00
mat
ed30964b49
cache target 2022-06-29 22:06:44 -05:00
mat
c6b724c817 Create check.yml 2022-06-29 21:59:31 -05:00
mat
e8deda5d2e clippo 2022-06-25 17:37:29 -05:00
mat
978880b756 Fix warnings 2022-06-25 16:40:12 -05:00
mat
460bdfb8bb merge ClientState and Client 2022-06-25 16:23:40 -05:00
mat
f9e42fa3d8 Update craft_dig_straight_down.rs 2022-06-25 15:04:21 -05:00
mat
c46eb556e2 Merge branch 'main' into 1.19.1 2022-06-25 14:25:56 -05:00