Commit Graph

81 Commits

Author SHA1 Message Date
Eveeifyeve
ab3356afa3 Nix flake (#758)
* Added Flake for nix

* Removed Cargo lock from ignore

As it's now reccomended by rust team to keep it in repo as well as nix
needs it fetch dependacies for nix run

* Added Nix Compatbilty for package

I forgot to add it that's why this commit is here.

* Made flake minimal
2025-05-10 12:46:42 +02:00
kralverde
9739c0c2f3 remove main cargo.lock 2024-10-14 17:11:39 -04:00
Snowiiii
3ca472c2ba Remove: pumpkin-plugin
We will focus on other things by now. And extism just slows down compile and indexing times extremly
2024-10-14 17:58:19 +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
lukas0008
5adaf5aa17 Add default values for config 2024-10-11 16:59:59 +02:00
Alexander Medvedev
2194f14981 Improve RCON
Remove all unwraps when handling packets. Also improve split Packets into Client & Server bound removing ugly match statement where we are reading Clientboud Packets (which is impossible).
2024-10-07 23:00:25 +01:00
Alexander Medvedev
a0b4785269 Move from image to png crate
We used the famous and good `image` crate to load the favicon. Its a good crate but its in fact has features we don't need, Its in fact a "An Image Processing Library" like it is mentioned on their README. Its also supports multiple image formats which we don't need. The `png` is a PNG & APNG Decoder & Encoder, Exactly what we need. Its about Half the size of the image crate (while only having png feature)
2024-10-07 20:47:08 +01:00
kralverde
b7b975a064 rebase block_id 2024-09-28 17:39:11 -04:00
Snowiiii
1ddaca1406 Allow disable encryption 2024-09-28 13:03:31 +02:00
lukas0008
79c6730386 Make block_id macro 2024-09-18 17:11:45 +02:00
lukas0008
cf62babfe4 Make itertools a workspace dependency 2024-09-18 16:59:12 +02:00
Asurar0
c6043189d3 Improved synchronization primitives
- Replaced all `std::sync::Mutex` by `parking_lot::Mutex` and refactored implementation accordingly
- Replaced all `Mutex<T> where T: Copy` by `crossbeam::AtomicCell<T>` and refactored implementation accordingly
2024-09-11 22:39:53 +02:00
Edvin Bryntesson
33a5a10f34 Merge branch 'master' into master 2024-09-07 20:42:52 +02:00
Snowiiii
2ee9710f93 Refactor Entity 2024-09-07 19:33:01 +02:00
Edvin Bryntesson
72d95cd416 Merge branch 'master' into master 2024-09-06 21:55:47 +02:00
Alexander Medvedev
b40c2fa988 Add Experimental Plains biome
Also add Perlin noise
2024-09-06 17:54:14 +01:00
Alexander Medvedev
91d190c212 Remove unused deps
to mention is the take_mut dep i removed. Its heavily outdated and uses unsafe combined with pointer magic.
2024-09-06 13:30:57 +01:00
Alexander Medvedev
dad4798844 Update deps 2024-09-06 11:34:59 +01:00
Edvin Bryntesson
bb6677dd19 add drag and error handling for containers 2024-09-05 14:54:38 +02:00
Edvin Bryntesson
d1c4e59955 add working container state and change to fix with latest current branch 2024-09-02 15:15:26 +02:00
we sell insurance
047f5a4efc Merge branch 'master' of https://github.com/Snowiiii/Pumpkin into event-api
Resolve merge conflicts
2024-09-01 12:31:09 -05:00
Snowiiii
5c0dffbf9d Dynamic chunk loading 2024-09-01 18:04:27 +02:00
Alexander Medvedev
2085307a44 Merge pull request #70 from DaniD3v/remove_lazy_static
Remove lazy static in favor of LazyLock
2024-09-01 09:09:15 +01:00
we sell insurance
14e59dfb8f Create Identifer to help keep track of plugin resources. 2024-08-31 17:24:43 -05:00
DaniD3v
8a2e7cada8 Removed lazy_static!{} in favor of LazyLock 2024-08-31 20:34:00 +02:00
DaniD3v
070a50833b Moved config into its own crate 2024-08-31 19:38:47 +02:00
DaniD3v
2fbf450ed3 Moved GameMode into pumpkin-core 2024-08-31 19:33:47 +02:00
Alexander Medvedev
6a45746703 Merge pull request #66 from kralverde/xoroshiro
implement xoroshiro128 RNG
2024-08-30 17:53:14 +01:00
lukas0008
5f05a1886b Change coordinates, and add .get_block to ChunkBlocks
- Renamed ChunkRelativeScalar to ChunkRelativeOffset
- Added more traits to Height and ChunkRelativeOffset
- Added .get_block to ChunkBlocks
2024-08-30 15:07:54 +02:00
kralverde
0a351171c6 implement xoroshiro128 RNG 2024-08-28 19:16:22 -04:00
DaniD3v
9149e82508 Added WorldGenerator traits and a GenericWorldGenerator. 2024-08-28 17:28:48 +02:00
Snowiiii
3b438872a8 Add pumpkin-plugin
mhh, Whats that?
2024-08-27 22:47:21 +02:00
Snowiiii
80ffaff777 Update deps 2024-08-26 17:06:15 +02:00
Snowiiii
fa1ca0782e Handle CTRL-C shutdown 2024-08-24 11:17:36 +02:00
DaniD3v
60bb30a883 use rustls instead of system openssl to make compilation easier 2024-08-22 21:11:00 +02:00
Alexander Medvedev
13206d58d9 Add Console Colors & Styles 2024-08-21 20:08:14 +01:00
lukas0008
8eb894ef13 Create pumpkin-core, and move pumpkin-text 2024-08-21 16:12:09 +02:00
Snowiiii
391d5cbcfc Added Player inventory (WIP) 2024-08-17 18:52:13 +02:00
Snowiiii
40fe40355f Add BlockFace 2024-08-17 11:14:38 +02:00
Snowiiii
ceb718d475 Setup Base for Velocity (Proxy) 2024-08-15 15:00:41 +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
b68e9b809f Use rayon for processing chunks 2024-08-13 14:09:49 +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
a991ce214b CHUNK LOADING KINDA WORKS 2024-08-12 20:22:59 +02:00
Snowiiii
5cf19a4e98 Add ChatType 2024-08-12 15:46:24 +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