Commit graph

261 commits

Author SHA1 Message Date
f35f9d5434 specify is not None 2022-01-15 20:55:15 +01:00
416b545e46 fix for Context changes 2022-01-15 04:22:13 +01:00
4a6b843c24 accept kwargs in packets, sort registry keys 2022-01-15 04:21:35 +01:00
ccadefc2f5 no more optional object Context, made a dedicated object 2022-01-14 20:07:16 +01:00
a3f03756b6 uggh 2022-01-14 16:48:01 +01:00
44db6927c4 oops kwarg 2022-01-14 16:34:26 +01:00
bdd7160dde items can be constructed with kwargs 2022-01-14 16:25:09 +01:00
8f92743454 only include non-None fields when making packets
There is no 'null' type in MC proto, so a None means
that said attr was not set
2022-01-14 16:22:38 +01:00
0216be7c4d Merge branch 'main' of github.com:alemidev/aiocraft 2022-01-14 16:15:40 +01:00
fc6d91affe oops else if 2022-01-14 16:15:30 +01:00
a5c864c4c0 added Enchantment type enum and Enchantment class 2022-01-14 14:50:03 +01:00
942441554f updated type hints 2022-01-14 14:49:08 +01:00
1d519c022f added .editorconfig 2022-01-07 15:01:24 +01:00
173c2891c2 Merge branch 'main' of github.com:alemidev/aiocraft 2022-01-06 19:07:09 +01:00
41c778729e slot is now an object 2022-01-06 19:07:01 +01:00
d3e7b6a8f3 don't skip strings to localize 2022-01-06 19:03:37 +01:00
951c5bb147 added enchantments to definitions 2022-01-06 15:46:06 +01:00
6dd5a97751 recompiled proto 2022-01-06 15:45:50 +01:00
8184ebb8f4 fix for sets __eq__, added constructor overload, fix order changing when recompiling proto 2022-01-06 15:45:36 +01:00
dd8c6b1491 fix for new nbt format 2022-01-04 20:22:00 +01:00
4ed1825196 recompiled proto (ughh why does the order change...) 2022-01-04 15:38:25 +01:00
d483dfa068 fixed type hints 2022-01-04 15:37:43 +01:00
47a3a04c12 NBT is converted to a python value while reading 2022-01-04 15:37:23 +01:00
16c5238cc5 recompiled proto definitions 2022-01-04 02:21:49 +01:00
21a8e5daf6 fix entity metadata. it was just undocumented issue 2022-01-04 02:20:27 +01:00
bfc4dbc31b some small work on entity metadata 2022-01-03 01:14:56 +01:00
beebdc42d9 Merge branch 'main' of github.com:alemidev/aiocraft 2021-12-30 20:36:33 +01:00
254043046f pushed protocol definition, this should make the library usable until there's proper documentation 2021-12-30 20:36:26 +01:00
PhilOtes
32c330b5ab Checking if proto folder existing before deleting 2021-12-30 17:52:54 +01:00
f89eded601 better start/stop I hope 2021-12-28 11:43:11 +01:00
f9d16eddf5 fix for format_slot 2021-12-21 10:55:02 +01:00
8d371e094b fuck me don't just exit twice 2021-12-17 17:34:25 +01:00
a841030c1e not sure abt this err 2021-12-17 16:41:21 +01:00
890f080dbc use global, kinda ugly but ehhh... 2021-12-17 16:39:27 +01:00
2acabbfb8d ops forgot to check signum 2021-12-17 16:36:38 +01:00
021d35be6a reworked run() 2021-12-17 16:33:44 +01:00
9c61b297d3 ocd 2021-12-17 14:24:44 +01:00
8bef9327fe oof 2021-12-17 14:22:27 +01:00
0f936794be old setCompression doesn't matter 2021-12-17 14:09:32 +01:00
4ca65f84d5 oops! always put keepalive and disconnect inside the whitelist! 2021-12-17 14:06:07 +01:00
f70121f2c1 fixed packet whitelist 2021-12-17 14:01:08 +01:00
687e22ac5e ops needs to check for subclass, not instance 2021-12-17 13:53:07 +01:00
1377e04d16 added item formatter helper 2021-12-17 13:35:50 +01:00
84d38008e0 small improvements to packet 2021-12-17 13:35:41 +01:00
93e7859304 implemented packet whitelist to hopefully improve performance 2021-12-17 13:35:28 +01:00
7621021b83 create a new token if credentials are given once current one expired 2021-12-15 13:06:01 +01:00
12878d856d better exception 2021-12-15 13:05:47 +01:00
89635a4c28 improved token serialization/deserialization 2021-12-15 11:28:53 +01:00
6e189bcd17 uggh 2021-12-13 13:39:55 +01:00
e9269170dc added equals and str to token obj 2021-12-13 13:36:52 +01:00