Commit Graph

86 Commits

Author SHA1 Message Date
Alexander Medvedev
de7b3aa2ea Fix: all clippy warns 2024-08-19 20:08:02 +01:00
Snowiiii
a6d9ed216d Use Cow's in TextComponent
We now don't always convert &str to Strings allowing us to use stack allocations
2024-08-19 20:05:18 +02:00
Kolibroid
1a21290e0f Fix some minor typos 2024-08-19 17:52:04 +01:00
Snowiiii
43fbb6a68d Fix: Resource pack 2024-08-19 15:05:16 +02:00
Snowiiii
77b205ada0 Fix: Rotation 2024-08-18 20:16:28 +02:00
Snowiiii
4c34a98ad5 Fix: Knockback calculation
Now only our yaw rotation is broken but not the knockback calculation
2024-08-18 19:32:22 +02:00
Snowiiii
c7b3ce6391 Fix: Serverbound Interact 2024-08-18 18:38:49 +02:00
lukas0008
7b9b35e437 Basic handling of Set creative mod slot packet 2024-08-17 21:11:56 +02:00
lukas0008
fdb94d43fa Fix: Place block on correct side 2024-08-17 20:40:26 +02:00
Snowiiii
391d5cbcfc Added Player inventory (WIP) 2024-08-17 18:52:13 +02:00
Snowiiii
9d3ee1de9b Add Serverbound Use Item On 2024-08-17 11:52:32 +02:00
Snowiiii
40fe40355f Add BlockFace 2024-08-17 11:14:38 +02:00
Snowiiii
bf92fe22a0 Add Particles 2024-08-16 12:45:58 +02:00
Snowiiii
231bdb5614 World: Add GZip compression 2024-08-16 11:10:16 +02:00
Snowiiii
740a98a068 Handle invalid player commands 2024-08-15 16:09:49 +02:00
Snowiiii
eeefd1d51a Fix: Elytra 2024-08-15 15:18:15 +02:00
Snowiiii
ceb718d475 Setup Base for Velocity (Proxy) 2024-08-15 15:00:41 +02:00
Snowiiii
6459aef027 Add Basic Combat 2024-08-14 22:26:27 +02:00
Snowiiii
03cc991bfd cargo clippy --fix 2024-08-14 21:39:05 +02:00
Snowiiii
5f8cbdbba6 Say which protocol version when client is outdated 2024-08-14 11:48:15 +02:00
lukas0008
2d3990bfa6 Fix rotation
- The rotation was previously not taking the modulus of the degree (which is incorrect).
- `head_yaw` is currently not used, since the server only receives the yaw and pitch packet, it can be assumed that head yaw can be identical to yaw.
2024-08-14 01:07:20 +02:00
lukas0008
b38e6af2f3 Add s_player_action packet
Note: this packet is currently only parsed, not handled.
2024-08-13 23:57:30 +02:00
Snowiiii
c5612f6ddb Handle older/newer Clients 2024-08-13 13:05:04 +02:00
Snowiiii
651089033d Chunks: remove some clone's 2024-08-13 10:53:24 +02:00
Snowiiii
9fc86e260b Add: Basic Combat 2024-08-13 09:16:00 +02:00
Snowiiii
cfa20776f6 Add Clientbound Client Informations (Play) 2024-08-12 21:26:09 +02:00
lukas0008
5d6c38d1b2 Merge remote-tracking branch 'upstream/master' 2024-08-12 20:30:52 +02:00
lukas0008
a991ce214b CHUNK LOADING KINDA WORKS 2024-08-12 20:22:59 +02:00
Snowiiii
dbc7b9f5c1 Fix: Player movement 2024-08-12 18:37:50 +02:00
Snowiiii
50051d9dc9 Fixed: Clientbound Entity Metadata 2024-08-12 18:18:53 +02:00
Snowiiii
2909cad081 Avoid Packet cloning 2024-08-12 17:31:43 +02:00
Snowiiii
d47fb18465 Fix: build 2024-08-12 15:49:44 +02:00
Snowiiii
5cf19a4e98 Add ChatType 2024-08-12 15:46:24 +02:00
Snowiiii
65c2207c0a Add Player Tab list 2024-08-12 15:09:34 +02:00
Snowiiii
5b636111e4 Prepare ChatType registry 2024-08-11 17:55:41 +02:00
Snowiiii
414cf3190c Added RCON support 2024-08-10 23:53:32 +02:00
Snowiiii
50dcbfeb6d Add inventory support 2024-08-09 22:38:00 +02:00
Snowiiii
76106ded18 Add WIP Resource Pack support 2024-08-09 22:14:41 +02:00
Snowiiii
770d73f080 minior position/rotation improvements 2024-08-09 14:29:51 +02:00
Snowiiii
f122b47e50 Create pumpkin-text 2024-08-09 10:41:10 +02:00
Snowiiii
5f3a4d34d1 Expand TextComponent 2024-08-09 00:48:19 +02:00
Snowiiii
b4abc6b297 Add Packet compression 2024-08-08 16:37:40 +02:00
Snowiiii
fe8cd334e1 Add Chat support 2024-08-08 11:27:09 +02:00
lukas0008
b9de0839fa Reapply "Remove reqwest blocking feature"
This reverts commit 33df6b0b1f.
2024-08-07 21:16:40 +02:00
lukas0008
33df6b0b1f Revert "Remove reqwest blocking feature"
This reverts commit 76ce44e58d.
2024-08-07 21:16:00 +02:00
lukas0008
76ce44e58d Remove reqwest blocking feature 2024-08-07 21:13:00 +02:00
lukas0008
873df335b8 Merge remote-tracking branch 'upstream/master' 2024-08-07 20:34:36 +02:00
lukas0008
2fd8686fea todo to TODO 2024-08-07 20:33:51 +02:00
Snowiiii
39985246ba Remove player when leaving
- Add Clientbound Remove Entities
2024-08-07 18:46:10 +02:00
lukas0008
96c9a573de fix: unwrap SSwingArm 2024-08-07 17:21:40 +02:00