Finally fix all registries
This commit is contained in:
1 parent
d444f68093
commit
2fd3585af7
12 files changed
+146
-252
No files matched your search
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user