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
StripedMonkey
e9a55cf976
misc spelling fixes in comments and variables
2024-09-19 03:04:01 -04:00
lukas0008
cf62babfe4
Make itertools a workspace dependency
2024-09-18 16:59:12 +02:00
lukas0008
810ecbeb1f
Make Pumpkin work again
2024-09-17 23:50:56 +02:00
StripedMonkey
d68a25b169
adopt proposed alternative name for cached data
2024-09-12 18:51:08 -04:00
StripedMonkey
8bf8ba14da
settle on key_store for a name
2024-09-12 18:48:22 -04:00
StripedMonkey
c13261ba20
standardize use of compact serialization for UUIDs.
2024-09-12 18:02:55 -04:00
StripedMonkey
c4dc376bc9
extract server status publishing into its own file
2024-09-12 18:02:32 -04:00
StripedMonkey
e7fc40632d
extract authentication client v2
2024-09-12 17:55:06 -04:00
Snowiiii
f9bf750b65
Add Clientbound Entity Status
2024-09-12 15:42:26 +02:00
Asurar0
df07029671
Merge remote-tracking branch 'Snowiiii/master' into sync_primitives_improvements
2024-09-12 14:23:07 +02:00
Snowiiii
0bebc6fc31
Better doc
2024-09-12 12:33:33 +02:00
Asurar0
2e99877a6c
fix warnings
2024-09-11 23:01:09 +02:00
Asurar0
d176fbd37e
fix fmt
2024-09-11 22:56:03 +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
Snowiiii
ada0d82a72
Added Container back
2024-09-10 09:57:54 +02:00
Snowiiii
e5bfbce2ce
Fix dead locks
2024-09-09 23:22:55 +02:00
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
Snowiiii
c6f561ebe3
Fix format
2024-09-08 17:09:35 +02:00
lukas0008
f23592de8c
Fixed weird ide error
2024-09-08 16:48:37 +02:00
Snowiiii
af0abccfc0
Don't todo
2024-09-08 16:30:46 +02:00
Snowiiii
e8edb0e71a
Fix: build
2024-09-08 15:59:46 +02:00
Alexander Medvedev
8b29d9e763
Merge pull request #60 from Bryntet/master
...
Add packet SClickContainer and abstractions
2024-09-08 14:50:50 +01:00
Snowiiii
39b4cb3ac9
Move world into entity
...
Also fixes most of error when leaving while chunks are loading
2024-09-07 22:39:42 +02:00
Edvin Bryntesson
4ed84f21be
Merge branch 'Snowiiii:master' into master
2024-09-07 21:18:21 +02:00
lukas0008
f3728a169a
Make a way to disable extism
...
- Made a `plugins` feature in `pumpkin-plugin`
- Made a `plugins` feature in `pumpkin`, which enables the `plugins` feature in `pumpkin-plugin`
- Made the feature default
2024-09-07 21:01:05 +02:00
Edvin Bryntesson
33a5a10f34
Merge branch 'master' into master
2024-09-07 20:42:52 +02:00
Snowiiii
870059a317
Added Help command back
...
I just was to lazy and wanted to get it working fast, Now help is back
2024-09-07 20:32:28 +02:00
Snowiiii
3d14e1310b
Command system rewrite
...
Note: Help commands is currently disabled
2024-09-07 20:26:19 +02:00
Snowiiii
2ee9710f93
Refactor Entity
2024-09-07 19:33:01 +02:00
Edvin Bryntesson
59a950c606
a bit of refactor, and actually enforce player inventory condition rules on handle_item_change
2024-09-07 18:13:38 +02:00
Edvin Bryntesson
3b6fc48a0f
add error handling to Click functions
2024-09-07 16:31:24 +02:00
Edvin Bryntesson
c6dbc3d00f
move around dependencies to match project spec
2024-09-07 16:03:11 +02:00
Edvin Bryntesson
72d95cd416
Merge branch 'master' into master
2024-09-06 21:55:47 +02:00
Edvin Bryntesson
3b93892f26
start trying to drag, it doesn't work though
2024-09-06 21:50:23 +02:00
Edvin Bryntesson
2acd1ed02a
refactored state_id to PlayerInventory
2024-09-06 17:53:23 +02: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
DaniD3v
12e3732765
Replaced #[allow()]'s with #[expect()]
2024-09-06 11:20:53 +02:00
DaniD3v
e08309aacd
Removed unused #[allow()]'s
2024-09-06 11:19:52 +02:00
Edvin Bryntesson
d07eec2245
fix so that it actually always updates both clients
2024-09-05 23:34:11 +02:00
Alexander Medvedev
e3c392cc80
Merge pull request #78 from kralverde/network_error
...
Incoming Packet Validation
2024-09-05 21:24:57 +01:00
kralverde
2993d6bfb6
add checks for everything else
2024-09-05 15:21:33 -04:00
Edvin Bryntesson
daaafeefea
actually fixed deadlock
2024-09-05 19:20:35 +02:00
Edvin Bryntesson
d3ec4961cf
try to combat deadlocks
2024-09-05 17:16:46 +02:00