eef8bf3d26
feat: harder, better, faster, stronger
...
changed project structure: no more useless `mc` folder
refactored dispatcher: no longer weird stateful builder pattern
improved packets: don't need proto number to be created
2023-11-20 17:36:03 +01:00
63da8ddcd5
fix: generate metadata and particles, fix switch
...
now entity metadata and particle data are loaded from minecraft-data and
thus should just work ™️ for all proto versions
also fixed an ugly bug in switch type about string 'true' and 'false'.
"fixed" is kind of an overstatement, more like "awfully patched hoping
it's an exception and i don't need to parse numbers too" ...
2023-11-01 22:08:52 +01:00
10684be970
fix: hints for VarLong
2023-03-13 23:57:18 +01:00
9567201129
fix: add proper type hint for bitfield
2023-03-13 23:42:51 +01:00
152dda2f2c
fix: guess properly bitfield size
2023-03-13 22:57:54 +01:00
15801426b0
hinted slot as Item
2022-01-19 01:21:02 +01:00
c64f527ec7
made Union consistent (sorted)
2022-01-19 01:20:16 +01:00
4a6b843c24
accept kwargs in packets, sort registry keys
2022-01-15 04:21:35 +01:00
942441554f
updated type hints
2022-01-14 14:49:08 +01:00
8184ebb8f4
fix for sets __eq__, added constructor overload, fix order changing when recompiling proto
2022-01-06 15:45:36 +01:00
d483dfa068
fixed type hints
2022-01-04 15:37:43 +01:00
PhilOtes
32c330b5ab
Checking if proto folder existing before deleting
2021-12-30 17:52:54 +01:00
47fc4ee220
fix for defaults in switch type
2021-12-11 06:01:14 +01:00
d21a37c28b
implemented bitfield and void types
2021-12-10 13:38:24 +01:00
7e24764df5
fix for fixed len arrays
2021-12-10 13:03:48 +01:00
eab07320b5
oops fix for ArrayType
2021-12-10 12:44:47 +01:00
333ba1fdd9
reworked compiler and types
2021-12-10 02:59:31 +01:00
4ebd19793e
type fix
2021-12-02 20:15:57 +01:00
8ac1cbfd6a
fix for slots
2021-12-01 13:29:21 +01:00
3cee338ca5
fixes, allow to run as server
2021-12-01 13:29:21 +01:00
1d6916932b
dumb fix
2021-12-01 13:29:21 +01:00
80f3b769a2
botch
2021-12-01 13:29:21 +01:00
6d83836fcb
removed debug leftovers
2021-12-01 13:29:21 +01:00
e6faf92841
make packets slotted objects
2021-12-01 13:29:21 +01:00
cd402f668a
restructured project, improved modularity
2021-12-01 13:29:21 +01:00
a84b723241
ugh
2021-12-01 13:29:21 +01:00
7f3e58b7e6
impl integer byte array
2021-12-01 13:29:21 +01:00
ba3c0e14e9
fixed VarInt reading, some definitions improvements
2021-12-01 13:29:21 +01:00
4bd0f96dc7
build packet registries too
2021-12-01 13:29:21 +01:00
1d0716842c
fix for double ( ( being merged
2021-12-01 13:29:21 +01:00
31bedb741f
removed debug stuff
2021-12-01 13:29:21 +01:00
495fec6b39
moved compiler outside aiocraft, tweaks, WIP multiversion, fixed mergy compiler
...
also removed requests as dependancy
2021-12-01 13:28:59 +01:00