Potato/potato-data/src/registry/item/components/death_protection.rs
2025-04-05 00:06:22 +02:00

10 lines
320 B
Rust

use potato_derive::ItemComponent;
use serde::{Deserialize, Serialize};
use crate::consume_effect::ConsumeEffect;
#[derive(Debug, Serialize, Deserialize, Clone, ItemComponent)]
#[item_component(namespace = "minecraft", id = "death_protection")]
pub struct DeathProtection {
pub death_effects: Vec<ConsumeEffect>,
}