Finally fix all registries

This commit is contained in:
Snowiiii committed 2024-08-03 01:01:15 +02:00
1 parent d444f68093
commit 2fd3585af7
12 files changed
+146 -252

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Painting {
asset_id: String,
height: i32,
width: i32,
}
impl Default for Painting {
fn default() -> Self {
Self {
asset_id: "minecraft:backyard".into(),
height: 2,
width: 2,
}
}
}