Snowiiii
9e7adec16b
Parse Registries from JSON
2024-11-02 16:34:35 +01:00
Snowiiii
460e9d3cae
Add more informations about blocks
...
Also fixed light for transparent blocks
2024-11-01 11:01:25 +01:00
suprohub
abbb76ab19
Chunk optimization: remove subarray ( #209 )
...
* Removed array helper
* Removed array helper 2
* Add functions in ChunkBlocks
* cargo fmt
* clippy fix
2024-10-29 08:14:57 +01:00
Snowiiii
e0dd8d6b61
Move Chunks things from Client to Player
...
Also made Chunk handling more robust
2024-10-28 22:48:17 +01:00
Snowiiii
79d2f91deb
Chunk: Use Air if block is not found
...
So currently we trough an error and don't load the entire chunk if a block is not found in the registry, Which is often the case when loading worlds from older or newer version than Currently supported. So now we will just not load the not founded blocks and load blocks which we found
2024-10-27 22:45:51 +01:00
Snowiiii
245053d50c
Port Chunk Status to 1.21.3
...
This sometimes causes problems with some worlds
2024-10-27 19:07:27 +01:00
Snowiiii
b23b7421cf
Revert "CChunkData optimizations ( #193 )"
...
This reverts commit a1b97730bd .
Due to Errors
```
thread 'tokio-runtime-worker' panicked at pumpkin-protocol/src/client/play/c_chunk_data.rs:84:25:
index out of bounds: the len is 4096 but the index is 25374
```
2024-10-27 12:29:53 +01:00
Alexander Medvedev
b17ade7b06
Add own Extractor ( #201 )
...
* Add custom extractor
* Add namespaces to blocks
* Fix: Errors
2024-10-27 12:21:55 +01:00
Alvsch
a1b97730bd
CChunkData optimizations ( #193 )
...
* optimized CChunkData::write
* Added a profiling profile
* fix CI
2024-10-27 00:15:01 +02:00
kralverde
c15232929f
reduce client id to u16 ( #172 )
2024-10-25 22:37:11 +02:00
Alvsch
7de3e0e995
Improved pvp ( #173 )
...
* Added CSoundEffect packet
* Added sound macro
added a macro that turns sound namespaces to the sounds id
* added CEntitySoundEffect
* updated id to i32
* Added sound effects to pvp
* Added sweeping and particles
* Added I-Frames to living entity
* Refactored combat
split up the combat handling into multiple functions and a new combat module
* use new packet macro
* updated json files
* fixed attacking
* use builtin clamp
2024-10-24 17:49:23 +02:00
Snowiiii
d9b3d0494d
Improved: Plains biome
...
- Flowers
- Grass
- More natural height variation
2024-10-22 16:41:53 +02:00
kralverde
9eac0f01e1
Fix chunk loading deadlock and dangling chunk memory ( #159 )
...
* rebase to master
* fix chunk unloading
2024-10-22 13:15:17 +02:00
Snowiiii
790adbc0b3
Merge branch 'master' of https://github.com/Snowiiii/Pumpkin
2024-10-22 11:29:32 +02:00
Edvin Bryntesson
4338bcff16
refactor things out into functions
2024-10-21 22:29:27 +02:00
Edvin Bryntesson
d7b162e68e
remove unnecessary cloning
2024-10-21 22:28:28 +02:00
Edvin Bryntesson
1e15f8b3ba
implemented persistent block breaking
2024-10-21 22:28:26 +02:00
kralverde
60f1bb6195
More debug messages for packets ( #156 )
...
* rebase to master
* rebase to master
* rebase to master
* rebase to master
* add debug messages for chunk sender
* add more debug messages for chunk sender
* add more debug messages for chunk sender
* fix dead lock
* rebase to master
* revert fixs leaving only debug messages
* better logging
2024-10-21 21:06:50 +02:00
Snowiiii
287f466ae1
More workspace dependencies
2024-10-21 19:36:42 +02:00
lukas0008
7300bda967
Make block state macro comptime-again
2024-10-19 20:48:19 +02:00
kralverde
224242c793
rebase to master
2024-10-19 12:50:35 -04:00
Snowiiii
75e7b0a8e8
tokio: Support RCON
2024-10-19 18:12:06 +02:00
Snowiiii
2287564973
Merge branch 'master' into tokio
2024-10-19 17:52:33 +02:00
Alvsch
c85216242e
Fixed cylindrical
2024-10-19 14:49:05 +02:00
Snowiiii
387da2c8b5
Fix: blocking
2024-10-19 13:53:41 +02:00
Snowiiii
2945a6542e
Fix: Gamemode messages
...
Do not send them to target, send them to sender
2024-10-19 10:57:11 +02:00
Julian Braha
72d3e49937
Optimize some floating point operations, but maintain parity with Java
2024-10-16 23:08:19 +01:00
Alexander Medvedev
310d5d4877
Revert "Optimize floating point operations"
2024-10-16 23:34:15 +02:00
Julian Braha
62c9614ce9
Optimize floating point operations
2024-10-16 22:09:29 +01:00
kralverde
30fdb14b8d
rename placeholder values
2024-10-14 17:13:18 -04:00
kralverde
90c19ae744
remove git diff and hypot
2024-10-14 17:13:18 -04:00
kralverde
c17b1002d8
fix fmt check
2024-10-14 17:13:18 -04:00
kralverde
708b7808a2
finish tests for density functions
2024-10-14 17:13:18 -04:00
kralverde
0754a128d7
rebase master
2024-10-14 17:13:18 -04:00
kralverde
753c60a690
remove main cargo.lock
2024-10-14 17:13:15 -04:00
kralverde
2815ff90a9
remove main cargo.lock
2024-10-14 17:12:45 -04:00
kralverde
7c946bb23f
implement overworld noises
2024-10-14 17:11:58 -04:00
kralverde
81a263180c
add rest of noise functions
2024-10-14 17:11:58 -04:00
kralverde
f98df7144d
add noise generation and default overworld noises
2024-10-14 17:11:58 -04:00
kralverde
9739c0c2f3
remove main cargo.lock
2024-10-14 17:11:39 -04:00
Snowiiii
c5fdb39d6a
Fix: forgot serde_inline_default in config
2024-10-14 22:09:04 +02:00
Snowiiii
3eacf1e6c0
Anvil: Added LV4 Compression
2024-10-14 16:24:52 +02:00
Snowiiii
df80ac2837
Add abstraction to support multiple world formats
2024-10-14 15:57:37 +02:00
Snowiiii
f970c4bc12
Minior Code cleanups
2024-10-14 12:01:35 +02:00
kralverde
b7b975a064
rebase block_id
2024-09-28 17:39:11 -04:00
Snowiiii
62cf03e37c
Revert "Merge pull request #97 from Asurar0/chunk-data"
...
This reverts commit 49c36416b6 , reversing
changes made to 5823f328e6 .
2024-09-28 13:22:53 +02:00
Snowiiii
1ddaca1406
Allow disable encryption
2024-09-28 13:03:31 +02:00
Alexander Medvedev
49c36416b6
Merge pull request #97 from Asurar0/chunk-data
...
Expands Chunk data structure
2024-09-24 15:16:58 +01:00
lukas0008
a30dbde50b
Merge pull request #101 from Snowiiii/block-macro
...
Add `block_id!` macro
2024-09-19 17:31:30 +02:00
StripedMonkey
229be05e98
run formatter on cargo.toml files
2024-09-19 03:10:26 -04:00