Skip to main content

steel_registry/generated/
vanilla_trim_materials.rs

1use crate :: trim_material :: { MaterialAssetGroup , MaterialAssetInfo , TrimMaterial , TrimMaterialRegistry , TrimMaterialValue , } ; use rustc_hash :: FxHashMap ; use steel_utils :: Identifier ; use std :: { borrow :: Cow , sync :: LazyLock } ; use text_components :: { TextComponent , translation :: TranslatedMessage } ; pub static QUARTZ : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("quartz") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("quartz" . to_owned ()) , FxHashMap :: default () ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.quartz" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (227u8 , 212u8 , 196u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static IRON : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("iron") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("iron" . to_owned ()) , FxHashMap :: from_iter ([(Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("iron") } , MaterialAssetInfo :: from_validated_suffix ("iron_darker" . to_owned ()) ,)]) ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.iron" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (236u8 , 236u8 , 236u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static NETHERITE : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("netherite") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("netherite" . to_owned ()) , FxHashMap :: from_iter ([(Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("netherite") } , MaterialAssetInfo :: from_validated_suffix ("netherite_darker" . to_owned ()) ,)]) ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.netherite" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (98u8 , 88u8 , 89u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static REDSTONE : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("redstone") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("redstone" . to_owned ()) , FxHashMap :: default () ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.redstone" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (151u8 , 22u8 , 7u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static COPPER : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("copper") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("copper" . to_owned ()) , FxHashMap :: from_iter ([(Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("copper") } , MaterialAssetInfo :: from_validated_suffix ("copper_darker" . to_owned ()) ,)]) ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.copper" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (180u8 , 104u8 , 77u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static GOLD : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("gold") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("gold" . to_owned ()) , FxHashMap :: from_iter ([(Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("gold") } , MaterialAssetInfo :: from_validated_suffix ("gold_darker" . to_owned ()) ,)]) ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.gold" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (222u8 , 177u8 , 45u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static EMERALD : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("emerald") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("emerald" . to_owned ()) , FxHashMap :: default () ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.emerald" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (17u8 , 160u8 , 54u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static DIAMOND : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("diamond") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("diamond" . to_owned ()) , FxHashMap :: from_iter ([(Identifier { namespace : Cow :: Borrowed ("minecraft") , path : Cow :: Borrowed ("diamond") } , MaterialAssetInfo :: from_validated_suffix ("diamond_darker" . to_owned ()) ,)]) ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.diamond" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (110u8 , 236u8 , 210u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static LAPIS : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("lapis") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("lapis" . to_owned ()) , FxHashMap :: default () ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.lapis" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (65u8 , 110u8 , 151u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static AMETHYST : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("amethyst") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("amethyst" . to_owned ()) , FxHashMap :: default () ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.amethyst" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (154u8 , 92u8 , 198u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub static RESIN : LazyLock < TrimMaterial > = LazyLock :: new (|| { TrimMaterial :: new (Identifier :: vanilla_static ("resin") , TrimMaterialValue :: new (MaterialAssetGroup :: new (MaterialAssetInfo :: from_validated_suffix ("resin" . to_owned ()) , FxHashMap :: default () ,) , TextComponent { content : text_components :: content :: Content :: Translate (TranslatedMessage :: new ("trim_material.minecraft.resin" , None) ,) , format : text_components :: format :: Format { color : Some (text_components :: format :: Color :: Rgb (252u8 , 120u8 , 18u8)) , font : None , bold : None , italic : None , underlined : None , strikethrough : None , obfuscated : None , shadow_color : None , } , children : vec ! [] , interactions : text_components :: interactivity :: Interactivity :: new () , } ,) ,) }) ; pub fn register_trim_materials (registry : & mut TrimMaterialRegistry) { registry . register (& * QUARTZ) ; registry . register (& * IRON) ; registry . register (& * NETHERITE) ; registry . register (& * REDSTONE) ; registry . register (& * COPPER) ; registry . register (& * GOLD) ; registry . register (& * EMERALD) ; registry . register (& * DIAMOND) ; registry . register (& * LAPIS) ; registry . register (& * AMETHYST) ; registry . register (& * RESIN) ; }