Skip to content

Commit

Permalink
add versions
Browse files Browse the repository at this point in the history
  • Loading branch information
theaddonn committed Jun 30, 2024
1 parent ebed5bc commit f249dc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packs/src/behavior/behavior_pack.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
use std::path::Path;

use uuid::Uuid;
use uuid::{Uuid, Version};

use crate::error::PackError;
use crate::pack::Pack;

pub struct BehaviorPack {
format_version: Version,
name: String,
description: String,
uuid: Uuid,
min_engine_version: Version,
}

impl Pack for BehaviorPack {
Expand Down
4 changes: 3 additions & 1 deletion packs/src/resource/resource_pack.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
use std::path::Path;

use uuid::Uuid;
use uuid::{Uuid, Version};

use crate::error::PackError;
use crate::pack::Pack;

pub struct ResourcePack {
format_version: Version,
name: String,
description: String,
uuid: Uuid,
min_engine_version: Version,
}

impl Pack for ResourcePack {
Expand Down

0 comments on commit f249dc1

Please sign in to comment.