refactor(inventory): replace per-slot Arc<Mutex<ItemStack>> with container-level synchronization

This commit is contained in:
Alexander Medvedev
2026-08-07 21:45:05 +02:00
parent ffcf09ece4
commit 63d97e2c82
121 changed files with 1674 additions and 1931 deletions

View File

@@ -14,3 +14,6 @@ serde_json = { workspace = true }
[package.metadata.component]
target = { path = "../pumpkin-plugin-wit" }
[lints]
workspace = true

View File

@@ -1,5 +1,14 @@
//! Pumpkin plugin API.
#![warn(missing_docs)]
#![allow(
clippy::undocumented_unsafe_blocks,
clippy::option_if_let_else,
clippy::collection_is_never_read,
clippy::all,
clippy::pedantic,
clippy::nursery,
clippy::cargo
)]
//!
//! This crate provides everything needed to write a Pumpkin server plugin compiled
//! to WebAssembly. A plugin consists of a type that implements [`Plugin`], registered