Commit Graph

17 Commits

Author SHA1 Message Date
mworzala 58fd95879a
fix: correct painting metadata 2024-03-12 15:22:15 -04:00
iam 5162a00b1e
Add particle data types (#2004)
* Add particle data types

* misc

* misc

* remove spaces

* defaults, tests, change what mattw said to

* RGBLike

* RGBLike

* RGBLike

* add back changes

* tests

* refactor

* annotations

* more fixes

* another test

* more tests + fix

* logging + checks consistency

* review changes

* review changes
2024-02-28 21:54:24 +00:00
mworzala a5e0641444
fix: use formatter args in Check calls 2024-02-24 19:43:30 -05:00
mworzala fb7e4b10e0
fix: require size when reading collection to prevent oom. Do not allow string longer than remaining bytes 2024-02-24 17:46:56 -05:00
mworzala 5de3436c71 upgrade: 1.20.4 data, most missing packets
(cherry picked from commit dc6a6089f1)
2024-02-09 14:27:43 -05:00
mworzala 772b484864 upgrade: NBT chat component serializer implementation
(cherry picked from commit ed240d6f14)
2024-02-09 14:27:43 -05:00
mworzala d0ace48220 feat: use nextState on packet write to change states to ensure proper synchronization
(cherry picked from commit d502a4fa62)
2024-02-09 14:27:43 -05:00
mworzala 183159c85d finish configuration phase, ish
(cherry picked from commit 13edf5f863)
2024-02-09 14:27:43 -05:00
mworzala 941390fb87 fix: send empty NBT tag on items without NBT data (fixes #66)
(cherry picked from commit 5bcc72b911)
2024-02-09 14:27:43 -05:00
Matt Worzala 036e0b5ea3 hollow-cube/1.19.4_2 (#14)
* oopsie woopsie

* use double vector

* fix `minecraft:time` argument min property

(cherry picked from commit 6f11e42d46)
2024-02-09 14:27:43 -05:00
Matt Worzala 8f1f7e127d 1.19.4 (#11)
* first join

* add new entities

* fix type on interpolation duration

* switch long to var long

* switch long to var long, round 2

* add flags to TextDisplay

* 1.19.4

* setView in Entity#teleport

* do not trigger touchTick if entity physics are disabled

* Add new 1.19.4 packets

* constant expr

* no localhost on github actions

* yoinked changes from 1.19.3 main

* update to forked changes

* remove potion command

* remove potion command

---------

Co-authored-by: GreatWyrm <alecmusante@gmail.com>

(cherry picked from commit 7f3144337d)
2024-02-09 14:27:43 -05:00
Zak Shearman e160cbdecd
Fixes cat color (variant) metadata, adds frog meta (#1833)
* Add frog & cat meta types

* Rename Color -> Variant in CatMeta, use DyeColor
2023-05-13 22:39:33 +10:00
Alexander c496ee3572
Update to JoinGamePacket and RespawnPacket (#1640)
* Add death location support to JoinGamePacket
2023-03-21 23:22:24 -04:00
TheMode 42195c536b Fix broken buffer resize
Signed-off-by: TheMode <themode@outlook.fr>
2022-10-31 10:06:05 +01:00
Huynh Tien 01e2c43b5d
try fixing EOF on ClientClick (#1490) 2022-10-29 12:06:18 +02:00
TheMode 993af51556
Use `NetworkBuffer` in packets (#1487) 2022-10-29 11:02:22 +02:00
TheMode ba2816fc74
Buffer API rework (#1485) 2022-10-28 19:27:48 +02:00