Commit Graph

106 Commits

Author SHA1 Message Date
lukas0008
c02200c7fd Cargo fmt + added *.local.nbt to .gitignore 2024-08-21 18:06:57 +02:00
lukas0008
0d05e5ef36 Add .set_block on ChunkData 2024-08-21 17:31:43 +02:00
Alexander Medvedev
b37039126a Make Icon Optional 2024-08-21 15:49:28 +01: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
Luk-ESC
8263d886ce move uuid to workspace 2024-08-21 12:31:12 +02:00
kralverde
bf698b6571 use optional method 2024-08-21 00:51:08 -04:00
kralverde
9cf6d406c6 re-add erroneously removed file 2024-08-20 23:02:56 -04:00
kralverde
8c7759b108 remove print test 2024-08-20 23:01:43 -04:00
kralverde
90d10da97f manually implement basic chat serialization 2024-08-20 23:00:47 -04:00
kralverde
1b32a6d512 fix OBO error 2024-08-20 21:46:07 -04:00
Snowiiii
938a415f77 Add Play Ping/Pong
Used for Debug, F3+3
2024-08-20 18:07:22 +02:00
Snowiiii
5122097d0d Add Clientbound Acknowledge Block Change
Acknowledges a user-initiated block change. After receiving this packet, the client will display the block state sent by the server instead of the one predicted by the client.
2024-08-20 17:33:03 +02:00
Snowiiii
66ce63b880 Add Block Breaking 2024-08-20 14:30:54 +02:00
Snowiiii
7d89a4e9be Add Clientbound Set Block Destroy Stage 2024-08-20 14:25:48 +02:00
Snowiiii
ace7a77046 Add Clientbound World Event 2024-08-20 14:12:05 +02:00
Snowiiii
49dfc18818 Fix: Clippy & fmt 2024-08-20 13:23:32 +02:00
Snowiiii
a6fbc3d13a Fix: Serverbound Chat Message 2024-08-20 13:19:50 +02:00
Bryntet
006eacfadf Merge branch 'master' into master 2024-08-20 12:56:00 +02:00
Edvin Bryntesson
b2430ce3d4 make block place the item that is held. 2024-08-20 11:23:21 +02:00
lukas0008
3b55bc428c Fix: make PacketEncoder work again 2024-08-20 00:11:08 +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
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
9a10ea4ed9 Slot type 2024-08-17 21:11:31 +02:00
lukas0008
94748859c6 Make Vector3 use a generic 2024-08-17 20:40:06 +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
4562570f92 Add Clientbound Block update 2024-08-17 11:26:12 +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
8fa8b793ee improve doc 2024-08-14 23:16:02 +02:00
Snowiiii
6459aef027 Add Basic Combat 2024-08-14 22:26:27 +02:00
Snowiiii
6485c99167 cargo fmt 2024-08-14 21:37:27 +02:00
lukas0008
02a9d79044 Fix: remove test feature 2024-08-14 00:00:58 +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
lukas0008
cce0161e3d Add WorldPosition struct for packets
Add WorldPosition struct that deserialises according to:
https://wiki.vg/Data_types#Type:Position
2024-08-13 23:56:40 +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
c2bde2f73e Remove: Old chunk packet 2024-08-13 07:20:56 +02:00
Snowiiii
cfa20776f6 Add Clientbound Client Informations (Play) 2024-08-12 21:26:09 +02:00
lukas0008
7a5984984f Merge fixes 2024-08-12 20:35:07 +02:00
lukas0008
5d6c38d1b2 Merge remote-tracking branch 'upstream/master' 2024-08-12 20:30:52 +02:00
lukas0008
eaf806a928 NOW IT FULLY WORKS 2024-08-12 20:23:15 +02:00
lukas0008
a991ce214b CHUNK LOADING KINDA WORKS 2024-08-12 20:22:59 +02:00