Commit Graph

62 Commits

Author SHA1 Message Date
Snowiiii
58831cd0c9 Fix: Format 2024-09-09 21:14:22 +02:00
Snowiiii
c8fee9b23c Try to solve Pumpkin's locking problem 2024-09-09 21:12:49 +02:00
lukas0008
08743d18ee Merge branch 'master' into server-cleanup 2024-09-08 17:45:54 +02:00
lukas0008
fa114e7e23 Cleanup Server struct
This cleanup's goal is to make all `Server` functions only require &self. This means that `Server` can now be a `Arc<Server>` instead of `Arc<Mutex<Server>>`, which solves a lot of deadlock problems.
2024-09-08 17:44:09 +02:00
Snowiiii
6a756174c7 Fix: clippy 2024-09-08 17:17:35 +02:00
lukas0008
f23592de8c Fixed weird ide error 2024-09-08 16:48:37 +02:00
DaniD3v
070a50833b Moved config into its own crate 2024-08-31 19:38:47 +02:00
DaniD3v
bb543b7178 Moved configuration to LazyLock 2024-08-31 19:29:22 +02:00
Snowiiii
c36b6d3464 Less unwraps 2024-08-28 18:52:30 +02:00
Snowiiii
ddd3f1e781 Add Serverbound Set Player On Ground 2024-08-25 12:06:09 +02:00
Snowiiii
0ce03c0497 Support Transfer 2024-08-25 09:37:58 +02:00
Snowiiii
c7f15dee3d Refactor Client 2024-08-24 14:51:43 +02:00
lukas0008
e6f0e126ca Cargo fmt 2024-08-21 16:16:37 +02:00
lukas0008
8eb894ef13 Create pumpkin-core, and move pumpkin-text 2024-08-21 16:12:09 +02:00
Snowiiii
938a415f77 Add Play Ping/Pong
Used for Debug, F3+3
2024-08-20 18:07:22 +02:00
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
Snowiiii
43fbb6a68d Fix: Resource pack 2024-08-19 15:05:16 +02:00
Snowiiii
ceb718d475 Setup Base for Velocity (Proxy) 2024-08-15 15:00:41 +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
Snowiiii
c5612f6ddb Handle older/newer Clients 2024-08-13 13:05:04 +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
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
5b636111e4 Prepare ChatType registry 2024-08-11 17:55:41 +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
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
2fd8686fea todo to TODO 2024-08-07 20:33:51 +02:00
Snowiiii
ea0128c50b Improve Authentication 2024-08-07 13:32:48 +02:00
Snowiiii
32569bafe5 Add Multiplayer support 2024-08-06 16:19:03 +02:00
Snowiiii
d1c3b2f10c Add Serverbound Player Command 2024-08-06 12:47:37 +02:00
Snowiiii
9e634295ca Begin Refactoring Clientbound Packets to new structure
See https://github.com/Snowiiii/Pumpkin/issues/19 for details
2024-08-05 23:12:26 +02:00
Snowiiii
42bc84b23c Add Serverbound Movement Packets
- SPlayerPosition
- SPlayerPositionRotation
- SPlayerRotation
2024-08-04 20:46:09 +02:00
Snowiiii
dbcb3c8052 fix: Authentication 2024-08-04 17:10:25 +02:00
Snowiiii
41c4d23821 Add Authentication 2024-08-04 15:44:53 +02:00
Snowiiii
19af3618cb fix: all clippy warns 2024-08-04 00:40:27 +02:00
Snowiiii
1f041cc7db Fix Clientbound Login 2024-08-03 11:25:38 +02:00
Snowiiii
2fd3585af7 Finally fix all registries 2024-08-03 01:01:15 +02:00
Snowiiii
e9b475639a protocol: add SPluginMessage 2024-08-02 12:31:44 +02:00
Snowiiii
fd9344a512 reorganize into different crates
Should help to get a more clear view and simplify things
2024-08-02 10:57:38 +02:00