feat: more plugin features
This commit is contained in:
1 parent
4ec5eb8a45
commit
8ce513ff89
85 files changed
+9579
-570
No files matched your search
@@ -14,6 +14,7 @@ use crate::ProtoChunk;
|
||||
use crate::level::SyncChunk;
|
||||
|
||||
use pumpkin_data::chunk::ChunkStatus;
|
||||
use pumpkin_nbt::compound::NbtCompound;
|
||||
use std::sync::Mutex;
|
||||
|
||||
#[repr(u8)]
|
||||
@@ -278,6 +279,7 @@ impl Chunk {
|
||||
blending_data: None,
|
||||
dirty: AtomicBool::new(false),
|
||||
inhabited_time: AtomicU64::new(0),
|
||||
custom_data: Mutex::new(NbtCompound::new()),
|
||||
})),
|
||||
) {
|
||||
Self::Proto(proto) => proto,
|
||||
@@ -324,6 +326,7 @@ impl Chunk {
|
||||
status: proto_chunk.stage.into(),
|
||||
blending_data: proto_chunk.blending_data,
|
||||
inhabited_time: AtomicU64::new(0),
|
||||
custom_data: Mutex::new(NbtCompound::new()),
|
||||
};
|
||||
|
||||
*self = Self::Level(Arc::new(chunk));
|
||||
|
||||
Reference in new issue
Block a user