Alexander Medvedev
dfc0b8afe9
Merge pull request #37 from KolibroidAmy/typo_fix
...
Fix some minor typos
2024-08-19 18:06:50 +01: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
9a10ea4ed9
Slot type
2024-08-17 21:11:31 +02:00
lukas0008
fdb94d43fa
Fix: Place block on correct side
2024-08-17 20:40:26 +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
d6fb4ed121
Add Item registry
2024-08-17 13:00:35 +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
40fe40355f
Add BlockFace
2024-08-17 11:14:38 +02:00
Alexander Medvedev
91533c30df
Merge pull request #32 from KrattiUnderscore/new_branch
...
Fixed BlastFurnace typo
2024-08-17 08:28:18 +01:00
BuildTools
e2dbe46455
Fixed BlastFurnace typo
2024-08-16 23:19:58 +02:00
Snowiiii
bf92fe22a0
Add Particles
2024-08-16 12:45:58 +02:00
Snowiiii
3b43322567
Fix: build
2024-08-16 11:11:40 +02:00
Snowiiii
231bdb5614
World: Add GZip compression
2024-08-16 11:10:16 +02:00
Alexander Medvedev
94a7a60423
Merge pull request #31 from NGSpace/flyspeedfix
...
Change fly speed to vanilla speed
2024-08-15 16:08:09 +01:00
ngspace
d913348ed4
Change fly speed to vanilla speed
2024-08-15 17:53:51 +03: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
21983824a3
parse test chunk distance from config
2024-08-15 15:06:19 +02:00
Snowiiii
ceb718d475
Setup Base for Velocity (Proxy)
2024-08-15 15:00:41 +02:00
Snowiiii
333bf64235
README: Add use local CPU features when running
2024-08-15 13:40:34 +02:00
Alexander Medvedev
dbe588576d
Update README.md
2024-08-15 08:45:03 +02:00
Alexander Medvedev
f79860aae4
Update README.md
2024-08-14 23:17:46 +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
03cc991bfd
cargo clippy --fix
2024-08-14 21:39:05 +02:00
Snowiiii
6485c99167
cargo fmt
2024-08-14 21:37:27 +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
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
lukas0008
03f9b377d5
Optimize chunk loading
...
- Chunk loading now is done in a more simple manner. Instead of splitting it into regions and having one file handle for all chunks in the same region, now all chunks make their own file handle for the region, the previous overhead was not worth it, since this seemed to increase performance.
- Speed up of ~15%
- Now the `.read_chunks` function does not return anything, instead it sends event to an mpsc channel.
- Dramatically decreased memory footprint.
2024-08-13 23:30:20 +02:00
lukas0008
96b86f1e9b
Add a stop command
...
Note that this command does not stop gracefully for now
2024-08-13 23:25:11 +02:00
lukas0008
ade661d5b8
Add dhat and rayon
...
- Set up dhat, when dhat-heap feature, the dhap memory profiler will run. Due to this tokio needs to be manually built.
- Rayon now explicitly built outside of tokio runtime.
2024-08-13 23:25:11 +02:00
lukas0008
5075c97faa
Load the world radially
2024-08-13 14:59:52 +02:00
lukas0008
85785c9ebe
Fix: Server panics when loading certain chunks
...
Cause:
The size that is given in the file for the length of the chunk includes the compression byte, thus when reading a chunk that is at the end of the file, it would read 1 byte more that should be possible, causing a panic.
2024-08-13 14:53:55 +02:00
lukas0008
59749af69c
Remove unnecessary logs and loading
...
- Load chunk (0,0) only in debug mode. This prevents crashes when the chunk for (0,0) does not exist, since this is only used for checking the size of the chunk packet.
- Remove log: `Getting chunks x, from region file y`
2024-08-13 14:14:19 +02:00
lukas0008
b68e9b809f
Use rayon for processing chunks
2024-08-13 14:09:49 +02:00
Alexander Medvedev
ccd915a459
README: Add image
2024-08-13 13:31:43 +02:00
Snowiiii
c5612f6ddb
Handle older/newer Clients
2024-08-13 13:05:04 +02:00
Snowiiii
32a172f3c0
Commands: Support gamemode command to use numbers
2024-08-13 12:49:34 +02:00
Snowiiii
2eb4c8624f
Fix: python mc source decompile script
2024-08-13 12:09:01 +02:00
Snowiiii
3579b9ccde
devcontainer: We only need python 3.7
2024-08-13 11:58:58 +02:00