mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 20:32:34 +00:00
* Rename Identifier to ResourceLocation * Run cargo fmt * Move ResourceLocation to pumpkin-util * Remove redundant as_string function * Run cargo fmt
9 lines
231 B
Rust
9 lines
231 B
Rust
use pumpkin_util::resource_location::ResourceLocation;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
|
pub struct BannerPattern {
|
|
asset_id: ResourceLocation,
|
|
translation_key: String,
|
|
}
|